/* Warm, bright customer-site palette. Keep the gold accents and travel photography. */
:root {
    --gold: #8E6A12;
    --gold-light: #F3E4AE;
    --gold-dark: #73540C;
    --dark-gray: #FFFFFF;
    --medium-gray: #F2EFE7;
    --card: #FFFFFF;
    --border: #E8DFC9;
    --text: #302D26;
    --muted: #70695D;
    --travel-card-radius: 16px;
    --travel-card-border: rgba(185,141,27,.34);
}

body { background: #F7F5EF; color: #302D26; }
.navbar { background: rgba(24,35,51,.98); border-bottom-color: rgba(224,190,87,.45); box-shadow: 0 4px 18px rgba(10,16,25,.28); }
.menu-toggle span { background: #F0D36F; }
.nav-links { background: rgba(24,35,51,.99); border-right-color: rgba(224,190,87,.35); }
.nav-links li { border-bottom-color: rgba(255,255,255,.1); }
.nav-links a { color: #F7F4EB; }
.nav-links a:hover, .nav-links a.active { color: #F0D36F; }
.nav-links a.active { border-left-color: #C29A2A; }
.logo { gap: .55rem; }
.logo-img { width: 42px; height: 42px; max-width: 42px; object-fit: contain; }
.logo::after { content: "WeTravel Solutions"; color: #F3E4AE; font: 700 1rem/1.1 'Playfair Display', serif; white-space: nowrap; letter-spacing: .01em; }
.trip-type-option { color: #615B50; }
.trip-type-option:has(input:checked) { color: #8C6912; }
.trip-type-option input[type="radio"] { border-color: #B9AE95; }
.trip-type-option input[type="radio"]:checked { border-color: #C49A22; background: #D6AE39; }
.trip-type-option input[type="radio"]:checked::after { color: #2E2819; }
.trip-type-divider { color: #B8B0A0; }
.promo-code-link, .form-footer-links a { color: #80600E; }
.booking-route strong { color: #302D26; }
.booking-meta { color: #625B4F; }
.passenger-details { border-top-color: #E8DFC9; }
.passenger-details-title, .mc-leg-label { color: #80600E; }
.pax-label { color: #70695D; }
.passenger-details input { color: #302D26; background: #FFF; border-color: #DED5C1; }
.passenger-details input:focus { border-color: #BA901E; }
.section-header h2 { color: #77570F; }
.dashboard-header [style*="color: var(--gold)"], .dashboard-container h2 { color: #77570F !important; }
.logout-link { color: #F7F4EB !important; }
.booking-actions .btn-sm { font-weight: 600; }
.quote-total-label, .receipt-amount-label, .receipt-label, .booking-meta { color: #625B4F; }
.flight-tools-kicker, .flight-indicative-note, .fare-calendar-header p, .flight-results-header p { font-weight: 600; }
#fareCalendarHint, #cheapestDateNote, #flightResultsHint { color: #625B4F !important; text-shadow: none !important; }

.hero { background-image: linear-gradient(115deg, rgba(23,34,49,.54), rgba(36,43,51,.28)), url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80'); }
.hero h1 { background: linear-gradient(135deg, #FFF4C8, #E9C95C); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 8px rgba(0,0,0,.42)); }
.hero p { color: rgba(255,255,255,.94); text-shadow: 0 1px 4px rgba(0,0,0,.45); }
.booking-widget { background: linear-gradient(135deg, rgba(255,253,247,.76), rgba(255,249,233,.61)); color: #302D26; border: 1px solid var(--travel-card-border); border-radius: var(--travel-card-radius); -webkit-backdrop-filter: blur(5px) saturate(125%); backdrop-filter: blur(5px) saturate(125%); box-shadow: 0 20px 55px rgba(15,22,29,.28); }
.booking-form > .form-row:first-child { position: relative; display: grid; grid-template-columns: 1fr; gap: .55rem; }
.booking-form > .form-row:first-child .form-group { min-width: 0; }
.booking-form > .form-row:first-child .airport-wrap input { height: 64px; padding: 1.35rem 3.25rem .55rem 2.75rem !important; border-radius: 10px; }
.booking-form > .form-row:first-child .input-label { top: .48rem; left: 2.75rem; transform: none; z-index: 2; color: #756C59; font-size: .64rem; font-weight: 700; letter-spacing: .02em; }
.booking-form > .form-row:first-child .airport-input-icon { left: .9rem; color: #8E6A12; }
.route-swap-button { position: absolute; z-index: 4; top: 15px; right: .55rem; width: 34px; height: 34px; border: 1px solid #E2D6B9; border-radius: 9px; color: #71550F; background: #FFFDF7; box-shadow: 0 2px 7px rgba(49,41,23,.08); }
.route-swap-button:hover { border-color: #B98D1B; background: #FFF7DF; }
.booking-form > .form-row.three-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.booking-passenger-count { display: none; }
.oneway-placeholder { display: none; }
.trip-type-selector { gap: .5rem; border: 0; padding-bottom: 0; margin-bottom: .75rem; }
.trip-type-option { padding: .45rem .7rem; border: 1px solid #E6DDC9; border-radius: 999px; background: rgba(255,255,255,.72); }
.trip-type-option:has(input:checked) { color: #674D0D; background: #FFF4D2; border-color: #CBAA4D; }
.trip-type-option input[type="radio"] { width: 15px; height: 15px; }
.flight-tools-heading h3 { color: #29261F; }
.flight-tool-actions { display: grid; grid-template-columns: 1fr; }
.flight-action-primary { min-height: 48px; border-radius: 10px; font-size: .9rem; }
.selected-flight-review { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; padding: .9rem; border: 1px solid #D8C57F; border-radius: 12px; background: linear-gradient(135deg, #FFF9E7, #FFFDF8); }
.selected-flight-review[hidden] { display: none !important; }
.selected-flight-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; color: #315E3D; background: #E5F3E8; }
.selected-flight-copy { min-width: 0; flex: 1; }
.selected-flight-copy h4 { color: #302D26; font: 700 .95rem 'Playfair Display', serif; }
.selected-flight-copy p { margin: .15rem 0; color: #403B31; font-size: .78rem; font-weight: 600; }
.selected-flight-copy small { display: block; color: #6F685A; font-size: .67rem; line-height: 1.45; }
.selected-flight-review button { flex: 0 0 auto; }
.flight-tools { border-color: var(--travel-card-border); border-radius: var(--travel-card-radius); box-shadow: 0 12px 28px rgba(53,44,25,.08); }
.booking-title { color: #29261F; }
.trip-type-selector { border-bottom-color: #EAE1CD; }
.form-group input, .form-group select, .static-field {
    color: #302D26; background-color: #FFFFFF; border-color: #DED5C1;
    box-shadow: 0 2px 6px rgba(49,41,23,.04);
}
.form-group input::placeholder { color: #958E80; }
.form-group input:focus, .form-group select:focus { background: #FFFFFF; border-color: #BA901E; box-shadow: 0 0 0 3px rgba(185,141,27,.14); }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2396700E' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E"); }
.input-label { color: #766F61; }
.form-group input:focus ~ .input-label, .form-group input:not(:placeholder-shown) ~ .input-label, .form-group select:focus ~ .input-label, .form-group select:valid ~ .input-label { color: #886810; }
.static-field { color: #655D4F; }
.date-input-wrap .date-icon, .airport-input-icon { color: #9A781B; }
.date-input-wrap input[type="date"] { color: #302D26; background: #FFF; border-color: #DED5C1; color-scheme: light; }
.date-input-wrap.has-value input[type="date"] { color: #302D26; }
.date-input-wrap.has-value input[type="date"]::-webkit-datetime-edit-text { color: #987513; -webkit-text-fill-color: #987513; }
.date-input-wrap.has-value input[type="date"]::-webkit-datetime-edit-month-field,
.date-input-wrap.has-value input[type="date"]::-webkit-datetime-edit-day-field,
.date-input-wrap.has-value input[type="date"]::-webkit-datetime-edit-year-field { color: #302D26; -webkit-text-fill-color: #302D26; }
.date-placeholder { color: #958E80; }
.airport-dropdown { background: rgba(255,255,255,.99); border-color: #DCCB9D; box-shadow: 0 12px 30px rgba(43,35,19,.18); }
.airport-option { border-bottom-color: #F0EBDD; }
.airport-option:hover, .airport-option.focused { background: #FFF7E2; }
.airport-popular-label { color: #89690F; }
.airport-name { color: #302D26; }
.airport-city, .airport-no-results { color: #756F63; }
.btn-outline { color: #514A3D; background: #FFF; }
.btn-outline:hover { color: #72550B; background: #FFF9E9; }

.features { background: #F8F6F0; }
#wallet { background: #F0EDE4 !important; border-top-color: #E4D9BD !important; }
.section-header h2, .footer-section h4 { color: #8D6B13; }
.section-header p { color: #6D675B; }
.feature-card { color: #302D26; background: #FFFFFF; border-color: #E8E0CE; box-shadow: 0 5px 18px rgba(53,44,25,.055); }
.feature-card:hover { border-color: #D8BF72; box-shadow: 0 12px 28px rgba(53,44,25,.1); }
.feature-card h3 { color: #302D26; }
.feature-card p { color: #70695D; }
.feature-icon { background: #F3E4AE; color: #74570E; }

.dashboard-section { background: #F1EEE6; }
.dashboard-container { color: #302D26; background: #FFF; border-color: #E7DEC9; box-shadow: 0 12px 34px rgba(47,39,20,.07); }
.dashboard-header { background: #FFF9E8; border-bottom-color: #E9DFC5; }
.stats-grid { background: #FFF; }
.stat-card { background: #FAF8F2; border: 1px solid #EEE7D8; }
.stat-card div:first-child { color: #70695D; }
.stat-value { color: #8B6914; }
.skeleton { background: linear-gradient(90deg, #F1EEE6 25%, #E6E0D2 50%, #F1EEE6 75%); background-size: 200% 100%; }
.skeleton-booking { border-color: #EAE2D1; }
.empty-state, .dashboard-loading { color: #777063; }
.empty-state i { color: #C6A54B; }
.bookings-list { background: #FFF; }
.booking-item { color: #38342C; background: #FFF; border-color: #E8E0CE; box-shadow: 0 3px 12px rgba(47,39,20,.045); }
.booking-item:hover { border-color: #CEAE50; box-shadow: 0 8px 22px rgba(47,39,20,.09); }
.booking-ref, .quote-price { color: #80600E; }
.status-pending { color: #8C5800; background: #FFF3D5; }
.status-confirmed { color: #207443; background: #E8F6ED; }
.status-cancelled { color: #A23E32; background: #FCEDEA; }
.status-completed { color: #21618C; background: #EAF4FB; }
.status-quote { color: #77590A; background: #FFF5D7; }
.status-awaiting { color: #68408A; background: #F4ECFA; }
.booking-item.quote-card { background: linear-gradient(145deg, #FFF9E7, #FFFFFF 70%); border-color: #D7BD68; box-shadow: 0 8px 24px rgba(140,105,20,.1); }
.quote-total { background: #FFF8E4; border-color: #EBDDAD; }
.quote-total-label, .quote-wallet-hint { color: #746D60; }
.quote-wallet-ok { color: #226E43; background: #EDF8F0; }
.quote-wallet-short { color: #885700; background: #FFF5E2; }
.quote-wallet-hint a { color: #785A10; }
.quote-notice { background: #FFF8E5; border-color: #E3D092; }
.quote-notice-text { color: #76590E; }
.quote-notice-sub { color: #756E62; }
.booking-item.receipt-card { background: linear-gradient(145deg, #F1FAF3, #FFFFFF 72%); border-color: #A8D2B2; }
.receipt-kicker, .receipt-price { color: #247345; }
.receipt-amount { background: #F0F8F1; border-color: #C9E2CE; }
.receipt-amount-label, .receipt-label { color: #746D60; }
.receipt-value, .receipt-leg, .receipt-pax { color: #403C34; }
.btn-view { color: #75590F; background: #FFF8E4; border-color: #E0CF9B; }
.btn-accept { color: #226E43; background: #EDF8F0; }
.btn-decline, .btn-cancel { color: #A23E32; background: #FCEDEA; }
.btn-print { color: #226E43; background: #EDF8F0; }

.modal-overlay { background: rgba(34,31,25,.48); }
#bookingModal > div { color: #302D26 !important; background: #FFFDF8 !important; border-color: #E4D5AA !important; box-shadow: 0 22px 60px rgba(31,27,17,.22); }
#bookingModal > div h2 { color: #80600E !important; }
#bookingModal > div p { color: #6E675A !important; }
#bookingModal > div > div:nth-of-type(2) { background: #FFF8E5 !important; border-color: #E3D092 !important; }
#bookingModal > div > div:nth-of-type(2) > div:first-child { color: #746D60 !important; }
#bookingModal > div > div:nth-of-type(2) > div:last-child { color: #80600E !important; }
#bookingModal > div button:first-child { color: #75590F !important; background: #FFF8E4 !important; border-color: #E0CF9B !important; }
.detail-modal { color: #302D26; background: #FFFDF8; border-color: #E4D5AA; box-shadow: 0 22px 60px rgba(31,27,17,.22); }
.detail-modal-header { border-bottom-color: #EEE5D1; }
.detail-modal-header h3 { color: #80600E; }
.detail-close { color: #777063; }
.detail-close:hover { color: #302D26; }
.detail-row { border-bottom-color: #EEE8DC; }
.detail-label { color: #756E62; }
.detail-value { color: #302D26; }
.cancel-confirm { background: #FFF1EC; }
.cancel-confirm p { color: #5C4039; }
.user-bar { color: #514A3D; background: #FFF9E8; border-bottom-color: #E8DEC3; }
.user-bar strong { color: #80600E; }
footer { color: #403C34; background: #FFFDF8; border-top-color: #E8DFC9; }
.footer-section a { color: #625B4F; }
.footer-section a:hover { color: #80600E; }
.toast { color: #38342C; background: #FFF; box-shadow: 0 8px 24px rgba(37,31,17,.16); }
.toast-progress { background: rgba(73,62,36,.25); }
.scroll-top { background: #D8B43E; }

/* Shared brighter account pages: sign-in, sign-up and profile. */
.nav-back, .back-link-desktop { color: #70695D; }
.nav-back:hover, .back-link-desktop:hover { color: #80600E; }
.bg-canvas::before { background: radial-gradient(circle, rgba(210,177,83,.18) 0%, transparent 70%); }
.auth-card { background: #FFFDF8; border-color: #E8DFC9; box-shadow: 0 28px 70px rgba(47,39,20,.16); }
.tab-bar { border-bottom-color: #E8DFC9; }
.tab-btn { color: #70695D; }
.tab-btn.active { color: #80600E; }
.form-heading, .profile-info h1, .card-title, .pref-info strong, .fav-route-text strong { color: #302D26; }
.form-subheading, .form-group label, .terms, .profile-info p { color: #70695D; }
.input-wrap input, .form-group input, .form-group select, .form-group textarea {
    color: #302D26;
    background: #FFFFFF;
    border-color: #DED5C1;
}
.input-wrap input:focus, .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    background: #FFFFFF;
    border-color: #BA901E;
    box-shadow: 0 0 0 3px rgba(185,141,27,.12);
}
.input-wrap input::placeholder { color: #958E80; }
.tab-nav { border-bottom-color: #E8DFC9; }
.tab-btn.active { color: #80600E; }
.card { background: #FFFFFF; border-color: #E8DFC9; box-shadow: 0 6px 20px rgba(47,39,20,.05); }
.booking-item, .fav-route { color: #38342C; background: #FAF8F2; border-color: #E8E0CE; }
.booking-route strong { color: #302D26; }
.booking-meta, .tx-date, .wallet-label, .pref-info span { color: #70695D; }
.status-pending { color: #8C5800; background: #FFF3D5; }
.status-confirmed { color: #207443; background: #E8F6ED; }
.status-quote { color: #77590A; background: #FFF5D7; }
.status-cancelled { color: #A23E32; background: #FCEDEA; }
.status-completed { color: #21618C; background: #EAF4FB; }
.profile-badge { color: #77590A; background: #FFF8E4; border-color: #E0CF9B; }
.avatar { background: #F3EEDC; }
.avatar-edit { border-color: #FFFDF8; }
.fav-route-icon { color: #80600E; background: #FFF5D7; }
.wallet-balance { background: linear-gradient(135deg, #FFF8E4, #FFFCF5); border-color: #E3D092; }
.wallet-amount { color: #80600E; }
.transaction-item, .pref-row { border-bottom-color: #EEE8DC; }
.tx-label { color: #302D26; }
.toggle-slider { background: #D8D2C4; }
.strength-seg { background: #E8E2D5; }
.loading-spinner, .empty-state { color: #70695D; }
.empty-state i { color: #C6A54B; }
.toast { color: #38342C; background: #FFFFFF; box-shadow: 0 8px 24px rgba(37,31,17,.16); }
.auth-card .divider { color: #70695D; }
.auth-card .divider::before, .auth-card .divider::after { background: #E8DFC9; }
.logo-img { width: 42px; height: 42px; max-width: 42px; }
.logo::after { content: "WeTravel Solutions"; color: #F3E4AE; font: 700 1rem/1.1 'Playfair Display', serif; white-space: nowrap; }

@media (max-width: 767px) {
    .hero { background-image: linear-gradient(135deg, rgba(20,31,46,.72), rgba(20,31,46,.52)), url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80'); }
    .booking-widget { background: linear-gradient(135deg, rgba(255,253,247,.88), rgba(255,249,233,.78)); -webkit-backdrop-filter: blur(7px) saturate(125%); backdrop-filter: blur(7px) saturate(125%); }
    .booking-widget, .flight-tools { border-radius: 14px; }
    .booking-form > .form-row.three-col { grid-template-columns: 1fr; }
    .selected-flight-review { align-items: flex-start; flex-wrap: wrap; }
    .selected-flight-review button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
