/**
 * assets/css/flight-search-results.css
 * Premium Flight Search Results Page Styling - Enjoy Holiday Hub
 * Inspired by MakeMyTrip, EaseMyTrip & Goibibo
 * Brand Colors: Primary Red #EF2929, Navy #14213D, Background #F3F6FA
 */

:root {
    --ehh-primary: #EF2929;
    --ehh-primary-hover: #d92222;
    --ehh-navy: #14213D;
    --ehh-navy-light: #1f3158;
    --ehh-bg: #F3F6FA;
    --ehh-white: #FFFFFF;
    --ehh-text: #17243B;
    --ehh-text-muted: #64748B;
    --ehh-border: #E2E8F0;
    --ehh-green: #10B981;
    --ehh-orange: #F59E0B;
    --ehh-blue: #2563EB;
    --ehh-shadow-sm: 0 2px 8px rgba(20, 33, 61, 0.04);
    --ehh-shadow: 0 8px 24px rgba(20, 33, 61, 0.08);
    --ehh-shadow-lg: 0 16px 36px rgba(20, 33, 61, 0.12);
}

body.ehh-flight-results-page {
    background-color: var(--ehh-bg);
    color: var(--ehh-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
}

/* ==========================================================================
   1. HORIZONTAL SEARCH BAR (Compact & Sticky below Header)
   ========================================================================== */
.ehh-search-hero {
    background: linear-gradient(180deg, var(--ehh-navy) 0%, #1a2a4f 100%);
    padding: 24px 0 32px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ehh-trip-pills {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.ehh-trip-pill {
    padding: 6px 18px;
    border-radius: 24px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ehh-trip-pill.active {
    background: var(--ehh-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(239, 41, 41, 0.4);
}

.ehh-search-box-wrap {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    display: grid;
    grid-template-columns: 2.2fr auto 2.2fr 1.6fr 1.6fr 2fr 1.6fr;
    gap: 8px;
    align-items: center;
    position: relative;
}

.ehh-search-field {
    padding: 8px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.ehh-search-field:hover, .ehh-search-field:focus-within {
    background: #fff;
    border-color: var(--ehh-primary);
    box-shadow: 0 0 0 3px rgba(239, 41, 41, 0.1);
}

.ehh-field-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ehh-text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ehh-field-input {
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    color: var(--ehh-navy);
    width: 100%;
    outline: none;
    padding: 0;
}

.ehh-field-sub {
    font-size: 12px;
    color: var(--ehh-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.ehh-swap-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--ehh-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    z-index: 5;
}

.ehh-swap-btn:hover {
    transform: rotate(180deg);
    background: var(--ehh-primary);
    color: #fff;
    border-color: var(--ehh-primary);
}

.ehh-search-submit-btn {
    background: linear-gradient(135deg, var(--ehh-primary) 0%, #d81b1b 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 16px rgba(239, 41, 41, 0.35);
    transition: all 0.25s ease;
    height: 100%;
    min-height: 52px;
}

.ehh-search-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(239, 41, 41, 0.45);
    color: #ffffff;
}

/* ==========================================================================
   2. PROMO CODE & OFFERS STRIP
   ========================================================================== */
.ehh-offers-strip {
    margin: 24px 0 16px;
}

.ehh-offer-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.2s ease;
}

.ehh-offer-card:hover {
    border-color: var(--ehh-primary);
    box-shadow: var(--ehh-shadow-sm);
}

.ehh-offer-badge {
    background: rgba(239, 41, 41, 0.1);
    color: var(--ehh-primary);
    font-weight: 800;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(239, 41, 41, 0.2);
}

.ehh-copy-btn {
    font-size: 12px;
    font-weight: 600;
    color: var(--ehh-primary);
    background: transparent;
    border: 1px solid var(--ehh-primary);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ehh-copy-btn:hover {
    background: var(--ehh-primary);
    color: #ffffff;
}

/* ==========================================================================
   3. FARE CALENDAR STRIP
   ========================================================================== */
.ehh-calendar-strip {
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: var(--ehh-shadow-sm);
    border: 1px solid var(--ehh-border);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.ehh-cal-day {
    flex: 1;
    min-width: 120px;
    padding: 8px 12px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--ehh-text);
}

.ehh-cal-day:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.ehh-cal-day.active {
    background: rgba(239, 41, 41, 0.08);
    border-color: var(--ehh-primary);
}

.ehh-cal-day.active .cal-date {
    color: var(--ehh-primary);
    font-weight: 700;
}

.cal-date {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.cal-fare {
    font-size: 13px;
    font-weight: 800;
    color: var(--ehh-green);
}

/* ==========================================================================
   4. FILTER SIDEBAR (Left Column)
   ========================================================================== */
/* Rock-Solid Sticky Left Filter Sidebar */
html, body.ehh-flight-results-page {
    overflow-x: clip !important;
    overflow-y: visible !important;
    height: auto !important;
}

.ehh-filter-col {
    position: static !important;
    align-self: stretch !important;
    height: auto !important;
}

@media (min-width: 768px) {
    .ehh-filter-col {
        display: block !important;
    }
}

.ehh-filter-sidebar {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--ehh-border);
    box-shadow: var(--ehh-shadow-sm);
    padding: 20px;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 90px !important;
    max-height: calc(100vh - 110px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    z-index: 100;
}

body.has-rt-sticky-bar .ehh-filter-sidebar {
    max-height: calc(100vh - 195px) !important;
}

.ehh-filter-sidebar::-webkit-scrollbar {
    width: 5px;
}
.ehh-filter-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.ehh-filter-sidebar::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}
.ehh-filter-sidebar::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

.ehh-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ehh-border);
    margin-bottom: 18px;
}

.ehh-filter-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--ehh-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ehh-reset-all-btn {
    font-size: 12px;
    font-weight: 700;
    color: var(--ehh-primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.ehh-reset-all-btn:hover {
    text-decoration: underline;
}

.ehh-filter-group {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.ehh-filter-group-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--ehh-navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Time Grid Pills (Early morning, morning, afternoon, evening) */
.ehh-time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ehh-time-box {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 10px;
    text-align: center;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.ehh-time-box:hover {
    border-color: var(--ehh-primary);
    background: #fff;
}

.ehh-time-box.active {
    border-color: var(--ehh-primary);
    background: rgba(239, 41, 41, 0.08);
}

.ehh-time-box i {
    font-size: 16px;
    color: var(--ehh-text-muted);
    margin-bottom: 4px;
    display: block;
}

.ehh-time-box.active i {
    color: var(--ehh-primary);
}

.ehh-time-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--ehh-navy);
    line-height: 1.2;
}

.ehh-time-range {
    font-size: 10px;
    color: var(--ehh-text-muted);
}

/* Airline Filter Checkbox Items */
.ehh-airline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    cursor: pointer;
    font-size: 13px;
}

.ehh-airline-label-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ehh-airline-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
}

/* Price Range Slider */
.ehh-range-values {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: var(--ehh-navy);
    margin-top: 6px;
}

/* ==========================================================================
   5. RESULTS TOP SUMMARY & SORTING (Right Column)
   ========================================================================== */
.ehh-results-header-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 20px;
    border: 1px solid var(--ehh-border);
    box-shadow: var(--ehh-shadow-sm);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.ehh-route-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--ehh-navy);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ehh-route-meta {
    font-size: 13px;
    color: var(--ehh-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ehh-count-badge {
    background: rgba(16, 185, 129, 0.1);
    color: var(--ehh-green);
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* Sorting Navigation Tabs */
.ehh-sort-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
    overflow-x: auto;
}

.ehh-sort-tab {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ehh-text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ehh-sort-tab:hover {
    color: var(--ehh-navy);
}

.ehh-sort-tab.active {
    background: #ffffff;
    color: var(--ehh-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   6. PREMIUM FLIGHT RESULT CARDS
   ========================================================================== */
.ehh-flight-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--ehh-border);
    box-shadow: var(--ehh-shadow-sm);
    margin-bottom: 16px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ehh-flight-card:hover {
    border-color: #cbd5e1;
    box-shadow: var(--ehh-shadow);
    transform: translateY(-2px);
}

.ehh-card-top-strip {
    background: #fafcff;
    border-bottom: 1px solid #f1f5f9;
    padding: 8px 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ehh-fare-badge {
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
}

.ehh-badge-refundable {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.ehh-badge-nonrefundable {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}

.ehh-seats-alert {
    color: var(--ehh-primary);
    font-weight: 700;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ehh-card-body {
    padding: 20px;
    display: grid;
    grid-template-columns: 2.2fr 4.2fr 2.6fr;
    gap: 16px;
    align-items: center;
}

/* Left: Airline Branding */
.ehh-airline-block {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ehh-airline-logo-box {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--ehh-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.ehh-airline-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ehh-airline-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--ehh-navy);
    line-height: 1.2;
    margin-bottom: 2px;
}

.ehh-flight-number {
    font-size: 12px;
    color: var(--ehh-text-muted);
    font-weight: 600;
}

/* Middle: Flight Timeline */
.ehh-timeline-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.ehh-time-col {
    text-align: center;
    min-width: 80px;
}

.ehh-time-large {
    font-size: 24px;
    font-weight: 800;
    color: var(--ehh-navy);
    line-height: 1.1;
}

.ehh-city-code {
    font-size: 14px;
    font-weight: 700;
    color: var(--ehh-text);
}

.ehh-terminal-text {
    font-size: 11px;
    color: var(--ehh-text-muted);
}

.ehh-duration-col {
    flex: 1;
    padding: 0 20px;
    position: relative;
}

.ehh-duration-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--ehh-text-muted);
    margin-bottom: 6px;
}

.ehh-flight-line {
    position: relative;
    height: 2px;
    background: #cbd5e1;
    width: 100%;
    margin: 8px 0;
}

.ehh-flight-line::before, .ehh-flight-line::after {
    content: '';
    position: absolute;
    top: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #94a3b8;
}

.ehh-flight-line::before { left: 0; }
.ehh-flight-line::after { right: 0; }

.ehh-flight-plane-icon {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: var(--ehh-primary);
    padding: 0 4px;
    font-size: 12px;
}

.ehh-stops-badge {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    display: inline-block;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 12px;
}

.ehh-layover-info {
    font-size: 11px;
    color: var(--ehh-orange);
    font-weight: 600;
    margin-top: 2px;
}

/* Right: Pricing & CTA */
.ehh-pricing-block {
    text-align: right;
    border-left: 1px solid #f1f5f9;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ehh-price-wrap {
    width: 100%;
    margin-bottom: 8px;
}

.ehh-price-large {
    font-size: 26px;
    font-weight: 900;
    color: var(--ehh-navy);
    line-height: 1.1;
    margin-bottom: 2px;
}

.ehh-price-sub {
    font-size: 11px;
    color: var(--ehh-text-muted);
    margin-bottom: 0;
}

.ehh-actions-wrap {
    width: 100%;
}

.ehh-book-cta {
    background: linear-gradient(135deg, var(--ehh-primary) 0%, #d81b1b 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 10px 22px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(239, 41, 41, 0.3);
}

.ehh-book-cta:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(239, 41, 41, 0.45);
}

.ehh-view-details-btn {
    background: none;
    border: none;
    color: var(--ehh-navy);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ehh-view-details-btn:hover {
    color: var(--ehh-primary);
}

/* ==========================================================================
   7. FLIGHT DETAILS EXPANDED ACCORDION PANEL
   ========================================================================== */
.ehh-details-panel {
    background: #f8fafc;
    border-top: 1px solid var(--ehh-border);
    padding: 20px;
    display: none;
    animation: fadeIn 0.25s ease;
}

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

.ehh-details-tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 18px;
    gap: 8px;
}

.ehh-tab-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ehh-text-muted);
    border: none;
    background: transparent;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
}

.ehh-tab-btn.active {
    color: var(--ehh-primary);
    border-bottom-color: var(--ehh-primary);
}

/* Timeline itinerary step */
.ehh-itinerary-step {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.ehh-layover-divider {
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
    border: 1px dashed rgba(245, 158, 11, 0.4);
    border-radius: 8px;
    padding: 8px 14px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    margin: 10px 0;
}

/* Multiple Fare Family Cards */
.ehh-fares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.ehh-fare-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
}

.ehh-fare-card.featured {
    border-color: var(--ehh-primary);
    box-shadow: 0 4px 14px rgba(239, 41, 41, 0.1);
}

.ehh-fare-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--ehh-navy);
    margin-bottom: 6px;
}

.ehh-fare-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--ehh-navy);
    margin-bottom: 10px;
}

.ehh-fare-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
    font-size: 12px;
    color: var(--ehh-text);
}

.ehh-fare-benefit-list li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ehh-fare-benefit-list li i {
    color: var(--ehh-green);
}

/* ==========================================================================
   8. NO FLIGHTS FOUND & ERROR STATES
   ========================================================================== */
.ehh-no-flights-box {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--ehh-border);
    padding: 48px 24px;
    text-align: center;
    box-shadow: var(--ehh-shadow-sm);
    margin: 20px 0;
}

.ehh-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--ehh-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
}

.ehh-empty-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--ehh-navy);
    margin-bottom: 8px;
}

.ehh-empty-subtitle {
    font-size: 14px;
    color: var(--ehh-text-muted);
    max-width: 480px;
    margin: 0 auto 24px;
}

/* ==========================================================================
   9. BELOW RESULTS - TRAVEL DISCOVERY & TRUST SECTIONS
   ========================================================================== */
.ehh-discovery-section {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--ehh-border);
}

.ehh-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin: 24px 0 36px;
}

.ehh-trust-box {
    background: #ffffff;
    border: 1px solid var(--ehh-border);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ehh-trust-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(239, 41, 41, 0.1);
    color: var(--ehh-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ehh-faq-accordion .accordion-item {
    border: 1px solid var(--ehh-border);
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.ehh-faq-accordion .accordion-button {
    font-weight: 700;
    color: var(--ehh-navy);
    background: #ffffff;
    box-shadow: none;
    padding: 16px 20px;
}

.ehh-faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(239, 41, 41, 0.04);
    color: var(--ehh-primary);
}

/* ==========================================================================
   10. MOBILE RESPONSIVENESS (360px - 991px)
   ========================================================================== */
@media (max-width: 1199px) {
    .ehh-search-box-wrap {
        grid-template-columns: 1fr 1fr;
    }
    .ehh-swap-btn {
        display: none;
    }
}

@media (max-width: 767px) {
    .ehh-filter-sidebar {
        display: none; /* Controlled by mobile offcanvas on mobile devices */
    }
}

@media (max-width: 991px) {
    .ehh-card-body {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: left;
    }
    .ehh-timeline-block {
        justify-content: space-between;
    }
    .ehh-pricing-block {
        text-align: left;
        border-left: none;
        border-top: 1px solid #f1f5f9;
        padding-left: 0;
        padding-top: 16px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }
    .ehh-price-wrap {
        width: auto;
        margin-bottom: 0;
    }
    .ehh-actions-wrap {
        width: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }
    .ehh-actions-wrap .btn,
    .ehh-actions-wrap .ehh-book-cta {
        width: auto !important;
        margin-top: 0 !important;
    }
    .ehh-price-large {
        font-size: 22px;
    }
    .ehh-book-cta {
        width: auto;
        min-width: 140px;
    }
}

@media (max-width: 576px) {
    .ehh-search-box-wrap {
        grid-template-columns: 1fr;
    }
    .ehh-time-large {
        font-size: 20px;
    }
    .ehh-duration-col {
        padding: 0 10px;
    }
}

/* ==========================================================================
   PREMIUM SEARCH LOADING EXPERIENCE & REALISTIC SKELETON CARDS
   ========================================================================== */

/* Shimmer Animation */
@keyframes ehhShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes ehhAirplaneFly {
    0% { left: 8%; transform: translateY(-50%) rotate(0deg) scale(0.95); }
    48% { transform: translateY(-70%) rotate(-4deg) scale(1.08); }
    52% { transform: translateY(-70%) rotate(4deg) scale(1.08); }
    100% { left: 88%; transform: translateY(-50%) rotate(0deg) scale(0.95); }
}

@keyframes ehhPulseStatus {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(0.98); }
}

.ehh-skeleton-box {
    background: linear-gradient(90deg, #f1f5f9 20%, #e2e8f0 50%, #f1f5f9 80%);
    background-size: 200% 100%;
    animation: ehhShimmer 1.6s infinite ease-in-out;
    border-radius: 6px;
    display: inline-block;
}

.ehh-flight-card-skeleton {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(20, 33, 61, 0.04);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Search Loading Header Card */
.ehh-loading-header-card {
    background: linear-gradient(135deg, #0d2342 0%, #14213d 55%, #1e293b 100%);
    color: #ffffff;
    border-radius: 18px;
    padding: 22px 24px;
    margin-bottom: 16px;
    box-shadow: 0 8px 28px rgba(13, 35, 66, 0.16);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ehh-loading-header-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(239, 41, 41, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.ehh-route-flight-track {
    position: relative;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0 16px;
    padding: 0 10px;
}

.ehh-route-track-line {
    position: absolute;
    top: 50%;
    left: 85px;
    right: 85px;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0, rgba(255, 255, 255, 0.35) 6px, transparent 6px, transparent 12px);
    transform: translateY(-50%);
    z-index: 1;
}

.ehh-route-plane-icon {
    position: absolute;
    top: 50%;
    z-index: 2;
    animation: ehhAirplaneFly 2.8s infinite ease-in-out alternate;
    color: #ff4757;
    filter: drop-shadow(0 0 10px rgba(255, 71, 87, 0.7));
    font-size: 20px;
}

.ehh-route-point {
    position: relative;
    z-index: 2;
    text-align: center;
}

.ehh-route-code {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    line-height: 1;
}

.ehh-route-city {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 3px;
    font-weight: 500;
}

.ehh-search-progress-bar-wrap {
    height: 5px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-top: 14px;
}

.ehh-search-progress-bar {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, #3b82f6, #ef4444);
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.ehh-search-progress-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: ehhShimmer 1.4s infinite;
}

/* Supplier Status Grid */
.ehh-supplier-loading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.ehh-supplier-status-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 2px 6px rgba(20, 33, 61, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: all 0.2s ease;
}

.ehh-supplier-status-card.status-active {
    border-color: #3b82f6;
    box-shadow: 0 3px 12px rgba(59, 130, 246, 0.1);
}

.ehh-supplier-status-card.status-done {
    border-color: #10b981;
    background: #fcfdfd;
}

.ehh-supplier-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ehh-supplier-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.ehh-supplier-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.ehh-supplier-sub {
    font-size: 11px;
    color: #64748b;
    margin-top: 1px;
}

/* Skeleton Flight Path Visual */
.ehh-skeleton-flight-path {
    width: 80px;
    height: 14px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ehh-skeleton-path-line {
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.ehh-skeleton-path-plane {
    font-size: 11px;
    color: #cbd5e1;
    position: relative;
    z-index: 1;
    background: #ffffff;
    padding: 0 3px;
}

/* Accessibility: Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ehh-skeleton-box,
    .ehh-search-progress-bar::after {
        animation: none !important;
        background: #e2e8f0 !important;
    }
    .ehh-route-plane-icon {
        animation: none !important;
        left: 50% !important;
    }
}
