/* ========================================
   Airport Order Form - Modern UI/UX Design
   Supports light/dark themes via CSS variables
   ======================================== */

/* Benefits bar */
.ao-benefits-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
}
.ao-benefit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.7);
}
.ao-benefit svg {
  color: #25d366;
  flex-shrink: 0;
}
[data-theme="light"] .ao-benefit {
  color: rgba(0,0,0,.55);
}
[data-theme="light"] .ao-benefit svg {
  color: #1a8d44;
}

/* Box sizing reset */
#airport-order-single *,
#airport-order-single *::before,
#airport-order-single *::after {
  box-sizing: border-box;
}

/* Default dark theme for entire page */
html:not([data-theme="light"]), html:not([data-theme="light"]) body {
  background-color: #0b0b0f;
  color: #ffffff;
}

main {
  background-color: transparent !important;
}

/* Prevent horizontal overflow on mobile */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  main {
    overflow-x: hidden;
    max-width: 100vw;
  }
}

/* Dark theme (default) */
:root,
:root[data-theme="dark"] {
  --ao-bg: #0a0a0a;
  --ao-card: #141414;
  --ao-card-hover: #1a1a1a;
  --ao-border: #2a2a2a;
  --ao-border-focus: rgba(0,200,83,0.5);
  --ao-text: #ffffff;
  --ao-text-muted: #a0a0a0;
  --ao-text-dim: #666666;
  --ao-accent: #00C853;
  --ao-accent-hover: #00a344;
  --ao-error: #F85149;
  --ao-radius: 14px;
  --ao-radius-sm: 10px;
  --ao-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light theme */
:root[data-theme="light"] {
  --ao-bg: #f5f5f5;
  --ao-card: #ffffff;
  --ao-card-hover: #f0f0f0;
  --ao-border: #e0e0e0;
  --ao-border-focus: rgba(0,200,83,0.5);
  --ao-text: #1a1a1a;
  --ao-text-muted: #555555;
  --ao-text-dim: #888888;
  --ao-accent: #00C853;
  --ao-accent-hover: #00a344;
  --ao-error: #dc3545;
  --ao-radius: 14px;
  --ao-radius-sm: 10px;
  --ao-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sidebar cards */
.ao-sidebar-card {
  background: var(--ao-card) !important;
  border-color: var(--ao-border) !important;
  color: var(--ao-text) !important;
}

/* ========================================
   Trip Summary in Sidebar
   ======================================== */
.ao-trip-summary {
  padding: 16px;
}

.ao-trip-summary.hidden {
  display: none;
}

.ao-trip-summary-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ao-text-muted);
  margin-bottom: 14px;
}

.ao-trip-summary-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ao-trip-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

/* Distance and duration highlight */
.ao-trip-distance,
.ao-trip-duration {
  color: var(--color-primary, #10b981);
  font-weight: 600;
}

.ao-trip-row svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0.7;
}

.ao-trip-label {
  font-size: 12px;
  color: var(--ao-text-dim);
  flex-shrink: 0;
}

.ao-trip-label-return {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ao-accent);
}

.ao-trip-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--ao-text);
  text-align: right;
  word-break: break-word;
  max-width: 180px;
}

.ao-trip-divider {
  height: 1px;
  background: var(--ao-border);
  margin: 4px 0;
}

.ao-trip-edit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 12px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--ao-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--ao-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ao-trip-edit-btn:hover {
  background: var(--ao-card-hover);
  border-color: var(--ao-text-muted);
  color: var(--ao-text);
}

/* ========================================
   Currency Dropdown in Sidebar
   ======================================== */
.ao-currency-card {
  padding: 16px;
  overflow: visible;
}

/* Mobile: Currency card fixed at bottom */
@media (max-width: 768px) {
  .ao-currency-card {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-radius: 16px 16px 0 0;
    background: var(--ao-card);
    border: 1px solid var(--ao-border);
    border-bottom: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    padding: 12px 16px;
    margin: 0;
  }
  
  .ao-currency-card .ao-currency-header {
    display: none;
  }
  
  /* Currency warning on mobile - show below the currency toggle */
  .ao-currency-card .ao-currency-warning-inline {
    position: relative;
    margin: 8px 0 0 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.2);
    font-size: 11px;
  }
  
  .ao-currency-card .ao-currency-warning-inline.hidden {
    display: none !important;
  }
  
  .ao-currency-dropdown {
    width: 100%;
    position: relative;
  }
  
  .ao-currency-toggle {
    justify-content: center;
  }
  
  .ao-currency-card .ao-currency-menu {
    position: absolute !important;
    bottom: 100% !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    margin-bottom: 8px;
    max-height: 60vh;
    transform: none !important;
    z-index: 1001 !important;
  }
  
  .ao-currency-card .ao-currency-menu.visible {
    transform: none !important;
  }
  
  /* Add bottom padding to body for fixed currency bar */
  body {
    padding-bottom: 70px;
  }
  
  body.ao-currency-warning-visible {
    padding-bottom: 90px;
  }
}

.ao-currency-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ao-text-muted);
  margin-bottom: 12px;
}

.ao-currency-dropdown {
  position: relative;
}

.ao-currency-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: var(--ao-card-hover);
  border: 1px solid var(--ao-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ao-text);
}

#ao-currency-flag {
  font-size: 18px;
}

.ao-currency-toggle:hover {
  border-color: var(--ao-text-muted);
  background: var(--ao-card);
}

.ao-currency-toggle svg {
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.ao-currency-dropdown.open .ao-currency-toggle svg {
  transform: rotate(180deg);
}

.ao-currency-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  min-width: 220px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--ao-card);
  border: 1px solid var(--ao-border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  scrollbar-width: thin;
  scrollbar-color: var(--ao-border) transparent;
}

.ao-currency-menu::-webkit-scrollbar {
  width: 6px;
}

.ao-currency-menu::-webkit-scrollbar-track {
  background: transparent;
}

.ao-currency-menu::-webkit-scrollbar-thumb {
  background: var(--ao-border);
  border-radius: 3px;
}

.ao-currency-menu.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ao-currency-menu.hidden {
  display: none;
}

.ao-currency-menu-header {
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ao-text-dim);
  border-bottom: 1px solid var(--ao-border);
}

.ao-currency-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: inherit;
  text-align: left;
}

.ao-currency-option:hover {
  background: var(--ao-card-hover);
}

.ao-currency-option-flag {
  font-size: 18px;
  line-height: 1;
}

.ao-currency-option-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ao-text);
  min-width: 36px;
}

.ao-currency-option-desc {
  flex: 1;
  font-size: 12px;
  color: var(--ao-text-muted);
}

.ao-currency-check {
  opacity: 0;
  color: var(--ao-accent);
  transition: opacity 0.15s ease;
}

.ao-currency-option.active .ao-currency-check {
  opacity: 1;
}

.ao-currency-option.active {
  background: rgba(0, 200, 83, 0.08);
}

.ao-currency-warning {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 193, 7, 0.08);
  border-top: 1px solid var(--ao-border);
  font-size: 10px;
  color: #ffc107;
  line-height: 1.3;
}

.ao-currency-warning svg {
  flex-shrink: 0;
  color: #ffc107;
}

.ao-currency-warning.hidden {
  display: none;
}

.ao-currency-warning-inline {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 10px;
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 8px;
  font-size: 11px;
  color: #ffc107;
  line-height: 1.4;
}

.ao-currency-warning-inline svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #ffc107;
}

.ao-currency-warning-inline.hidden {
  display: none;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .ao-currency-toggle {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  }

/* ========================================
   Popular Destinations Chips
   ======================================== */
/* Pre-order info block */
.ao-preorder-info {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(37, 211, 102, 0.06);
  border: 1px solid rgba(37, 211, 102, 0.18);
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}
.ao-preorder-icon {
  flex-shrink: 0;
  color: #25D366;
  margin-top: 1px;
}
.ao-preorder-text {
  flex: 1;
}
.ao-preorder-wa {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #25D366;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.ao-preorder-wa:hover {
  opacity: 0.8;
  text-decoration: underline;
}
[data-theme="light"] .ao-preorder-info {
  background: rgba(37, 211, 102, 0.06);
  border-color: rgba(37, 211, 102, 0.2);
  color: rgba(0, 0, 0, 0.65);
}

/* Toggle switches — light theme */
[data-theme="light"] .ao-toggle-switch {
  background: #c0c0c0 !important;
}
[data-theme="light"] .ao-toggle-switch::after {
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.2) !important;
}
[data-theme="light"] .ao-toggle-input:checked + .ao-toggle-switch,
[data-theme="light"] .ao-toggle input:checked + .ao-toggle-switch {
  background: var(--ao-accent) !important;
}
[data-theme="light"] .ao-toggle-row {
  background: rgba(0,0,0,.02) !important;
  border-color: rgba(0,0,0,.06) !important;
}

/* Code input fields — light theme */
[data-theme="light"] .ao-code-input {
  background: #fff !important;
  border-color: #ccc !important;
  color: #1a1a1a !important;
}
[data-theme="light"] .ao-code-input:focus {
  background: #fff !important;
  border-color: var(--ao-border-focus) !important;
}
[data-theme="light"] .ao-code-input.filled {
  background: rgba(0,200,83,0.05) !important;
}

/* Disabled primary button — light theme */
[data-theme="light"] .ao-btn-primary:disabled,
[data-theme="light"] .ao-btn-primary.ao-btn-disabled {
  background: #ccc !important;
  color: #888 !important;
}

/* Modals — light theme */
[data-theme="light"] #ao-order-for-other-modal > div {
  background: #fff !important;
  border-color: rgba(0,0,0,.1) !important;
  box-shadow: 0 20px 60px -15px rgba(0,0,0,.15) !important;
}
[data-theme="light"] #ao-order-for-other-modal h3 {
  color: #1a1a1a !important;
}
[data-theme="light"] #ao-order-for-other-modal p {
  color: #555 !important;
}

/* Verify step text — light theme */
[data-theme="light"] #ao-step-verify .text-white\/50,
[data-theme="light"] #ao-step-verify .text-white\/40,
[data-theme="light"] #ao-step-verify [class*="text-white"] {
  color: #555 !important;
}
[data-theme="light"] #ao-step-verify .text-lg,
[data-theme="light"] #ao-step-verify .font-semibold {
  color: #1a1a1a !important;
}
[data-theme="light"] #ao-step-verify .bg-emerald-500\/10 {
  background: rgba(0,200,83,.08) !important;
}

/* Country dropdown — light theme */
[data-theme="light"] #ao-country-dropdown-portal .ao-country-dropdown-inner {
  background: #fff !important;
  box-shadow: 0 10px 50px rgba(0,0,0,.12) !important;
}
[data-theme="light"] #ao-country-dropdown-portal .ao-country-list {
  background: #fff !important;
}
[data-theme="light"] #ao-country-dropdown-portal .ao-country-item:hover {
  background: rgba(0,0,0,.04) !important;
}
[data-theme="light"] #ao-country-dropdown-portal .ao-country-item-name {
  color: #1a1a1a !important;
}
[data-theme="light"] #ao-country-dropdown-portal .ao-country-item-code {
  color: #555 !important;
}
[data-theme="light"] #ao-country-dropdown-portal.mobile .ao-country-search-wrapper {
  background: #f5f5f5 !important;
}
[data-theme="light"] #ao-country-dropdown-portal.mobile .ao-country-search {
  background: rgba(0,0,0,.04) !important;
  color: #1a1a1a !important;
}
[data-theme="light"] #ao-country-dropdown-portal.mobile .ao-country-list {
  background: #fff !important;
}
[data-theme="light"] #ao-country-dropdown-portal.mobile .ao-country-item:active {
  background: rgba(0,0,0,.06) !important;
}

/* Error modal — light theme */
[data-theme="light"] .ao-modal-content {
  box-shadow: 0 20px 60px rgba(0,0,0,.12) !important;
}

/* Payment options — light theme */
[data-theme="light"] .ao-payment-option {
  background: #fff !important;
  border-color: rgba(0,0,0,.08) !important;
}
[data-theme="light"] .ao-payment-label {
  color: #1a1a1a !important;
}
[data-theme="light"] .ao-payment-hint {
  color: #888 !important;
}
[data-theme="light"] .ao-payment-img-dark {
  filter: none !important;
}

.ao-popular-destinations {
  display: none;
  margin-bottom: 16px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.ao-popular-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ao-text-dim);
  margin-bottom: 12px;
}

.ao-popular-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  max-width: 100%;
}

.ao-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--ao-card);
  border: 1px solid var(--ao-border);
  border-radius: 50px;
  font-family: inherit;
  font-size: 13px;
  color: var(--ao-text);
  white-space: nowrap;
}

.ao-chip-icon {
  font-size: 16px;
  line-height: 1;
}

.ao-chip-text {
  font-weight: 500;
}

.ao-chip-price {
  font-size: 11px;
  color: var(--ao-accent);
  font-weight: 600;
}

/* Mobile: single row with horizontal scroll */
@media (max-width: 640px) {
  .ao-popular-destinations {
    overflow: visible;
  }
  
  .ao-popular-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    scroll-behavior: smooth;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .ao-popular-chips::-webkit-scrollbar {
    display: none;
  }
  
  .ao-chip {
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
  }
}

/* Form Container */
#airport-order-single {
  background: var(--ao-card);
  border: 1px solid var(--ao-border);
  border-radius: 16px;
  overflow: hidden;
  font-family: var(--font-family, 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
  width: 100%;
  max-width: 100%;
}

@media (min-width: 640px) {
  #airport-order-single {
    border-radius: 20px;
  }
}

/* Reset some Tailwind defaults for form elements */
#airport-order-single input,
#airport-order-single textarea,
#airport-order-single button,
#airport-order-single select {
  font-family: inherit;
}

/* Steps */
.ao-step {
  padding: 20px;
}

@media (min-width: 640px) {
  .ao-step {
    padding: 24px;
  }
}

.ao-step.hidden {
  display: none;
}

/* ========================================
   Trip Type Toggle (One way / Round trip)
   ======================================== */
.ao-trip-type {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.ao-trip-type-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid var(--ao-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ao-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ao-trip-type-btn:hover {
  background: var(--ao-card-hover);
  border-color: var(--ao-text-muted);
  color: var(--ao-text);
}

.ao-trip-type-btn.active {
  background: rgba(0, 200, 83, 0.1);
  border-color: var(--ao-accent);
  color: var(--ao-accent);
}

.ao-trip-type-btn svg {
  flex-shrink: 0;
}

/* Return Section */
.ao-return-section {
  margin-top: 16px;
  margin-bottom: 16px;
  padding: 12px;
  background: var(--ao-card-hover);
  border: 1px solid var(--ao-border);
  border-radius: 12px;
  animation: ao-slide-down 0.3s ease;
}

.ao-return-section.hidden {
  display: none;
}

.ao-return-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ao-accent);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes ao-slide-down {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Search Loader Animation
   ======================================== */
.ao-search-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 40px 20px;
}

.ao-search-loader.hidden {
  display: none;
}

.ao-loader-content {
  text-align: center;
  max-width: 280px;
}

.ao-loader-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

.ao-spinner-svg {
  width: 80px;
  height: 80px;
  animation: ao-rotate 2s linear infinite;
}

.ao-spinner-circle {
  stroke: var(--ao-accent);
  stroke-linecap: round;
  stroke-dasharray: 90, 150;
  stroke-dashoffset: 0;
  animation: ao-dash 1.5s ease-in-out infinite;
}

.ao-loader-car {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--ao-accent);
  animation: ao-pulse 1s ease-in-out infinite;
}

@keyframes ao-rotate {
  100% { transform: rotate(360deg); }
}

@keyframes ao-dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

@keyframes ao-pulse {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(0.95); }
}

.ao-loader-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--ao-text);
  margin-bottom: 16px;
  min-height: 24px;
  transition: opacity 0.2s ease;
}

.ao-loader-progress {
  width: 100%;
  height: 4px;
  background: var(--ao-border);
  border-radius: 2px;
  overflow: hidden;
}

.ao-loader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ao-accent), #4ade80);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.ao-vehicles-content.hidden {
  display: none;
}

/* ========================================
   Floating Label Input Group
   ======================================== */
.ao-field {
  position: relative;
  margin-bottom: 12px;
}

.ao-field:last-child {
  margin-bottom: 0;
}

.ao-field-input {
  width: 100%;
  height: 44px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--ao-border);
  border-radius: var(--ao-radius-sm);
  padding: 12px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ao-text);
  outline: none;
  transition: var(--ao-transition);
  -webkit-appearance: none;
}

/* When focused or has value, add top padding for label */
.ao-field-input:focus,
.ao-field-input:not(:placeholder-shown) {
  padding-top: 18px;
  padding-bottom: 6px;
}

.ao-field-input::placeholder {
  color: transparent;
}

.ao-field-input:hover {
  border-color: rgba(255,255,255,0.15);
}
[data-theme="light"] .ao-field-input:hover {
  border-color: rgba(0,0,0,0.2);
}

.ao-field-input:focus {
  border-color: var(--ao-border-focus);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px rgba(0,200,83,0.1);
}

.ao-field-label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--ao-text-muted);
  pointer-events: none;
  transition: var(--ao-transition);
  transform-origin: left center;
  padding: 0 4px;
  background: transparent;
}

/* Floating label active state */
.ao-field-input:focus + .ao-field-label,
.ao-field-input:not(:placeholder-shown) + .ao-field-label,
.ao-field-input[type="date"] + .ao-field-label,
.ao-field-input[type="time"] + .ao-field-label {
  top: 0;
  transform: translateY(-50%) scale(0.85);
  font-size: 11px;
  color: var(--ao-text-dim);
  background: var(--ao-card);
}

.ao-field-input:focus + .ao-field-label {
  color: var(--ao-accent);
}

/* Date/Time specific */
.ao-field-input[type="date"],
.ao-field-input[type="time"] {
  color-scheme: dark;
  padding-top: 18px;
  padding-bottom: 6px;
}

[data-theme="light"] .ao-field-input[type="date"],
[data-theme="light"] .ao-field-input[type="time"] {
  color-scheme: light;
}

.ao-field-input[type="date"],
.ao-field-input[type="time"] {
  color: var(--ao-text);
  -webkit-text-fill-color: var(--ao-text);
}

.ao-field-input[type="date"]::-webkit-calendar-picker-indicator,
.ao-field-input[type="time"]::-webkit-calendar-picker-indicator {
  background: none;
  display: block;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.ao-field-input[type="date"]::-webkit-calendar-picker-indicator {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
}

.ao-field-input[type="time"]::-webkit-calendar-picker-indicator {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
}

/* Light theme: dark icons for date/time pickers */
[data-theme="light"] .ao-field-input[type="date"]::-webkit-calendar-picker-indicator {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}

[data-theme="light"] .ao-field-input[type="time"]::-webkit-calendar-picker-indicator {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}

.ao-field-input[type="date"]::-webkit-datetime-edit,
.ao-field-input[type="time"]::-webkit-datetime-edit {
  color: var(--ao-text);
}

.ao-field-input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.ao-field-input[type="time"]::-webkit-datetime-edit-fields-wrapper {
  color: var(--ao-text);
}

/* Textarea */
.ao-field-textarea {
  height: auto;
  min-height: 60px;
  padding-top: 24px;
  resize: vertical;
}

/* Textarea label always floats */
.ao-field-textarea + .ao-field-label {
  top: 0;
  transform: translateY(-50%) scale(0.8);
  color: var(--ao-text-dim);
  background: var(--ao-card);
}

/* Field with icon */
.ao-field-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--ao-text-dim);
  pointer-events: none;
}

.ao-field-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.ao-field-input:focus ~ .ao-field-icon {
  color: var(--ao-accent);
}

/* ========================================
   Route Input (From/To) - Special Design
   ======================================== */
.ao-route {
  position: relative;
  margin-bottom: 12px;
}

.ao-route-fields {
  position: relative;
}

.ao-route-indicator {
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  pointer-events: none;
  z-index: 1;
}

.ao-route-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ao-route-dot.start {
  background: var(--ao-accent);
  box-shadow: 0 0 0 2px rgba(0,200,83,0.2);
}

.ao-route-dot.end {
  background: var(--ao-bg);
  border: 2px solid var(--ao-text-muted);
}

.ao-route-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(180deg, var(--ao-accent) 0%, var(--ao-border) 100%);
  margin: 4px 0;
}

.ao-route .ao-field {
  margin-bottom: 0;
}

.ao-route .ao-field-input {
  padding-left: 44px;
  border-radius: 0;
}

.ao-route .ao-field-input:focus,
.ao-route .ao-field-input:not(:placeholder-shown) {
  padding-top: 18px;
  padding-bottom: 6px;
}

.ao-route .ao-field:first-child .ao-field-input {
  border-radius: var(--ao-radius) var(--ao-radius) 0 0;
  border-bottom: none;
}

.ao-route .ao-field:last-child .ao-field-input {
  border-radius: 0 0 var(--ao-radius) var(--ao-radius);
}

.ao-route .ao-field-label {
  left: 44px;
}

/* Field with action buttons */
.ao-field-with-actions .ao-field-input {
  padding-right: 70px;
}

.ao-field-actions {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 10;
}

.ao-field-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  color: var(--ao-text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.ao-field-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--ao-text);
}

.ao-field-btn.hidden {
  display: none;
}

/* Location button */
.ao-location-btn {
  color: var(--ao-accent);
  background: rgba(0,200,83,0.1);
}

.ao-location-btn:hover {
  background: rgba(0,200,83,0.2);
  color: var(--ao-accent);
}

.ao-location-btn.loading {
  pointer-events: none;
  animation: ao-pulse 1s ease-in-out infinite;
}

/* Clear button */
.ao-clear-btn:hover {
  background: rgba(239,68,68,0.15);
  color: var(--ao-error);
}

/* ========================================
   Grid Layout for Fields
   ======================================== */
.ao-grid {
  display: grid;
  gap: 12px;
}

.ao-grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .ao-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.ao-grid .ao-field {
  margin-bottom: 0;
}

/* ========================================
   Stepper / Counter Component
   ======================================== */
.ao-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--ao-border);
  border-radius: var(--ao-radius-sm);
  padding: 8px 12px;
  height: 44px;
}

.ao-stepper-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ao-text-muted);
}

.ao-stepper-label svg {
  color: var(--ao-text-dim);
}

/* ========================================
   Child Seats Section
   ======================================== */
.ao-child-seats-section {
  margin-top: 12px;
}

.ao-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--ao-border);
  border-radius: var(--ao-radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ao-toggle-row:hover {
  background: var(--ao-card-hover);
}

.ao-toggle-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ao-text-muted);
}

.ao-toggle-text svg {
  color: var(--ao-text-dim);
}

.ao-toggle-input {
  display: none;
}

.ao-toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--ao-border);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.ao-toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.ao-toggle-input:checked + .ao-toggle-switch {
  background: var(--ao-accent);
}

.ao-toggle-input:checked + .ao-toggle-switch::after {
  left: 22px;
}

.ao-child-seats-details {
  margin-top: 8px;
  padding: 12px;
  background: var(--ao-card-hover);
  border: 1px solid var(--ao-border);
  border-radius: var(--ao-radius-sm);
  animation: ao-slide-down 0.2s ease;
}

.ao-child-seats-details.hidden {
  display: none;
}

.ao-child-seat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.ao-child-seat-row:not(:last-child) {
  border-bottom: 1px solid var(--ao-border);
}

.ao-child-seat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ao-child-seat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ao-text);
}

.ao-child-seat-age {
  font-size: 11px;
  color: var(--ao-text-dim);
}

.ao-stepper-mini {
  gap: 6px;
}

.ao-stepper-mini .ao-stepper-btn {
  width: 26px;
  height: 26px;
  font-size: 14px;
}

.ao-stepper-mini .ao-stepper-value {
  font-size: 14px;
  min-width: 20px;
}

/* ========================================
   Meet at Airport Section
   ======================================== */
.ao-meet-section {
  margin-top: 12px;
}

.ao-toggle-hint {
  font-size: 11px;
  color: var(--ao-text-dim);
  margin-top: 6px;
  padding-left: 12px;
}

.ao-flight-section {
  margin-top: 10px;
  padding: 12px;
  background: var(--ao-card-hover);
  border: 1px solid var(--ao-border);
  border-radius: var(--ao-radius-sm);
  animation: ao-slide-down 0.2s ease;
}

.ao-flight-section.hidden {
  display: none;
}

.ao-flight-section .ao-field {
  margin-bottom: 0;
}

.ao-flight-section .ao-field + .ao-field {
  margin-top: 12px;
}

.ao-flight-section .ao-field-label {
  color: var(--ao-accent);
}

.ao-stepper-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ao-stepper-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--ao-border);
  color: var(--ao-text);
  font-size: 16px;
  font-weight: 300;
  cursor: pointer;
  transition: var(--ao-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.ao-stepper-btn:hover {
  background: rgba(0,200,83,0.15);
  border-color: var(--ao-accent);
  color: var(--ao-accent);
}

.ao-stepper-btn:active {
  transform: scale(0.95);
}

.ao-stepper-value {
  font-size: 16px;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

/* ========================================
   Toggle / Checkbox
   ======================================== */
.ao-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--ao-border);
  border-radius: var(--ao-radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  transition: var(--ao-transition);
  -webkit-tap-highlight-color: transparent;
}

.ao-toggle:hover {
  background: var(--ao-card-hover);
}

.ao-toggle-content {
  flex: 1;
  margin-right: 12px;
}

.ao-toggle-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 1px;
}

.ao-toggle-desc {
  font-size: 11px;
  color: var(--ao-text-dim);
}

.ao-toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
  background: rgba(255,255,255,0.1);
  border-radius: 11px;
  transition: var(--ao-transition);
  flex-shrink: 0;
}

.ao-toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: var(--ao-transition);
}

.ao-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ao-toggle input:checked + .ao-toggle-switch {
  background: var(--ao-accent);
}

.ao-toggle input:checked + .ao-toggle-switch::after {
  transform: translateX(18px);
}

.ao-toggle-price {
  font-size: 11px;
  font-weight: 600;
  color: var(--ao-accent);
  margin-top: 2px;
}

/* ========================================
   Section Divider
   ======================================== */
.ao-divider {
  height: 1px;
  background: var(--ao-border);
  margin: 16px 0;
}

.ao-section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ao-text-dim);
  margin-bottom: 16px;
}

/* ========================================
   Primary Button
   ======================================== */
.ao-btn-primary {
  width: 100%;
  height: 44px;
  background: var(--ao-accent);
  border: none;
  border-radius: var(--ao-radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  transition: var(--ao-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  -webkit-tap-highlight-color: transparent;
}

.ao-btn-primary:hover {
  background: var(--ao-accent-hover);
  box-shadow: 0 8px 24px rgba(0,200,83,0.25);
}

.ao-btn-primary:active {
  transform: scale(0.99);
}

.ao-btn-primary:disabled,
.ao-btn-primary.ao-btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #444;
  box-shadow: none;
}

.ao-btn-primary:disabled:hover,
.ao-btn-primary.ao-btn-disabled:hover {
  transform: none;
  box-shadow: none;
  background: #444;
}

.ao-btn-primary svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   Secondary/Ghost Button
   ======================================== */
.ao-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ao-text-muted);
  cursor: pointer;
  transition: var(--ao-transition);
}

.ao-btn-ghost:hover {
  color: var(--ao-text);
}

.ao-btn-ghost svg {
  width: 16px;
  height: 16px;
}

/* ========================================
   Vehicle Selection Cards
   ======================================== */
.ao-vehicles-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ao-vehicles-title {
  font-size: 20px;
  font-weight: 600;
}

.ao-vehicle-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ao-vehicle-card {
  display: flex;
  background: var(--ao-card);
  border: 1px solid var(--ao-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--ao-transition);
  -webkit-tap-highlight-color: transparent;
}

.ao-vehicle-card:hover {
  border-color: var(--ao-accent);
  box-shadow: 0 4px 20px rgba(0,200,83,0.1);
}

.ao-vehicle-card.selected {
  border-color: var(--ao-accent);
  box-shadow: 0 0 0 2px var(--ao-accent);
}

/* Disabled/unavailable vehicle card */
.ao-vehicle-card.ao-vehicle-disabled {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(0.5);
}

.ao-vehicle-card.ao-vehicle-disabled:hover {
  border-color: var(--ao-border);
  box-shadow: none;
}

.ao-vehicle-unavailable {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--ao-text-muted);
  padding: 12px;
}

.ao-vehicle-unavailable svg {
  width: 24px;
  height: 24px;
  color: #ff6b6b;
}

.ao-vehicle-unavailable span {
  font-size: 12px;
  line-height: 1.3;
  max-width: 120px;
}

/* Outside service area banner */
.ao-service-area-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 2px solid #f59e0b;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 16px;
  color: #92400e;
  font-size: 14px;
  line-height: 1.5;
}

.ao-service-area-banner svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #d97706;
  margin-top: 2px;
}

.ao-service-area-banner strong {
  font-size: 15px;
  color: #78350f;
}

.ao-vehicle-image {
  width: 280px;
  height: 180px;
  background: var(--ao-card-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 20px;
}

.ao-vehicle-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: auto;
  height: auto;
}

.ao-vehicle-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--ao-text-dim);
}

.ao-vehicle-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.ao-vehicle-brand {
  font-size: 12px;
  color: var(--ao-text-dim);
  margin-bottom: 4px;
}

.ao-vehicle-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--ao-text);
  margin-bottom: 8px;
}

.ao-vehicle-specs {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--ao-text-muted);
  margin-bottom: 12px;
}

.ao-vehicle-spec {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ao-vehicle-spec svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

.ao-vehicle-services {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ao-vehicle-services-label {
  font-size: 12px;
  color: var(--ao-text-dim);
}

.ao-vehicle-services-icons {
  display: flex;
  gap: 6px;
}

.ao-vehicle-services-icons svg {
  width: 18px;
  height: 18px;
  color: var(--ao-text-muted);
}

.ao-vehicle-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ao-vehicle-amenity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ao-card-hover);
  border-radius: 6px;
  padding: 4px;
  cursor: help;
  transition: all 0.15s ease;
  color: var(--ao-text-muted);
}

.ao-vehicle-amenity:hover {
  transform: scale(1.1);
  color: var(--ao-accent);
  background: rgba(16, 185, 129, 0.1);
}

.ao-vehicle-amenity svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}

.ao-vehicle-right {
  width: 180px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  background: var(--ao-card-hover);
  flex-shrink: 0;
}

.ao-vehicle-price-wrap {
  text-align: right;
  margin-bottom: 16px;
}

.ao-vehicle-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--ao-text);
}

.ao-vehicle-price-currency {
  font-size: 14px;
  font-weight: 500;
  color: var(--ao-text-muted);
}

.ao-vehicle-price-old {
  font-size: 16px;
  font-weight: 600;
  color: var(--ao-text-muted, #888);
  text-decoration: line-through;
}

.ao-vehicle-price-discounted {
  color: #10b981;
}

.ao-vehicle-discount-badge {
  display: inline-block;
  background: #10b981;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.ao-vehicle-price-note {
  font-size: 11px;
  color: var(--ao-text-dim);
  margin-top: 2px;
}

.ao-vehicle-select-btn {
  width: 100%;
  padding: 12px 24px;
  background: var(--ao-accent);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  transition: var(--ao-transition);
}

.ao-vehicle-select-btn:hover {
  background: var(--ao-accent-hover);
}

.ao-vehicle-card.selected .ao-vehicle-select-btn {
  background: var(--ao-text);
  color: var(--ao-bg);
}

/* Mobile responsive */
@media (max-width: 640px) {
  .ao-vehicle-card {
    flex-direction: column;
  }
  
  .ao-vehicle-image {
    width: 100%;
    height: auto;
    min-height: 200px;
    aspect-ratio: 16 / 10;
    padding: 16px;
    background: linear-gradient(180deg, var(--ao-card-hover) 0%, var(--ao-card) 100%);
  }
  
  .ao-vehicle-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  
  .ao-vehicle-right {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 12px;
  }
  
  .ao-vehicle-price-wrap {
    margin-bottom: 0;
    text-align: left;
    flex: 1;
    min-width: 0;
  }
  
  .ao-vehicle-price {
    font-size: 20px;
    white-space: nowrap;
  }
  
  .ao-vehicle-select-btn {
    width: auto;
    min-width: 100px;
    padding: 12px 20px;
    font-size: 14px;
    flex-shrink: 0;
  }
  
  .ao-vehicle-content {
    padding: 16px;
  }
}

/* ========================================
   Payment Options
   ======================================== */
.ao-payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.ao-payment-option {
  padding: 16px;
  background: var(--ao-card);
  border: 2px solid var(--ao-border);
  border-radius: var(--ao-radius);
  cursor: pointer;
  transition: var(--ao-transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ao-payment-option.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ao-payment-option:not(.disabled):hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.02);
}

.ao-payment-option.active {
  border-color: var(--ao-accent);
  background: rgba(0,200,83,0.08);
}

.ao-payment-option-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ao-payment-radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--ao-border);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: var(--ao-transition);
}

.ao-payment-option.active .ao-payment-radio {
  border-color: var(--ao-accent);
}

.ao-payment-option.active .ao-payment-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--ao-accent);
  border-radius: 50%;
}

.ao-payment-info {
  flex: 1;
  text-align: left;
}

.ao-payment-label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--ao-text);
}

.ao-payment-hint {
  font-size: 12px;
  color: var(--ao-text-dim);
}

.ao-payment-cards {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 32px;
}

.ao-card-icon {
  height: 20px;
  width: auto;
  border-radius: 3px;
  opacity: 0.8;
}

.ao-card-icon-light {
  background: #fff;
  padding: 2px 4px;
  border-radius: 3px;
}

.ao-card-cash {
  width: 32px;
  height: 20px;
}

/* What's Included Section */
.ao-included-section {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--ao-border);
  border-radius: var(--ao-radius);
  padding: 16px;
  margin: 20px 0;
}

.ao-included-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ao-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.ao-included-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.ao-included-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ao-text-muted);
}

.ao-included-icon {
  width: 16px;
  height: 16px;
  stroke: var(--ao-accent);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .ao-included-list {
    grid-template-columns: 1fr;
  }
}

/* Timezone Notice */
.ao-timezone-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ao-text-muted);
  line-height: 1.4;
}

.ao-timezone-icon {
  width: 16px;
  height: 16px;
  stroke: #3b82f6;
  flex-shrink: 0;
  margin-top: 1px;
}

.ao-timezone-notice strong {
  color: var(--ao-text);
  font-weight: 600;
}

/* ========================================
   Price Breakdown (for round trip)
   ======================================== */
.ao-price-breakdown {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--ao-border);
  border-radius: var(--ao-radius);
  padding: 12px 16px;
  margin-bottom: 12px;
}

.ao-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ao-text-muted);
}

.ao-price-row:not(:last-child) {
  border-bottom: 1px solid var(--ao-border);
}

.ao-price-row span:last-child {
  font-weight: 600;
  color: var(--ao-text);
}

/* ========================================
   Summary / Total
   ======================================== */
.ao-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(0,200,83,0.1) 0%, rgba(0,200,83,0.05) 100%);
  border: 1px solid rgba(0,200,83,0.2);
  border-radius: var(--ao-radius);
  margin-bottom: 16px;
}

.ao-summary-total-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--ao-text);
}

.ao-summary-total-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--ao-accent);
}

/* ========================================
   Success State
   ======================================== */
.ao-success {
  text-align: center;
  padding: 20px 0;
}

.ao-success-icon {
  width: 72px;
  height: 72px;
  background: var(--ao-accent);
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ao-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ao-success-icon svg {
  width: 36px;
  height: 36px;
  stroke: #000;
  stroke-width: 2.5;
  fill: none;
}

@keyframes ao-pop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.ao-success-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ao-success-desc {
  font-size: 15px;
  color: var(--ao-text-muted);
  margin-bottom: 28px;
}

.ao-receipt {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--ao-border);
  border-radius: var(--ao-radius);
  padding: 20px;
  text-align: left;
}

.ao-receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--ao-border);
  font-size: 14px;
}

.ao-receipt-row:last-child {
  border-bottom: none;
}

.ao-receipt-row span:first-child {
  color: var(--ao-text-dim);
}

.ao-receipt-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 12px 0;
}

.ao-receipt-total {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 17px;
  font-weight: 600;
}

.ao-receipt-total span:last-child {
  color: var(--ao-accent);
}

/* Styled Receipt */
.ao-receipt-styled {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.ao-receipt-header {
  padding: 20px;
  text-align: center;
  background: rgba(0,200,83,0.08);
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.ao-receipt-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--ao-accent);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.ao-receipt-order-id {
  font-size: 13px;
  color: var(--ao-text-muted);
}

.ao-receipt-order-id strong {
  color: var(--ao-text);
  font-weight: 600;
}

.ao-receipt-styled .ao-receipt-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  margin: 0;
}

.ao-receipt-section {
  padding: 16px 20px;
}

.ao-receipt-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ao-text-dim);
  margin-bottom: 12px;
}

.ao-receipt-styled .ao-receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: none;
  font-size: 14px;
  gap: 12px;
}

.ao-receipt-styled .ao-receipt-row span:first-child {
  color: var(--ao-text-muted);
  flex-shrink: 0;
}

.ao-receipt-styled .ao-receipt-row span:last-child {
  text-align: right;
  word-break: break-word;
}

.ao-receipt-row-sub {
  font-size: 12px !important;
  opacity: 0.8;
}

.ao-receipt-value {
  color: var(--ao-text);
  font-weight: 500;
}

.ao-receipt-highlight {
  color: var(--ao-accent) !important;
  font-weight: 600;
}

.ao-receipt-total-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(0,200,83,0.1);
  border-top: 1px dashed rgba(255,255,255,0.1);
  font-size: 16px;
  font-weight: 600;
}

.ao-receipt-total-box span:first-child {
  color: var(--ao-text);
}

.ao-receipt-total-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--ao-accent);
}

/* ========================================
   Autocomplete Dropdown
   ======================================== */
.ao-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--ao-card);
  border: 1px solid var(--ao-border);
  border-radius: var(--ao-radius);
  overflow: hidden;
  z-index: 100;
  box-shadow: var(--shadow-lg, 0 10px 40px rgba(0,0,0,0.4));
  animation: ao-slide-down 0.15s ease;
}

@keyframes ao-slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ao-suggest.hidden {
  display: none;
}

.ao-suggest-header {
  padding: 12px 16px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ao-text-dim);
}

.ao-suggest-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.1s;
}

.ao-suggest-item:hover {
  background: rgba(255,255,255,0.05);
}

.ao-suggest-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ao-suggest-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--ao-text-muted);
  fill: none;
  stroke-width: 1.5;
}

.ao-suggest-item:hover .ao-suggest-icon {
  background: rgba(0,200,83,0.1);
}

.ao-suggest-item:hover .ao-suggest-icon svg {
  stroke: var(--ao-accent);
}

.ao-suggest-content {
  flex: 1;
  min-width: 0;
}

.ao-suggest-title {
  font-size: 15px;
  font-weight: 500;
}

.ao-suggest-subtitle {
  font-size: 13px;
  color: var(--ao-text-dim);
  margin-top: 2px;
}

/* ========================================
   Google Places Autocomplete Styling
   ======================================== */
.pac-container {
  background: var(--ao-card, #141414);
  border: 1px solid var(--ao-border, #2a2a2a);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  margin-top: 4px;
  padding: 8px 0;
  z-index: 10000 !important;
}

.pac-item {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 12px 16px;
  cursor: pointer;
  border: none;
  border-top: 1px solid var(--ao-border, #2a2a2a);
  background: transparent;
  color: var(--ao-text, #fff);
  transition: background 0.15s ease;
  line-height: 1.4;
}

.pac-item:first-child {
  border-top: none;
}

.pac-item:hover,
.pac-item-selected {
  background: rgba(0, 200, 83, 0.1);
}

/* Hide default Google Places icons and use custom ones */
.pac-icon {
  display: none !important;
}

/* Custom marker icon for places */
.pac-item::before {
  content: '';
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300C853' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.pac-item-query {
  font-size: 14px;
  font-weight: 500;
  color: var(--ao-text, #fff);
  flex-shrink: 0;
}

.pac-item-query .pac-matched {
  color: var(--ao-accent, #00C853);
  font-weight: 600;
}

/* Secondary address text */
.pac-item > span:not(.pac-item-query):not(.pac-icon) {
  font-size: 12px;
  color: var(--ao-text-dim, #888);
  margin-left: 6px;
}

.pac-item > span:last-child {
  font-size: 12px;
  color: var(--ao-text-dim, #666);
  margin-left: 8px;
}

.pac-logo::after {
  display: none;
}

/* Force dark theme for pac-container on this page (data-theme="dark" is set on html) */
/* Override any system light mode preferences */
.pac-container {
  background: var(--ao-card, #141414) !important;
  border-color: var(--ao-border, #2a2a2a) !important;
}

.pac-item {
  border-color: var(--ao-border, #2a2a2a) !important;
  color: var(--ao-text, #fff) !important;
}

.pac-item-query {
  color: var(--ao-text, #fff) !important;
}

.pac-item > span:last-child {
  color: var(--ao-text-dim, #666) !important;
}

/* ========================================
   Error State
   ======================================== */
.ao-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  color: #f87171;
  padding: 14px 16px;
  border-radius: var(--ao-radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ao-error.hidden {
  display: none;
}

.ao-error svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Field error state */
.ao-field-input.error {
  border-color: var(--ao-error);
}

.ao-field-input.error:focus {
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

/* ========================================
   SMS Code Input
   ======================================== */
.ao-code-input {
  width: 48px;
  height: 56px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--ao-border);
  border-radius: var(--ao-radius-sm);
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: var(--ao-text);
  outline: none;
  transition: var(--ao-transition);
}

.ao-code-input:focus {
  border-color: var(--ao-border-focus);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px rgba(0,200,83,0.1);
}

.ao-code-input.filled {
  border-color: var(--ao-accent);
  background: rgba(0,200,83,0.05);
}

/* ========================================
   Loading Spinner
   ======================================== */
.ao-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: ao-spin 0.6s linear infinite;
}

@keyframes ao-spin {
  to { transform: rotate(360deg); }
}

/* ========================================
   Sidebar Cards
   ======================================== */
.ao-sidebar-card {
  background: var(--ao-card);
  border: 1px solid var(--ao-border);
  border-radius: 16px;
  padding: 24px;
}

.ao-sidebar-card + .ao-sidebar-card {
  margin-top: 16px;
}

/* Payment Methods Icons */
.ao-payment-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ao-border);
}

.ao-payment-img {
  height: 24px;
  width: auto;
  border-radius: 4px;
  transition: transform 0.15s ease, opacity 0.15s ease;
  opacity: 0.85;
}

.ao-payment-img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* White background for Apple Pay (black logo on transparent needs white bg) */
.ao-payment-img-dark {
  background: #fff;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Sidebar SVG icons - don't override Tailwind width/height classes */
.ao-sidebar-card svg {
  flex-shrink: 0;
}

/* ========================================
   Animations & Micro-interactions
   ======================================== */
.ao-fade-in {
  animation: ao-fade 0.25s ease;
}

@keyframes ao-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ao-shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* Smooth step transitions */
.ao-step {
  animation: ao-step-in 0.3s ease;
}

@keyframes ao-step-in {
  from { 
    opacity: 0; 
    transform: translateY(12px);
  }
  to { 
    opacity: 1; 
    transform: translateY(0);
  }
}

/* Pulse animation for selected items */
@keyframes ao-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,200,83,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(0,200,83,0); }
}

.ao-vehicle-card.selected {
  animation: ao-pulse 0.4s ease;
}

/* Stepper button press effect */
.ao-stepper-btn:active {
  transform: scale(0.9);
}

/* Input focus glow animation */
@keyframes ao-glow {
  0% { box-shadow: 0 0 0 3px rgba(0,200,83,0); }
  100% { box-shadow: 0 0 0 3px rgba(0,200,83,0.1); }
}

/* ========================================
   Touch-friendly Improvements
   ======================================== */
@media (hover: none) {
  /* Remove hover states on touch devices */
  .ao-vehicle-card:hover {
    background: var(--ao-card);
    border-color: var(--ao-border);
  }
  
  .ao-vehicle-card:active {
    background: var(--ao-card-hover);
  }
  
  /* Larger touch targets */
  .ao-stepper-btn {
    width: 44px;
    height: 44px;
  }
}

/* ========================================
   Mobile Responsive - Main Breakpoint
   ======================================== */
@media (max-width: 768px) {
  /* Form container on mobile */
  #airport-order-single {
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
  }
  
  .ao-step {
    padding: 16px;
  }
  
  /* Larger input fields for touch */
  .ao-field-input {
    height: 52px;
    font-size: 16px; /* Prevents iOS zoom */
    padding: 14px 12px;
  }
  
  .ao-field-input:focus,
  .ao-field-input:not(:placeholder-shown) {
    padding-top: 22px;
    padding-bottom: 8px;
  }
  
  .ao-field-label {
    font-size: 14px;
  }
  
  /* Route fields */
  .ao-route .ao-field-input {
    height: 52px;
    padding-left: 44px;
  }
  
  /* Grid becomes single column */
  .ao-grid-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  /* Trip type buttons */
  .ao-trip-type {
    gap: 6px;
  }
  
  .ao-trip-type-btn {
    padding: 14px 12px;
    font-size: 14px;
  }
  
  /* Stepper components */
  .ao-stepper {
    padding: 14px 12px;
    min-height: 56px;
  }
  
  .ao-stepper-label span {
    font-size: 14px;
  }
  
  .ao-stepper-btn {
    width: 40px;
    height: 40px;
  }
  
  .ao-stepper-value {
    font-size: 18px;
    min-width: 36px;
  }
  
  /* Field action buttons */
  .ao-field-actions {
    right: 6px;
  }
  
  .ao-field-btn {
    width: 36px;
    height: 36px;
  }
  
  /* Return section */
  .ao-return-section {
    padding: 12px;
    margin-top: 12px;
  }
  
  /* Child seats section */
  .ao-child-seats-section {
    margin-top: 12px;
  }
  
  .ao-toggle-row {
    padding: 14px 12px;
  }
  
  .ao-child-seats-details {
    padding: 14px;
  }
  
  .ao-child-seat-row {
    padding: 10px 0;
  }
  
  .ao-stepper-mini .ao-stepper-btn {
    width: 36px;
    height: 36px;
  }
  
  /* Meet section */
  .ao-meet-section {
    margin-top: 12px;
  }
  
  .ao-flight-section {
    padding: 14px;
  }
  
  /* Primary buttons (search, confirm, etc.) */
  .ao-btn-primary {
    height: 52px;
    font-size: 16px;
    margin-top: 20px;
  }
  
  /* Payment options - compact on mobile */
  .ao-payment-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .ao-payment-option {
    padding: 12px;
  }
  
  .ao-payment-option-header {
    gap: 10px;
  }
  
  .ao-payment-radio {
    width: 18px;
    height: 18px;
  }
  
  .ao-payment-label {
    font-size: 14px;
  }
  
  .ao-payment-hint {
    font-size: 11px;
  }
  
  .ao-payment-cards {
    margin-top: 8px;
    gap: 6px;
  }
  
  .ao-card-icon {
    height: 18px;
  }
  
  /* Included section - compact on mobile */
  .ao-included-section {
    padding: 12px;
    margin: 12px 0;
  }
  
  .ao-included-title {
    font-size: 11px;
    margin-bottom: 8px;
  }
  
  .ao-included-list {
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
  }
  
  .ao-included-item {
    font-size: 11px;
    gap: 6px;
  }
  
  .ao-included-icon {
    width: 14px;
    height: 14px;
  }
  
  /* Step title compact */
  .ao-step-title {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  /* Summary total compact */
  .ao-summary-total {
    padding: 12px;
    margin-top: 12px;
  }
  
  /* Vehicle cards */
  .ao-vehicle-card {
    flex-direction: column;
  }
  
  .ao-vehicle-image {
    width: 100%;
    height: auto;
    min-height: 180px;
    aspect-ratio: 16 / 10;
  }
  
  .ao-vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .ao-vehicle-right {
    width: 100%;
    padding: 12px 16px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  
  .ao-vehicle-price {
    font-size: 18px;
    white-space: nowrap;
  }
  
  .ao-vehicle-price-wrap {
    flex: 1;
    text-align: left;
    margin-bottom: 0;
  }
  
  .ao-vehicle-select-btn {
    width: auto;
    min-width: 100px;
    height: auto;
    padding: 12px 20px;
    font-size: 14px;
    flex-shrink: 0;
  }
  
  /* Sidebar on mobile */
  aside {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
  }
  
  /* Sidebar cards */
  .ao-sidebar-card {
    padding: 16px;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
  }
  
  /* Currency card needs overflow visible for dropdown */
  .ao-sidebar-card.ao-currency-card {
    overflow: visible;
  }
  
  .ao-trip-summary-row {
    font-size: 14px;
    padding: 8px 0;
  }
  
  /* Currency dropdown */
  .ao-currency-dropdown {
    width: 100%;
  }
  
  /* Popular chips - already handled in 640px breakpoint */
  
  /* Divider */
  .ao-divider {
    margin: 16px 0;
  }
}

/* ========================================
   Small screens (< 480px)
   ======================================== */
@media (max-width: 480px) {
  .ao-step {
    padding: 14px;
  }
  
  /* Even larger touch targets */
  .ao-field-input {
    height: 54px;
  }
  
  .ao-stepper {
    min-height: 60px;
  }
  
  .ao-stepper-btn {
    width: 44px;
    height: 44px;
  }
  
  /* Trip type full width buttons */
  .ao-trip-type {
    flex-direction: column;
  }
  
  .ao-trip-type-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   Very small screens (< 360px)
   ======================================== */
@media (max-width: 360px) {
  .ao-step {
    padding: 12px;
  }
  
  .ao-field-input {
    font-size: 15px;
  }
  
  .ao-stepper-controls {
    gap: 4px;
  }
  
  .ao-stepper-btn {
    width: 38px;
    height: 38px;
  }
  
  .ao-chip {
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* ========================================
   Google Places Autocomplete on mobile
   ======================================== */
@media (max-width: 768px) {
  .pac-container {
    width: auto !important;
    left: 8px !important;
    right: 8px !important;
    border-radius: 12px;
    max-height: 50vh;
  }
  
  .pac-item {
    padding: 16px 14px;
    font-size: 15px;
  }
  
  .pac-item-query {
    font-size: 15px;
  }
  
  .pac-item::before {
    width: 24px;
    height: 24px;
    margin-right: 14px;
  }
}

/* ========================================
   Phone Input with Country Selector
   ======================================== */
.ao-phone-field {
  position: relative;
}

.ao-phone-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
}

/* Phone input wrapper for floating label */
.ao-phone-input-wrapper {
  position: relative;
  flex: 1;
}

.ao-phone-input-wrapper .ao-field-input {
  width: 100%;
  border-radius: 0 var(--ao-radius-sm) var(--ao-radius-sm) 0;
}

.ao-phone-input-wrapper .ao-field-label {
  left: 12px;
}

.ao-country-selector {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--ao-border);
  border-right: none;
  border-radius: var(--ao-radius-sm) 0 0 var(--ao-radius-sm);
  cursor: pointer;
  transition: var(--ao-transition);
  min-width: 95px;
  height: 44px;
}

.ao-country-selector:hover {
  background: rgba(255,255,255,0.08);
}

.ao-country-flag {
  font-size: 20px;
  line-height: 1;
}

.ao-country-code {
  font-size: 13px;
  font-weight: 500;
  color: var(--ao-text);
  white-space: nowrap;
}

.ao-country-arrow {
  color: var(--ao-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.ao-country-selector.open .ao-country-arrow {
  transform: rotate(180deg);
}



/* Country Dropdown - using body-level portal */
#ao-country-dropdown-portal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99999;
  display: none;
}

#ao-country-dropdown-portal.active {
  display: block;
  pointer-events: auto;
}

/* Overlay for mobile modal */
#ao-country-dropdown-portal .ao-country-overlay {
  display: none;
}

#ao-country-dropdown-portal .ao-country-dropdown-inner {
  position: absolute;
  background: #1a1a2e;
  border: 1px solid var(--ao-border);
  border-radius: var(--ao-radius);
  box-shadow: 0 10px 50px rgba(0,0,0,0.6);
  max-height: 350px;
  width: 300px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  pointer-events: auto;
}

#ao-country-dropdown-portal.active .ao-country-dropdown-inner {
  display: flex;
}

/* Modal header (hidden on desktop) */
.ao-country-modal-header {
  display: none;
}

.ao-country-search-wrapper {
  padding: 12px;
  border-bottom: 1px solid var(--ao-border);
  background: #1a1a2e;
  position: relative;
}

.ao-country-search-icon {
  display: none;
}

.ao-country-search {
  width: 100%;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--ao-border);
  border-radius: var(--ao-radius-sm);
  padding: 0 12px;
  font-size: 14px;
  color: #fff;
  outline: none;
}

.ao-country-search:focus {
  border-color: var(--ao-accent);
}

.ao-country-search::placeholder {
  color: #888;
}

.ao-country-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0;
  max-height: 280px;
  background: #1a1a2e;
}

.ao-country-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.15s;
  color: #fff;
}

.ao-country-item:hover {
  background: rgba(255,255,255,0.1);
}

.ao-country-item.selected {
  background: rgba(76, 175, 80, 0.2);
}

.ao-country-item-flag {
  font-size: 22px;
  line-height: 1;
  width: 28px;
  text-align: center;
}

.ao-country-item-name {
  flex: 1;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ao-country-item-code {
  font-size: 13px;
  color: #aaa;
  font-weight: 500;
}

/* Scrollbar for country list */
.ao-country-list::-webkit-scrollbar {
  width: 6px;
}

.ao-country-list::-webkit-scrollbar-track {
  background: transparent;
}

.ao-country-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .ao-country-selector {
    min-width: 85px;
    padding: 0 8px;
    height: 52px;
  }
  
  .ao-country-code {
    font-size: 12px;
  }
}

/* ========================================
   Country Modal - Mobile Full Screen
   ======================================== */
#ao-country-dropdown-portal.mobile .ao-country-overlay {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#ao-country-dropdown-portal.mobile .ao-country-dropdown-inner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100% !important;
  max-height: none !important;
  border-radius: 0;
  border: none;
  background: #0b0b0f;
  animation: countryModalSlideUp 0.25s ease-out;
}

@keyframes countryModalSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Modal header - visible on mobile */
#ao-country-dropdown-portal.mobile .ao-country-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ao-border);
  background: #0b0b0f;
  position: sticky;
  top: 0;
  z-index: 10;
}

.ao-country-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.ao-country-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
}

.ao-country-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Search wrapper - enhanced for mobile */
#ao-country-dropdown-portal.mobile .ao-country-search-wrapper {
  padding: 16px 20px;
  background: #0b0b0f;
  position: sticky;
  top: 72px;
  z-index: 9;
}

#ao-country-dropdown-portal.mobile .ao-country-search-icon {
  display: block;
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
}

#ao-country-dropdown-portal.mobile .ao-country-search {
  height: 48px;
  font-size: 16px;
  padding-left: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

/* Country list - mobile optimized */
#ao-country-dropdown-portal.mobile .ao-country-list {
  flex: 1;
  max-height: none;
  overflow-y: auto;
  padding: 8px 0;
  background: #0b0b0f;
  -webkit-overflow-scrolling: touch;
}

#ao-country-dropdown-portal.mobile .ao-country-item {
  padding: 16px 20px;
  gap: 14px;
  min-height: 56px;
}

#ao-country-dropdown-portal.mobile .ao-country-item-flag {
  font-size: 28px;
}

#ao-country-dropdown-portal.mobile .ao-country-item-name {
  font-size: 16px;
}

#ao-country-dropdown-portal.mobile .ao-country-item-code {
  font-size: 15px;
  font-weight: 500;
}

#ao-country-dropdown-portal.mobile .ao-country-item.selected {
  background: rgba(76, 175, 80, 0.15);
}

#ao-country-dropdown-portal.mobile .ao-country-item:active {
  background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   Error Modal
   ======================================== */
.ao-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  padding: 20px;
}

.ao-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ao-modal-content {
  background: var(--ao-card);
  border: 1px solid var(--ao-border);
  border-radius: 16px;
  padding: 32px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.2s;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.ao-modal-overlay.active .ao-modal-content {
  transform: scale(1);
}

.ao-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ao-modal-icon-error {
  background: rgba(239, 68, 68, 0.15);
}

.ao-modal-icon-error svg {
  width: 32px;
  height: 32px;
  stroke: #ef4444;
}

.ao-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ao-text);
  margin-bottom: 12px;
}

.ao-modal-text {
  font-size: 14px;
  color: var(--ao-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.ao-modal-text strong {
  color: var(--ao-text);
  font-weight: 600;
}

.ao-modal-btn {
  background: var(--ao-accent);
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  width: 100%;
}

.ao-modal-btn:hover {
  background: var(--ao-accent-hover);
  transform: translateY(-1px);
}

.ao-modal-btn:active {
  transform: translateY(0);
}

/* 12h booking modal */
.ao-modal-icon-warning {
  background: rgba(245, 158, 11, 0.15);
}

.ao-modal-icon-warning svg {
  width: 32px;
  height: 32px;
  stroke: #f59e0b;
}

.ao-modal-subtitle {
  font-size: 13px;
  color: var(--ao-text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.ao-modal-btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ao-accent);
  color: #000;
  text-decoration: none;
  margin-bottom: 10px;
}

.ao-modal-btn-book:hover {
  background: var(--ao-accent-hover);
}

.ao-modal-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  margin-bottom: 10px;
}

.ao-modal-btn-wa:hover {
  background: #1da851;
  color: #fff;
}

.ao-modal-btn-close {
  background: transparent;
  color: var(--ao-text-muted);
  border: 1px solid var(--ao-border);
}

.ao-modal-btn-close:hover {
  background: var(--ao-bg-hover, rgba(255, 255, 255, 0.05));
  color: var(--ao-text);
  transform: translateY(-1px);
}
