/* UK Visa Fee Calculator - Cleaned & Enhanced CSS */
/* Redundant citizenship checker styles removed, dropdowns enhanced */

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Raleway:wght@300;400;500;600;700;800&display=swap');

/* Fade In Up Animation */
@keyframes vfcFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CSS Custom Properties */
.visa-fee-calculator {
  /* Animation - matches PageLayer Normal speed with 200ms delay */
  animation: vfcFadeInUp 0.6s ease-out 0.2s both;
  --primary-color: #000000;
  --primary-light: #333333;
  --accent-color: #fc9918;
  --accent-hover: #e88a10;
  --success-color: #059669;
  --warning-color: #f59e0b;
  --error-color: #dc2626;
  --text-color: #000000;
  --text-muted: #666666;
  --border-color: #d1d5db;
  --border-light: #e5e7eb;
  --background-color: #ffffff;
  --background-light: #f9fafb;
  --background-accent: #fffbf5;
  --white: #ffffff;
  --border-radius: 8px;
  --border-radius-large: 12px;
  --transition: all 0.2s ease;
  --box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  --box-shadow-light: 0 2px 8px rgba(0,0,0,0.05);
  --step-size-mobile: 28px;
  --step-size-desktop: 32px;
  --input-height: 48px;
  --input-height-mobile: 52px;
}

/* Global Reset */
.visa-fee-calculator * {
  box-sizing: border-box;
}

.visa-fee-calculator {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 400;
  max-width: 700px;
  margin: 30px auto;
  padding: 30px;
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-light);
}

/* Main container */
.visa-fee-calculator .calculator-container {
  background: transparent;
  padding: 0;
  position: relative;
}

/* Header */
.visa-fee-calculator .calculator-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 2px solid var(--border-light);
}

/* Progress indicator */
.visa-fee-calculator .progress-indicator {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 0;
  flex-wrap: nowrap;
  flex-direction: row !important;
}

.visa-fee-calculator .progress-step {
  width: var(--step-size-desktop) !important;
  height: var(--step-size-desktop) !important;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--border-color);
  background: var(--white);
  color: var(--text-muted);
  flex-shrink: 0;
  margin: 0 !important;
  font-family: 'Raleway', sans-serif;
}

.visa-fee-calculator .progress-step.active {
  background: var(--accent-color);
  color: var(--white);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(252, 153, 24, 0.2);
}

.visa-fee-calculator .progress-step.completed {
  background: var(--success-color);
  color: var(--white);
  border-color: var(--success-color);
}

.visa-fee-calculator .progress-line {
  height: 3px !important;
  width: 40px !important;
  background: var(--border-color);
  transition: var(--transition);
  flex-shrink: 0;
  margin: 0 !important;
  border-radius: 2px;
}

.visa-fee-calculator .progress-line.completed {
  background: var(--success-color);
}

/* Main content */
.visa-fee-calculator main {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: none;
  width: 100%;
}

/* Step styling */
.visa-fee-calculator .step {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.visa-fee-calculator .step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Typography */
.visa-fee-calculator h2 {
  font-family: 'Raleway', sans-serif !important;
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  font-size: 1.1em !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 15px !important;
  line-height: 1.4 !important;
}

.visa-fee-calculator h3 {
  font-family: 'Raleway', sans-serif !important;
  color: var(--primary-color) !important;
  font-weight: 500 !important;
  font-size: 1em !important;
  margin-bottom: 12px !important;
  line-height: 1.4 !important;
}

.visa-fee-calculator h4 {
  font-family: 'Raleway', sans-serif !important;
  color: var(--primary-color) !important;
  font-weight: 500 !important;
  font-size: 1em !important;
  margin-bottom: 12px !important;
  line-height: 1.4 !important;
}

.visa-fee-calculator label {
  display: block;
  margin: 15px 0 8px 0;
  font-weight: 500;
  color: var(--primary-color);
  font-size: 1em;
  font-family: 'Raleway', sans-serif;
}

.visa-fee-calculator .required::after {
  content: " *";
  color: var(--error-color);
  font-weight: 600;
}

/* Form elements */
.visa-fee-calculator select,
.visa-fee-calculator input[type="date"],
.visa-fee-calculator input[type="text"] {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  min-height: var(--input-height);
  background: var(--white);
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  transition: var(--transition);
  line-height: 1.5;
  color: var(--text-color);
}

.visa-fee-calculator select:focus,
.visa-fee-calculator input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(252, 153, 24, 0.15);
}

/* Enhanced Select Dropdown */
.visa-fee-calculator select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fc9918' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  cursor: pointer;
}

.visa-fee-calculator select:hover:not(:disabled) {
  border-color: var(--accent-color);
  background-color: var(--background-accent);
}

.visa-fee-calculator select option {
  color: var(--text-color);
  font-weight: 400;
  font-size: 15px;
  font-family: 'Raleway', sans-serif;
  background: var(--white);
  padding: 12px;
}

.visa-fee-calculator input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
  opacity: 0.8;
}

/* Form groups */
.visa-fee-calculator .form-group {
  margin-bottom: 20px;
}

.visa-fee-calculator .field-help {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  font-style: italic;
  font-family: 'Raleway', sans-serif;
}

/* Enhanced Autocomplete */
.visa-fee-calculator .autocomplete-wrapper {
  position: relative;
  width: 100%;
}

.visa-fee-calculator .autocomplete-dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 2px solid var(--accent-color);
  border-top: none;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  max-height: 280px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

/* FIXED: Changed from .autocomplete-option to .autocomplete-item to match JS */
.visa-fee-calculator .autocomplete-item {
  padding: 14px 18px;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  color: var(--text-color);
  transition: all 0.15s ease;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.visa-fee-calculator .autocomplete-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-color);
  transform: scaleY(0);
  transition: transform 0.15s ease;
}

.visa-fee-calculator .autocomplete-item:last-child {
  border-bottom: none;
}

.visa-fee-calculator .autocomplete-item:hover {
  background: linear-gradient(90deg, var(--background-accent) 0%, var(--white) 100%);
  color: var(--accent-color);
  padding-left: 22px;
}

.visa-fee-calculator .autocomplete-item:hover::before,
.visa-fee-calculator .autocomplete-item.highlighted::before {
  transform: scaleY(1);
}

/* Keyboard navigation highlight */
.visa-fee-calculator .autocomplete-item.highlighted {
  background: linear-gradient(90deg, var(--background-accent) 0%, var(--white) 100%);
  color: var(--accent-color);
  padding-left: 22px;
}

.visa-fee-calculator .autocomplete-item.no-results {
  color: var(--text-muted);
  font-style: italic;
  cursor: default;
  text-align: center;
}

.visa-fee-calculator .autocomplete-item.no-results:hover {
  background: none;
  padding-left: 18px;
}

/* Buttons */
.visa-fee-calculator button {
  background: var(--accent-color);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  font-size: 1em;
  font-weight: 500;
  border-radius: var(--border-radius);
  cursor: pointer;
  margin-top: 15px;
  font-family: 'Raleway', sans-serif;
  transition: var(--transition);
  min-height: 48px;
  min-width: 48px;
  touch-action: manipulation;
  position: relative;
  overflow: hidden;
}

.visa-fee-calculator button:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252, 153, 24, 0.35);
}

.visa-fee-calculator button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(252, 153, 24, 0.3);
}

.visa-fee-calculator button:disabled {
  background: var(--border-color);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  color: var(--text-muted);
}

.visa-fee-calculator button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(252, 153, 24, 0.3);
}

.visa-fee-calculator .btn-primary {
  background: var(--accent-color);
}

.visa-fee-calculator .btn-secondary {
  background: var(--text-muted);
}

.visa-fee-calculator .btn-secondary:hover:not(:disabled) {
  background: var(--primary-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Navigation buttons */
.visa-fee-calculator .navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  gap: 20px;
}

.visa-fee-calculator .navigation-buttons button {
  margin-top: 0;
  flex: 0 0 auto;
}

/* Alerts */
.visa-fee-calculator .alert {
  padding: 16px 20px;
  border-radius: var(--border-radius);
  margin: 20px 0;
  border-left: 4px solid;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95em;
}

.visa-fee-calculator .alert-info {
  background: var(--background-light);
  border-color: var(--accent-color);
  color: var(--text-color);
}

.visa-fee-calculator .alert-success {
  background: #ecfdf5;
  border-color: var(--success-color);
  color: #065f46;
}

.visa-fee-calculator .alert-danger {
  background: #fef2f2;
  border-color: var(--error-color);
  color: #991b1b;
}

/* Enhanced Radio Buttons */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.radio-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-color);
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.radio-label:hover {
  border-color: var(--accent-color);
  background-color: var(--background-accent);
}

.radio-label:hover::before {
  transform: scaleY(1);
}

.radio-label:has(input:checked) {
  border-color: var(--accent-color);
  background: linear-gradient(90deg, var(--background-accent) 0%, var(--white) 100%);
}

.radio-label:has(input:checked)::before {
  transform: scaleY(1);
}

/* Custom radio button appearance */
.radio-label input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  margin-right: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  flex-shrink: 0;
}

.radio-label input[type="radio"]:checked {
  border-color: var(--accent-color);
  background: var(--accent-color);
}

.radio-label input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.radio-label input[type="radio"]:checked + span {
  font-weight: 600;
  color: var(--accent-color);
}

/* Dependants section */
.add-dependant-buttons {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.add-dependant-btn {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-icon {
  font-size: 18px;
}

.dependants-list {
  margin-top: 30px;
}

.dependant-card {
  background: var(--background-light);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  transition: var(--transition);
}

.dependant-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(252, 153, 24, 0.1);
}

.dependant-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  padding-bottom: 0;
}

.dependant-card-header h4 {
  margin: 0 !important;
  color: #1f2937;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.remove-dependant-btn {
  padding: 8px 14px !important;
  font-size: 13px !important;
  background: var(--error-color) !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  margin: 0 !important;
  min-height: auto !important;
}

.remove-dependant-btn:hover {
  background: #b91c1c !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 10px rgba(185, 28, 28, 0.3) !important;
}

.dependant-type-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-color);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* Enhanced Fee Breakdown Cards */
.fee-breakdown {
  background: white;
  border: 2px solid var(--border-light);
  border-radius: 14px;
  padding: 0;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}

.fee-breakdown:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: var(--accent-color);
}

.fee-breakdown h3 {
  margin: 0 !important;
  padding: 16px 24px !important;
  background: linear-gradient(90deg, var(--background-accent) 0%, var(--white) 100%);
  border-bottom: 2px solid var(--accent-color);
  font-size: 1em !important;
}

.fee-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s ease;
}

.fee-item:hover {
  background: #fafafa;
}

.fee-item:last-of-type {
  border-bottom: none;
}

.fee-label {
  font-weight: 500;
  color: #4b5563;
}

.fee-amount {
  font-weight: 600;
  color: #1f2937;
  font-size: 16px;
}

.fee-total {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
  color: white;
  padding: 16px 24px;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  border-radius: 0;
}

.applicant-breakdown {
  margin-bottom: 24px;
}

.applicant-breakdown:last-of-type {
  margin-bottom: 0;
}

/* Duration info */
.duration-info {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 15px 18px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

.duration-info p {
  margin: 0;
  color: #1e40af;
  font-size: 14px;
}

/* Results container */
.result-container {
  text-align: left;
}

.result-container h2 {
  text-align: center;
  margin-bottom: 24px !important;
}

/* Export buttons */
.visa-fee-calculator .export-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 30px 0 20px 0;
  flex-wrap: wrap;
}

.visa-fee-calculator .btn-export {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
}

.visa-fee-calculator .btn-export:hover:not(:disabled) {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.visa-fee-calculator .btn-copy {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.visa-fee-calculator .btn-copy:hover:not(:disabled) {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
}

.visa-fee-calculator .btn-copied {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

/* Error styles */
.visa-fee-calculator .error {
  border-color: var(--error-color) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2) !important;
}

.visa-fee-calculator .error-message {
  color: var(--error-color);
  font-size: 0.9em;
  margin-top: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Raleway', sans-serif;
}

.visa-fee-calculator .error-message::before {
  content: "⚠️";
}

/* Loading state */
.visa-fee-calculator .loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--text-muted);
}

.visa-fee-calculator .loading::after {
  content: '';
  width: 20px;
  height: 20px;
  margin-left: 10px;
  border: 2px solid var(--border-color);
  border-top: 2px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
  .visa-fee-calculator {
    margin: 20px auto;
    padding: 20px;
  }
  
  .visa-fee-calculator .calculator-header {
    margin-bottom: 24px;
  }
  
  .visa-fee-calculator .progress-indicator {
    gap: 8px;
  }
  
  .visa-fee-calculator .progress-step {
    width: var(--step-size-mobile) !important;
    height: var(--step-size-mobile) !important;
    font-size: 12px;
  }
  
  .visa-fee-calculator .progress-line {
    width: 25px !important;
  }
  
  .visa-fee-calculator .navigation-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .visa-fee-calculator .navigation-buttons button {
    width: 100%;
    min-height: var(--input-height-mobile);
  }
  
  .visa-fee-calculator select, 
  .visa-fee-calculator input[type="text"],
  .visa-fee-calculator input[type="date"] {
    font-size: 16px;
    min-height: var(--input-height-mobile);
  }
  
  .visa-fee-calculator button {
    min-height: var(--input-height-mobile);
    font-size: 16px;
    padding: 16px 24px;
  }
  
  .add-dependant-buttons {
    flex-direction: column;
  }
  
  .add-dependant-btn {
    min-width: 100%;
  }
  
  .visa-fee-calculator .export-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .visa-fee-calculator .btn-export {
    width: 100%;
  }
  
  .fee-breakdown h3 {
    padding: 14px 18px !important;
  }
  
  .fee-item {
    padding: 12px 18px;
    flex-wrap: wrap;
    gap: 4px;
  }
  
  .fee-total {
    padding: 14px 18px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .visa-fee-calculator {
    margin: 15px auto;
    padding: 16px;
  }
  
  .visa-fee-calculator .progress-step {
    width: 24px !important;
    height: 24px !important;
    font-size: 11px;
  }
  
  .visa-fee-calculator .progress-line {
    width: 20px !important;
  }
}

/* Accessibility */
.visa-fee-calculator select:focus-visible,
.visa-fee-calculator input:focus-visible,
.visa-fee-calculator button:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.visa-fee-calculator .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Scrollbar styling for autocomplete */
.visa-fee-calculator .autocomplete-dropdown::-webkit-scrollbar {
  width: 8px;
}

.visa-fee-calculator .autocomplete-dropdown::-webkit-scrollbar-track {
  background: var(--background-light);
  border-radius: 0 0 var(--border-radius) 0;
}

.visa-fee-calculator .autocomplete-dropdown::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.visa-fee-calculator .autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Processing times info box (on step 1) */
.visa-fee-calculator .processing-times-info {
  background: #fefce8;
  border: 2px solid #eab308;
  border-radius: var(--border-radius);
  padding: 16px 20px;
  margin-top: 20px;
}

.visa-fee-calculator .processing-times-info p {
  margin: 0 0 10px 0;
  color: #854d0e;
}

.visa-fee-calculator .processing-times-info ul {
  margin: 0;
  padding-left: 20px;
}

.visa-fee-calculator .processing-times-info li {
  margin: 6px 0;
  color: #713f12;
  font-size: 14px;
}

/* Disabled select options */
.visa-fee-calculator select option:disabled {
  color: #999;
  font-style: italic;
  background: #f5f5f5;
}

/* Print-friendly styles */
@media print {
  /* Reset page */
  body {
    background: white !important;
    margin: 0;
    padding: 0;
  }
  
  /* Remove wrapper shadow/border */
  .visa-fee-calculator {
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 15px !important;
    max-width: 100% !important;
  }
  
  /* Hide non-essential elements */
  .visa-fee-calculator .progress-indicator,
  .visa-fee-calculator .calculator-header,
  .visa-fee-calculator .navigation-buttons,
  .visa-fee-calculator .export-buttons,
  .visa-fee-calculator .processing-times-info {
    display: none !important;
  }
  
  /* Ensure results are visible */
  .visa-fee-calculator .step {
    display: none !important;
  }
  
  .visa-fee-calculator .step#step4 {
    display: block !important;
  }
  
  /* Style adjustments for print */
  .visa-fee-calculator .result-container {
    text-align: left;
  }
  
  .visa-fee-calculator .result-container h2 {
    text-align: left !important;
    font-size: 18pt !important;
    margin-bottom: 10px !important;
    color: black !important;
    border-bottom: 2px solid #fc9918;
    padding-bottom: 10px;
  }
  
  /* Add print header */
  .visa-fee-calculator .result-container::before {
    content: "UK Visa Fee Calculation - " attr(data-date);
    display: block;
    font-size: 10pt;
    color: #666;
    margin-bottom: 15px;
  }
  
  /* Fee breakdown cards */
  .visa-fee-calculator .fee-breakdown {
    break-inside: avoid;
    page-break-inside: avoid;
    border: 1px solid #ccc !important;
    margin-bottom: 15px !important;
    box-shadow: none !important;
  }
  
  .visa-fee-calculator .fee-breakdown h3 {
    background: #f5f5f5 !important;
    color: black !important;
    font-size: 12pt !important;
    padding: 10px 15px !important;
  }
  
  .visa-fee-calculator .fee-item {
    padding: 8px 15px !important;
    font-size: 10pt;
  }
  
  .visa-fee-calculator .fee-total {
    background: #fc9918 !important;
    color: white !important;
    font-size: 11pt !important;
    padding: 10px 15px !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  
  /* Duration info */
  .visa-fee-calculator .duration-info {
    background: #f0f0f0 !important;
    border-left: 3px solid #3b82f6 !important;
    padding: 10px 15px !important;
    margin-bottom: 15px !important;
    font-size: 10pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  
  /* Add footer with disclaimer */
  .visa-fee-calculator .result-container::after {
    content: "Note: These fees are estimates. Please verify all fees on gov.uk before making your application.";
    display: block;
    font-size: 9pt;
    color: #666;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #ccc;
    font-style: italic;
  }
}
