.fc-glass {
    background: rgba(18, 26, 43, 0.72);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.fc-glass-light {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.fc-autocomplete-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 4px;
    z-index: 9999;
    max-height: 240px;
    overflow-y: auto;
    border-radius: 0.75rem;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}
.fc-autocomplete-list li {
    padding: 0.65rem 0.85rem;
    font-size: 0.875rem;
    cursor: pointer;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
}
.fc-autocomplete-list li:last-child {
    border-bottom: none;
}
.fc-autocomplete-list li:hover,
.fc-autocomplete-list li[aria-selected="true"] {
    background: #e0f2fe;
    color: #0c4a6e;
}
.fc-autocomplete-wrap {
    position: relative;
}
.fc-autocomplete-wrap.fc-autocomplete-open {
    z-index: 70;
}
/* From/To dropdowns are position:absolute; parent overflow (hero section) used to clip them on mobile. */
#fc-search-panel {
    overflow: visible;
    position: relative;
    z-index: 2;
    background: linear-gradient(165deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.99) 55%, rgba(226, 232, 240, 0.95) 100%);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow:
        0 18px 48px rgba(15, 23, 42, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}
.fc-trip-tab-label {
    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}
.fc-route-stack .fc-route-swap-btn#fc-swap {
    line-height: 1;
}
#fc-search-panel label,
#fc-search-panel .fc-form-lbl {
    color: #475569 !important;
}
#fc-search-panel .fc-form-lbl svg.text-brand {
    color: #0284c7 !important;
}
#fc-search-panel input[type='text'],
#fc-search-panel select {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}
#fc-search-panel input[type='text']::placeholder {
    color: #94a3b8 !important;
}
#fc-search-panel input[type='text']:focus,
#fc-search-panel select:focus {
    outline: none;
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.28);
}
#fc-search-panel .fc-input-wrap > svg.fc-inp-ico {
    color: #64748b !important;
}
#fc-search-panel .fc-input-wrap:focus-within > svg.fc-inp-ico {
    color: #0284c7 !important;
}
/* Trip type pills — light track */
#fc-search-panel .fc-trip-pills {
    background: rgba(241, 245, 249, 0.98) !important;
    border: 1px solid #e2e8f0;
}
/* Inactive pill label — do not use !important here or it beats peer-checked text */
#fc-search-panel .fc-trip-pills label span {
    color: #64748b;
}
#fc-search-panel .fc-trip-pills label input.fc-trip-radio:checked + span {
    background-color: #1891ed !important;
    color: #ffffff !important;
}
#fc-search-panel .fc-search-kicker {
    color: #64748b !important;
}
#fc-search-panel #fc-swap {
    color: #0284c7 !important;
}
#fc-search-panel #fc-swap:hover {
    color: #0f172a !important;
}
#fc-search-panel .fc-panel-secondary-btn {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}
#fc-search-panel .fc-panel-secondary-btn:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
}
#fc-search-panel #fc-advance-fields label.flex.cursor-pointer {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}
.fc-wa-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}
.fc-support-card {
    background: linear-gradient(145deg, rgba(24, 145, 237, 0.12) 0%, rgba(18, 26, 43, 0.9) 45%, rgba(10, 15, 26, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.fc-fab-pulse {
    box-shadow: 0 8px 32px rgba(24, 145, 237, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.fc-fab-wa {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.fc-mobile-actions {
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
}
#fc-nav-toggle[aria-expanded="true"] .fc-nav-bars-lines {
    opacity: 0;
    transform: scale(0.85);
}
#fc-nav-toggle[aria-expanded="true"] .fc-nav-close {
    opacity: 1;
    transform: rotate(0);
}
#fc-nav-toggle .fc-nav-close {
    opacity: 0;
    transform: rotate(-90deg);
}
#fc-nav-toggle .fc-nav-bars-lines,
#fc-nav-toggle .fc-nav-close {
    transition: opacity 0.2s ease, transform 0.2s ease;
}
#fc-loader-ring {
    transition: stroke-dashoffset 0.08s linear;
}
@media (prefers-reduced-motion: reduce) {
    #fc-loader-ring {
        transition: none;
    }
}

/* Flight search overlay: plane stays centred; subtle pulse (avoids off-axis drift) */
@keyframes fc-loading-plane-shuttle {
    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.88;
    }
    50% {
        transform: scale(1.04);
        opacity: 1;
    }
}
.fc-loading-plane-shuttle {
    transform-origin: center center;
    will-change: transform, opacity;
    animation: fc-loading-plane-shuttle 2.15s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
    .fc-loading-plane-shuttle {
        animation: none;
        transform: none;
        opacity: 1;
    }
}
body.fc-nav-open .fc-site-header {
    z-index: 100;
}
body.fc-nav-open #fc-nav-backdrop {
    z-index: 65;
}
body.fc-nav-open .fc-mobile-actions {
    z-index: 35;
    pointer-events: none;
    opacity: 0.35;
}
#fc-hero-slides {
    position: absolute;
    inset: 0;
}
.fc-hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.fc-hero-slide.fc-hero-slide--active {
    z-index: 1;
    opacity: 1;
}
.fc-hero-dot.fc-hero-dot--on {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 2px rgba(24, 145, 237, 0.6);
}
.fc-form-lbl {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.fc-form-lbl svg {
    flex-shrink: 0;
}
.fc-input-wrap {
    position: relative;
}
.fc-input-wrap > svg.fc-inp-ico {
    position: absolute;
    left: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(255, 255, 255, 0.9);
}
.fc-input-wrap:focus-within > svg.fc-inp-ico {
    color: #ffffff;
}
.fc-input-pad {
    padding-left: 2.35rem;
}
#tawkchat-minimized-container,
#tawkchat-minimized,
#tawkchat-minimized-button,
iframe#tawkchat-minimized-iframe,
.tawk-min-container .tawk-button,
.tawk-min-container .tawk-button-circle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* Sits behind the visible text field; desktop: showPicker() from JS; typing hits the text layer. */
.fc-date-native {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 2.5rem;
    margin: 0;
    padding: 0;
    border: 0;
    cursor: pointer;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
}

/*
 * Mobile/tablet: WebKit (Safari iOS) requires a real tap on <input type="date"> — programmatic
 * showPicker()/click() from the text field often fails. Stack the native picker above the text
 * field and let touches hit it directly; value still mirrors into the visible DD-MM-YYYY field via JS.
 */
@media (max-width: 1023px) {
    #fc-dates .fc-date-native {
        z-index: 25;
        pointer-events: auto;
    }
    #fc-dates .fc-input-wrap input.fc-input-pad#fc-start,
    #fc-dates .fc-input-wrap input.fc-input-pad#fc-end,
    #fc-dates .fc-input-wrap input#fc-start,
    #fc-dates .fc-input-wrap input#fc-end {
        pointer-events: none;
    }
}

/* -------------------------------------------------------------------------- */
/* Flight search landing: mobile results + search form (fixed bottom bar, etc.) */
/* -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
    #fc-results-section {
        scroll-margin-top: 7.5rem;
        padding-bottom: max(5.75rem, calc(env(safe-area-inset-bottom, 0px) + 4.5rem));
    }
    #search.fc-landing-search {
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
    }
    .fc-landing-results-head {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .fc-landing-results-head .fc-landing-call-btn {
        width: 100%;
        justify-content: center;
        min-height: 2.75rem;
        touch-action: manipulation;
    }
    #fc-results-section #fc-results-sub {
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    #fc-results-section .fc-support-card {
        position: static;
        top: auto;
    }
}
@media (min-width: 1024px) {
    #fc-results-section {
        scroll-margin-top: 6rem;
    }
}
