/* ============================================
   VOL V1 - FLIGHT CARDS & SEGMENTS STYLES
   Compact, Light, Modern Design
   ============================================ */

/* CSS Root Variables - Color System */
:root {
    --primary-color: #b7cd3b;
    --secondary-color: #02285c;
    --info-color: #ff8000;

    /* Derived colors for consistency */
    --primary-light: rgba(183, 205, 59, 0.1);
    --primary-medium: rgba(183, 205, 59, 0.5);
    --primary-dark: #9db32f;

    --secondary-light: rgba(2, 40, 92, 0.1);
    --secondary-medium: rgba(2, 40, 92, 0.5);
    --secondary-dark: #011d47;

    --info-light: rgba(255, 128, 0, 0.1);
    --info-medium: rgba(255, 128, 0, 0.5);
    --info-dark: #cc6600;
}

/* Enhanced Buttons */
.btn-enhanced {
    background: var(--primary-color);
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 16px rgba(183, 205, 59, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.6s ease;
}

.btn-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(183, 205, 59, 0.35);
    background: var(--primary-color);
    color: white;
}

.btn-enhanced:hover::before {
    left: 100%;
}

.btn-enhanced:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(183, 205, 59, 0.3);
}

.btn-outline-enhanced {
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 2px 8px rgba(183, 205, 59, 0.08);
    position: relative;
    overflow: hidden;
}

.btn-outline-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-outline-enhanced:hover {
    color: white;
    border-color: #0558c9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(183, 205, 59, 0.25);
}

.btn-outline-enhanced:hover::before {
    width: 100%;
}

.btn-outline-enhanced:active {
    transform: translateY(0);
    box-shadow: 0 3px 12px rgba(183, 205, 59, 0.2);
}

/* Modern Compact Flight Cards */
.flight-card-form {
    background: #ffffff;
    border: 1px solid #e8ecf0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(183, 205, 59, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 12px;
}

.flight-card-form:hover {
    box-shadow: 0 4px 12px rgba(183, 205, 59, 0.08);
    transform: translateY(-2px);
}

/* Compact Flight Card Structure */
.compact-flight-card {
    border-radius: 8px;
    overflow: hidden;
}

.airline-section {
    background: transparent;
    border-right: none;
    position: relative;
    padding: 12px;
}

.airline-section::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: #e8ecf0;
}

.airline-section img {
    height: 40px !important;
    width: 40px !important;
    border: 1px solid #e8ecf0 !important;
    border-radius: 6px !important;
    box-shadow: 0 1px 3px rgba(183, 205, 59, 0.08);
    background: #ffffff;
    padding: 3px;
}

.af-airline-code {
    font-size: 11px !important;
    font-weight: 600;
    color: #495057;
}

.af-cabin-mini {
    font-size: 10px;
    color: #6c757d;
    font-weight: 500;
}

.af-avl-status {
    font-size: 10px !important;
    color: var(--secondary-color);
    font-weight: 700;
    background: rgba(2, 40, 92, 0.08);
    padding: 4px 10px;
    border-radius: 16px;
    border: 1px solid rgba(2, 40, 92, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(2, 40, 92, 0.06);
}

/* Price Action Section */
.price-action-section {
 
    border-left: none;
    min-width: 150px;
    position: relative;
    padding: 20px;
}

.price-action-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: var(--primary-color);
}

/* Compact Time Styling */
.af-time-compact {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
}

.af-time-icon {
    color: var(--primary-color);
    font-size: 14px;
    opacity: 0.9;
}

.af-code-compact {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(183, 205, 59, 0.06);
    padding: 3px 8px;
    border-radius: 6px;
}

.segment-date {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-top: 2px;
}

.af-badge-compact {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(183, 205, 59, 0.08);
}

.af-badge-compact.direct {
    background: var(--primary-color);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.af-badge-compact.stops {
    background: var(--primary-color);
    color: var(--primary-color);
    border: 1px solid rgba(183, 205, 59, 0.2);
}

/* Enhanced Badge */
.badge-enhanced {
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(183, 205, 59, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Flight Segment Mini Cards */
.flight-segment-mini {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e8ecf0 !important;
    background: #ffffff !important;
    padding: 20px !important;
    margin-bottom: 16px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(183, 205, 59, 0.06) !important;
}

.flight-segment-mini:hover {
    box-shadow: 0 4px 16px rgba(183, 205, 59, 0.12) !important;
    transform: translateY(-2px);
    border-color: rgba(183, 205, 59, 0.15) !important;
}

.flight-segment-mini .row {
    --bs-gutter-x: 0.5rem;
}

.airline-logo-tiny {
    object-fit: contain;
    border: none;
}

.flight-path-mini hr {
    margin: 4px 0;
    opacity: 0.5;
    border-color: #6c757d;
}

.layover-mini {
    border-left: 4px solid var(--primary-color);

    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    margin: 12px 0;
}

/* Main Flight Segments */
.af-flight-segment {
    background: #ffffff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(183, 205, 59, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.af-flight-segment:hover {
    box-shadow: 0 6px 24px rgba(183, 205, 59, 0.12);
    transform: translateY(-2px);
}

.af-flight-segment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    border-radius: 12px 12px 0 0;
}

.af-first-segment {
    margin-top: 0;
}

/* Segment Header */
.af-segment-header {
    background: var(--primary-color);
    padding: 24px;
    border-bottom: 1px solid #e8ecf0;
    display: flex;
    align-items: center;
    justify-content: between;
}

.af-segment-number {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.af-segment-badge {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 4px 16px rgba(183, 205, 59, 0.25);
    transition: all 0.3s ease;
}

.af-segment-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(183, 205, 59, 0.35);
}

.af-segment-index {
    color: white;
    font-size: 20px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.af-segment-info {
    flex-grow: 1;
}

.af-segment-title {
    color: #1a1a2e;
    font-weight: 700;
    margin: 0 0 6px 0;
    font-size: 20px;
}

.af-segment-route {
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.af-segment-route i {
    color: var(--primary-color);
    font-size: 12px;
}

.af-duration-badge {
    background: var(--primary-color);
    border: 1px solid rgba(183, 205, 59, 0.25);
    border-radius: 20px;
    padding: 10px 20px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(183, 205, 59, 0.08);
}

.af-duration-badge i {
    font-size: 14px;
}

/* Airline Section in Segments */
.af-airline-section {
    padding: 24px;
    border-bottom: 1px solid #e8ecf0;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    min-width: 90px;
    background: var(--primary-color);
}

.af-airline-logo-section {
    margin-right: 20px;
    margin-bottom: 12px;
}

.af-airline-logo-detail {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: contain;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 16px rgba(183, 205, 59, 0.12);
    background: #ffffff;
    padding: 8px;
    transition: all 0.3s ease;
}

.af-airline-logo-detail:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(183, 205, 59, 0.18);
}

.af-airline-details-section {
    flex-grow: 1;
}

.af-flight-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.af-flight-badge {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(183, 205, 59, 0.2);
    transition: all 0.3s ease;
}

.af-flight-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(183, 205, 59, 0.3);
}

.af-aircraft-info {
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.af-aircraft-info i {
    color: var(--primary-color);
    font-size: 13px;
}

/* Route Details */
.af-route-details {
    padding: 32px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fafbfc;
}

.af-departure-section,
.af-arrival-section {
    flex: 1;
}

.af-location-card {
    background: #ffffff;
    border: 2px solid #e8ecf0;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(183, 205, 59, 0.04);
}

.af-location-card:hover {
    border-color: rgba(183, 205, 59, 0.3);
    box-shadow: 0 4px 16px rgba(183, 205, 59, 0.12);
    transform: translateY(-2px);
}

.af-departure-card {
    border-color: #e8ecf0;
    background: var(--primary-color);
}

.af-arrival-card {
    border-color: #e8ecf0;
    background: var(--primary-color);
}

.af-time-large {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.af-airport-code {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.af-airport-name {
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Compact Segments Container */
.flight-segments-container {
    padding: 12px 16px;
    margin: 0;
    background: #fafbfc;
    border-radius: 8px;
}





/* Compact Segment Styles - Clean & Responsive */
.segment-compact {
    max-height: 72px;
    border: 1px solid #e8ecf0;
    border-left: 4px solid var(--primary-color);
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.segment-compact:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(183, 205, 59, 0.15);
    transform: translateY(-2px);
}

.segment-compact:active {
    transform: translateY(-1px);
}

.segment-info-group {
    min-width: 0;
}

/* Departure/Arrival Sections */
.segment-compact .departure-section,
.segment-compact .arrival-section {
    min-width: 100px;
    padding: 0 8px;
}

.segment-compact .time-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    margin-bottom: 6px;
}

.segment-compact .departure-section i.departure-icon,
.segment-compact .arrival-section i.arrival-icon {
    font-size: 12px;
    color: var(--primary-color);
}

.segment-compact .time-display {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.segment-compact .airport-code {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Flight Path Center Section */
.segment-compact .flight-path-center {
    flex: 1;
    min-width: 0;
    max-width: 140px;
    padding: 0 12px;
}

.segment-compact .flight-duration-compact {
    font-size: 11px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 4px;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 0.3px;
}

.segment-compact .flight-duration-compact i {
    font-size: 10px;
    color: var(--primary-color);
    margin-right: 2px;
}

.segment-compact .flight-line {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.segment-compact .flight-line .plane-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: var(--primary-color);
    background: white;
    padding: 3px 5px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.segment-compact .stop-badge {
    font-size: 10px;
    font-weight: 700;
    margin-top: 4px;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.segment-compact .stop-badge.direct {
    color: #28a745;
    background: rgba(40, 167, 69, 0.12);
}

.segment-compact .stop-badge.stops {
    color: var(--info-color);
    background: rgba(255, 128, 0, 0.12);
}

.segment-compact .stop-badge i {
    font-size: 9px;
    margin-right: 2px;
}

/* Date Info Section */
.segment-date-info {
    min-width: 90px;
    font-size: 11px;
    color: #6c757d;
    line-height: 1.4;
    padding: 0 8px;
}

.segment-date-info > div {
    font-weight: 700;
    font-size: 11px;
    color: #495057;
}

.segment-date-info .arrival-date {
    font-weight: 700;
    color: var(--info-color);
    margin-top: 2px;
}

.segment-date-info .arrival-date i {
    font-size: 9px;
    margin-right: 2px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .segment-compact {
        max-height: none;
        min-height: 60px;
    }

    .segment-compact .segment-info-group {
        flex-wrap: wrap;
        gap: 8px !important;
    }

    .segment-compact .departure-section,
    .segment-compact .arrival-section {
        min-width: 80px;
        padding: 0 4px;
        flex: 0 0 auto;
    }

    .segment-compact .time-wrapper {
        gap: 4px;
        margin-bottom: 4px;
    }

    .segment-compact .time-display {
        font-size: 18px;
    }

    .segment-compact .airport-code {
        font-size: 11px;
    }

    .segment-compact .departure-section i.departure-icon,
    .segment-compact .arrival-section i.arrival-icon {
        font-size: 10px;
    }

    .segment-compact .flight-path-center {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 4px 8px;
        order: 3;
    }

    .segment-compact .flight-duration-compact {
        font-size: 10px;
        margin-bottom: 3px;
    }

    .segment-compact .flight-line {
        height: 2px;
    }

    .segment-compact .flight-line .plane-icon {
        font-size: 10px;
        padding: 2px 4px;
    }

    .segment-compact .stop-badge {
        font-size: 9px;
        padding: 2px 8px;
        margin-top: 3px;
    }

    .segment-date-info {
        min-width: auto;
        font-size: 10px;
        padding: 0 4px;
        text-align: right;
    }

    .segment-date-info > div {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .segment-compact {
        padding: 8px !important;
    }

    .segment-compact .departure-section,
    .segment-compact .arrival-section {
        min-width: 70px;
        padding: 0 2px;
    }

    .segment-compact .time-display {
        font-size: 16px;
    }

    .segment-compact .airport-code {
        font-size: 10px;
    }

    .segment-compact .flight-path-center {
        padding: 4px;
    }

    .segment-compact .flight-duration-compact {
        font-size: 9px;
    }

    .segment-compact .stop-badge {
        font-size: 8px;
        padding: 2px 6px;
    }

    .segment-date-info {
        font-size: 9px;
    }
}

/* Compact Flight Duration */
.flight-duration {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-family: 'SF Mono', monospace;
    background: rgba(183, 205, 59, 0.06);
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-flex;
}

.flight-duration i {
    font-size: 11px;
    color: var(--primary-color);
}

/* Details Button */
.af-btn-details {
    background: rgba(2, 40, 92, 0.08);
    border: 1px solid rgba(2, 40, 92, 0.15);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(2, 40, 92, 0.06);
}

.af-btn-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(2, 40, 92, 0.05);
    transition: left 0.6s ease;
}

.af-btn-details:hover {
    background: rgba(2, 40, 92, 0.12);
    border-color: rgba(2, 40, 92, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 40, 92, 0.15);
    color: var(--secondary-color);
}

.af-btn-details:hover::before {
    left: 100%;
}

.af-btn-details:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(2, 40, 92, 0.2);
}

.af-btn-details i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.af-btn-details:hover i {
    transform: rotate(90deg) scale(1.15);
}

/* Air France Card */
.flight-card-airfrance {
    background: #ffffff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(183, 205, 59, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-bottom: 20px;
    max-height: 200px;
}

.flight-card-airfrance:hover {
    box-shadow: 0 6px 20px rgba(183, 205, 59, 0.12);
    transform: translateY(-3px);
}

/* Flight Row */
.af-flight-row {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    gap: 20px;
    min-height: 130px;
    max-height: 200px;
}

.af-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(183, 205, 59, 0.12);
    background: #ffffff;
    padding: 4px;
}

/* Route Section */
.af-route-section {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 16px;
    padding: 0 12px;
}

.af-departure-compact,
.af-arrival-compact {
    text-align: center;
    min-width: 70px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
}

/* Flight Path Compact */
.af-path-compact {
    flex: 1;
    text-align: center;
    max-width: 140px;
    padding: 8px;
}

.af-duration-compact {
    font-size: 13px;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.af-line-compact {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    position: relative;
    margin: 6px 0;
    justify-content: center;
    height: 24px;
}

.af-dot-compact {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    position: relative;
    box-shadow: 0 0 0 3px rgba(183, 205, 59, 0.1);
}

.af-connector-compact {
    flex: 1;
    height: 3px;
    background: var(--primary-color);
    margin: 0 10px;
    position: relative;
    opacity: 0.8;
    flex-grow: 1;
    border-radius: 2px;
}

.af-plane-compact {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 4px;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 12px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(183, 205, 59, 0.2);
}

/* Price Section Compact */
.af-price-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 140px;
    gap: 8px;
    padding: 12px 16px;
    background: var(--primary-color);
    border-radius: 8px;
}

.af-price-section-enhanced {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.af-price-icon {
    color: var(--primary-color);
    font-size: 18px;
    animation: pulse 2s infinite;
}

.af-price-amount {
    font-size: 26px;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(183, 205, 59, 0.15);
    position: relative;
    font-family: 'SF Mono', monospace;
    letter-spacing: -0.5px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Template Colors */
.text-template-orange {
    color: var(--primary-color) !important;
}

.text-template-blue {
    color: var(--primary-color) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .flight-card-form {
        margin-bottom: 16px;
    }

    .airline-section {
        padding: 16px;
    }

    .af-flight-row {
        padding: 16px;
        gap: 12px;
    }

    .af-route-details {
        padding: 24px 16px;
        flex-direction: column;
    }

    .af-segment-header {
        padding: 16px;
    }
}


/* ============================================
   EXTRACTED FROM BLADE FILES - searchForm, stepper, flightResults
   Consolidated on 2025-11-13
   ============================================ */

    /* ============================================
       SEARCH FORM CONTAINER - NO EXTRA WRAPPER
       (Container is handled by stepperHeader)
       ============================================ */

    /* ============================================
       FLIGHT SEARCH CARD - Minimal Rounded Corners
       ============================================ */
    .enhanced-flight-search-card {
        background: transparent;
        border: none;
        box-shadow: none;
        position: relative;
        animation: cardEntranceAnimation 0.6s ease-out;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        margin-bottom: 0;
    }

    /* ============================================
       TRIP TYPE PILLS - Minimal Rounding
       ============================================ */
    .trip-type-pills {
        display: flex;
        gap: 6px;
        background: #f9fafb;
        border-radius: 12px;
        padding: 6px;
        margin-bottom: 20px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        border: 1px solid #f0f0f0;
    }

    .trip-type-pills::-webkit-scrollbar {
        display: none;
    }

    .trip-type-pill {
        padding: 10px 18px;
        border: none;
        background: transparent;
        color: #6b7280;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        border-radius: 8px;
        transition: all 0.2s ease;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .trip-type-pill:hover {
        color: #374151;
        background: #f3f4f6;
    }

    .trip-type-pill.active {
        background: var(--primary-color);
        color: white;
        box-shadow: 0 2px 8px rgba(183, 205, 59, 0.25);
    }

    .trip-type-pill input[type="radio"] {
        display: none;
    }

    /* ============================================
       FORM CONTROLS - Minimal Rounding
       ============================================ */
    .form-control-enhanced {
        border-radius: 10px;
        padding: 12px 14px 12px 38px;
        font-size: 14px;
        font-weight: 500;
        height: 48px;
        border: 1px solid #e5e7eb;
        transition: all 0.2s ease;
        background: #ffffff;
        margin-bottom: 0;
        color: #1f2937;
    }

    .form-control-enhanced:hover {
        border-color: #d1d5db;
    }

    .form-control-enhanced:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(183, 205, 59, 0.1);
        outline: none;
        background: #ffffff;
    }

    .form-control-enhanced:disabled,
    .form-control-enhanced[disabled] {
        background-color: #f9fafb !important;
        opacity: 0.6 !important;
        cursor: not-allowed !important;
        pointer-events: none !important;
    }

    /* Form Loading Overlay */
    .form-loading-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: transparent;
        display: none;
        z-index: 9999;
        cursor: not-allowed;
        pointer-events: all;
    }

    /* ============================================
       VALIDATION STYLES - Blue Theme
       ============================================ */
    .form-control-enhanced.border-success,
    .form-control.border-success,
    select.border-success {
        border-color: #d4edda !important;
        border-width: 1px !important;
        background-color: #f8fdf9 !important;
    }

    .form-control-enhanced.border-success:focus,
    .form-control.border-success:focus,
    select.border-success:focus {
        border-color: #c3e6cb !important;
        box-shadow: 0 0 0 3px rgba(212, 237, 218, 0.3) !important;
    }

    .form-control-enhanced.is-invalid,
    .form-control.is-invalid,
    select.is-invalid {
        border-color: #dc3545 !important;
        padding-right: calc(1.5em + 0.75rem);
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right calc(0.375em + 0.1875rem) center;
        background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    }

    .form-control-enhanced.is-invalid:focus,
    .form-control.is-invalid:focus,
    select.is-invalid:focus {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
    }

    /* Validation feedback messages */
    .invalid-feedback {
        display: none;
        width: 100%;
        margin-top: 0.25rem;
        font-size: 0.875rem;
        color: #dc3545;
        font-weight: 500;
    }

    .is-invalid ~ .invalid-feedback {
        display: block;
    }

    .valid-feedback {
        display: none;
        width: 100%;
        margin-top: 0.25rem;
        font-size: 0.875rem;
        color: #28a745;
        font-weight: 500;
    }

    .border-success ~ .valid-feedback {
        display: block;
    }

    /* Error label styling (jQuery Validate) */
    label.error {
        display: block;
        margin-top: 0.25rem;
        font-size: 0.875rem;
        color: #dc3545;
        font-weight: 500;
        animation: fadeIn 0.3s ease;
    }

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

    /* Autocomplete validation */
    .autocomplete-wrapper.is-invalid .form-control-enhanced {
        border-color: #dc3545 !important;
    }

    .autocomplete-wrapper.border-success .form-control-enhanced {
        border-color: #d4edda !important;
        border-width: 1px !important;
        background-color: #f8fdf9 !important;
    }

    /* ============================================
       OPTIONS ROW - Modern Clean Design
       ============================================ */
    .options-row {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 0;
        flex-wrap: wrap;
        padding: 0;
    }

    .options-row.justify-content-end {
        justify-content: flex-end;
    }

    .option-checkbox {
        display: flex;
        align-items: center;
        gap: 7px;
        padding: 6px 12px;
        background: #f9fafb;
        border-radius: 0px;
        border: 1px solid #e5e7eb;
        transition: all 0.2s ease;
    }

    .option-checkbox:hover {
        background: #f3f4f6;
        border-color: #d1d5db;
    }

    .option-checkbox input[type="checkbox"] {
        width: 16px;
        height: 16px;
        cursor: pointer;
        accent-color: var(--primary-color);
        margin: 0;
    }

    .option-checkbox label {
        margin: 0;
        cursor: pointer;
        font-size: 13px;
        color: #4b5563;
        font-weight: 500;
        user-select: none;
    }

    .flexibility-select {
        min-width: 140px;
    }

    .flexibility-select select {
        padding: 7px 12px;
        border-radius: 0px;
        border: 1px solid #e5e7eb;
        background: #f9fafb;
        font-size: 13px;
        font-weight: 500;
        color: #4b5563;
        cursor: pointer;
        transition: all 0.2s ease;
        height: 34px;
    }

    .flexibility-select select:hover {
        border-color: #d1d5db;
        background: #f3f4f6;
    }

    .flexibility-select select:focus {
        outline: none;
        border-color: var(--primary-color);
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(183, 205, 59, 0.1);
    }

    /* ============================================
       PASSENGER DROPDOWN - Modern Clean Design
       ============================================ */
    .passenger-dropdown-trigger {
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 0px;
        padding: 12px 14px;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 48px;
        width: 100%;
    }

    .passenger-dropdown-trigger:hover {
        border-color: #d1d5db;
        background: #f9fafb;
    }

    .passenger-dropdown-trigger i {
        color: #6b7280;
        transition: transform 0.2s ease;
    }

    #passengerSummary {
        font-size: 14px;
        color: #374151;
        font-weight: 500;
    }

    .passenger-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-radius: 0px;
        border: 1px solid #e5e7eb;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        padding: 16px;
        z-index: 1000;
        margin-top: 8px;
        display: none;
        min-width: 320px;
    }

    .passenger-dropdown-menu.show {
        display: block;
        animation: slideDown 0.2s ease;
    }

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

    .passenger-dropdown-menu .form-label {
        font-size: 13px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 8px;
    }

    .passenger-dropdown-menu .form-select {
        border-radius: 0px;
        border: 1px solid #e5e7eb;
        padding: 8px 12px;
        font-size: 13px;
        color: #374151;
        background: #f9fafb;
        transition: all 0.2s ease;
    }

    .passenger-dropdown-menu .form-select:focus {
        outline: none;
        border-color: var(--primary-color);
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(183, 205, 59, 0.1);
    }

    .passenger-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #f3f4f6;
    }

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

    .passenger-row .fw-semibold {
        font-size: 14px;
        color: #374151;
        font-weight: 600;
    }

    .passenger-row .text-muted {
        font-size: 12px;
        color: #9ca3af;
    }

    .counter-controls {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .counter-btn {
        width: 32px;
        height: 32px;
        border-radius: 0px;
        border: 1px solid #e5e7eb;
        background: #f9fafb;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        font-weight: 600;
        font-size: 16px;
        color: #6b7280;
    }

    .counter-btn:hover:not(:disabled) {
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: white;
        transform: scale(1.05);
    }

    .counter-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
        background: #f3f4f6;
    }

    .counter-value {
        font-weight: 600;
        min-width: 28px;
        text-align: center;
        font-size: 15px;
        color: #374151;
    }

    .passenger-dropdown-menu .btn-primary {
        background: var(--primary-color);
        border: none;
        border-radius: 0px;
        padding: 8px 20px;
        font-size: 13px;
        font-weight: 600;
        transition: all 0.2s ease;
    }

    .passenger-dropdown-menu .btn-primary:hover {
        background: var(--secondary-color);
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(183, 205, 59, 0.2);
    }

    /* ============================================
       SEARCH BUTTON - Modern Clean Design
       ============================================ */
    .btn-search-enhanced {
        background: var(--primary-color);
        border: none;
        color: white;
        padding: 12px 32px;
        border-radius: 0px;
        font-weight: 600;
        font-size: 15px;
        transition: all 0.2s ease;
        width: 100%;
        height: 48px;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(183, 205, 59, 0.15);
    }

    .btn-search-enhanced:hover {
        background: var(--secondary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(183, 205, 59, 0.25);
    }

    .btn-search-enhanced:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(183, 205, 59, 0.15);
    }

    .btn-search-enhanced:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

    /* ============================================
       AUTOCOMPLETE - Modern Clean Design
       ============================================ */
    .autocomplete-wrapper {
        position: relative;
    }

    .autocomplete-wrapper .icon-left {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
        z-index: 2;
        font-size: 16px;
    }

    .autocomplete-clear-icon {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        background: #f3f4f6;
        border: none;
        color: #6b7280;
        cursor: pointer;
        padding: 4px;
        display: none;
        border-radius: 0px;
        transition: all 0.2s ease;
        width: 24px;
        height: 24px;
        align-items: center;
        justify-content: center;
    }

    .autocomplete-clear-icon:hover {
        background: #e5e7eb;
        color: #374151;
    }

    .autocomplete-wrapper.has-value .autocomplete-clear-icon {
        display: flex;
    }

    .autocomplete-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 0px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        margin-top: 8px;
        max-height: 320px;
        overflow-y: auto;
        display: none;
    }

    .autocomplete-dropdown.active {
        display: block;
        animation: slideDown 0.2s ease;
    }

    .autocomplete-item {
        padding: 12px 14px;
        border-bottom: 1px solid #f3f4f6;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: all 0.15s ease;
    }

    .autocomplete-item:first-child {
        border-radius: 0px;
    }

    .autocomplete-item:last-child {
        border-bottom: none;
        border-radius: 0px;
    }

    .autocomplete-item:hover {
        background-color: #f9fafb;
    }

    .autocomplete-loading,
    .autocomplete-no-results {
        padding: 20px;
        text-align: center;
        color: #9ca3af;
        font-size: 13px;
    }

    /* Custom scrollbar for autocomplete */
    .autocomplete-dropdown::-webkit-scrollbar {
        width: 6px;
    }

    .autocomplete-dropdown::-webkit-scrollbar-track {
        background: #f3f4f6;
        border-radius: 0px;
    }

    .autocomplete-dropdown::-webkit-scrollbar-thumb {
        background: #d1d5db;
        border-radius: 0px;
    }

    .autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
        background: #9ca3af;
    }

    /* ============================================
       DATEPICKER
       ============================================ */
    .datepicker-wrapper {
        position: relative;
    }

    .datepicker-wrapper .icon-left {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #6c757d;
        z-index: 2;
    }

    /* ============================================
       MULTI-DESTINATION - Modern Clean Design
       ============================================ */
    .multi-destination-route {
        position: relative;
        padding: 24px 16px 16px;
        background: #f9fafb;
        border-radius: 0px;
        border: 1px solid #e5e7eb;
        margin-bottom: 20px;
        transition: all 0.2s ease;
    }

    .multi-destination-route:hover {
        background: #f3f4f6;
        border-color: #d1d5db;
    }

    .route-number {
        position: absolute;
        top: -12px;
        left: 20px;
        background: var(--primary-color);
        color: white;
        width: 32px;
        height: 32px;
        border-radius: 0px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 14px;
        box-shadow: 0 2px 8px rgba(183, 205, 59, 0.3);
        z-index: 5;
    }

    .remove-destination-btn {
        position: absolute;
        top: -12px;
        right: 20px;
        background: #ef4444;
        color: white;
        border: 2px solid white;
        border-radius: 0px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 18px;
        line-height: 1;
        z-index: 10;
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
        transition: all 0.2s ease;
        font-weight: bold;
    }

    .remove-destination-btn:hover {
        background: #dc2626;
        transform: scale(1.1) rotate(90deg);
    }

    #addDestinationBtnContainer {
        position: relative;
        z-index: 5;
        text-align: left;
        margin-top: 12px;
    }

    #addDestinationBtn {
        cursor: pointer !important;
        pointer-events: auto !important;
        z-index: 10 !important;
        transition: all 0.2s ease;
        color: var(--primary-color);
        font-size: 14px;
        font-weight: 600;
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        border-radius: 0px;
        padding: 8px 16px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    #addDestinationBtn:hover {
        color: var(--secondary-color) !important;
        background: #f3f4f6;
        border-color: var(--primary-color);
        transform: translateX(2px);
    }

    #addDestinationBtn i {
        font-size: 16px;
    }

    #addDestinationBtn u {
        text-decoration: none;
    }

    /* ============================================
       BETTER SPACING - Rows & Columns
       ============================================ */
    .row.g-2 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    .row.mb-3 {
        margin-bottom: 20px !important;
    }

    .row.mt-2 {
        margin-top: 16px !important;
    }

    /* ============================================
       ANIMATIONS
       ============================================ */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

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

    /* ============================================
       RESPONSIVE - Better Spacing
       ============================================ */
    @media (max-width: 768px) {
        .trip-type-pills {
            justify-content: flex-start !important;
            gap: 4px;
            padding: 4px;
            border-radius: 0px;
            margin-bottom: 16px;
        }

        .trip-type-pill {
            padding: 8px 14px;
            font-size: 13px;
            border-radius: 0px;
        }

        .options-row {
            justify-content: flex-start !important;
            gap: 10px;
            margin-bottom: 16px;
        }

        .option-checkbox label {
            font-size: 13px;
        }

        .flexibility-select {
            min-width: 120px;
        }

        .flexibility-select select {
            font-size: 13px;
            padding: 6px 10px;
        }

        .multi-destination-route {
            padding: 20px 12px 12px;
            margin-bottom: 16px;
        }

        .form-control-enhanced {
            height: 48px;
            font-size: 14px;
        }

        .btn-search-enhanced {
            height: 44px;
            font-size: 14px;
        }

        .passenger-dropdown-trigger {
            height: 48px;
        }
    }

    @media (max-width: 400px) {
        .trip-type-pills {
            overflow-x: auto;
        }

        .trip-type-pill {
            padding: 8px 12px;
            font-size: 12px;
        }

        .options-row {
            gap: 8px;
        }

        .option-checkbox {
            flex-basis: 100%;
        }

        .flexibility-select {
            flex-basis: 100%;
            min-width: 100%;
        }
    }

    /* ============================================
       LOADING OVERLAY
       ============================================ */
    .loading-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.85);
        z-index: 99999;
        justify-content: center;
        align-items: center;
    }

    .loading-content {
        text-align: center;
        padding: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 0px;
        backdrop-filter: blur(10px);
    }

    .loading-spinner {
        width: 60px;
        height: 60px;
        border: 4px solid rgba(183, 205, 59, 0.3);
        border-top-color: var(--primary-color);
        border-radius: 0%;
        animation: spin 1s linear infinite;
        margin: 0 auto 20px;
    }

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

    .loading-content h4 {
        margin: 0 0 10px;
        font-size: 18px;
        font-weight: 600;
        color: white;
    }

    .loading-content p {
        margin: 0;
        font-size: 14px;
        opacity: 0.9;
        color: white;
    }

    /* ============================================
       STEPPER CONTAINER WITH PROPER SPACING
       ============================================ */
    .stepper-wrapper {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .compact-header-content {
        display: flex;
        align-items: center;
        padding: 12px 20px;
        height: 70px;
        max-height: 70px;
        gap: 16px;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 0px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
        margin-bottom: 24px;
    }

    /* Step Indicator */
    .step-indicator {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: auto;
        padding: 8px 14px;
        background: var(--primary-color);
        border-radius: 0px;
    }

    .step-number {
        font-size: 14px;
        font-weight: 700;
        color: white;
        line-height: 1;
    }

    .step-name {
        font-size: 12px;
        font-weight: 600;
        color: white;
        text-transform: capitalize;
        letter-spacing: 0;
    }

    /* Search Summary Card */
    .search-summary-card {
        flex: 1;
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        border-radius: 0px;
        padding: 10px 14px;
        min-width: 0;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
    }

    .search-summary-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--primary-color);
        border-radius: 0px;
    }

    .search-route {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 700;
        color: #1f2937;
        margin: 0;
    }

    .search-route i {
        color: #9ca3af;
        font-size: 12px;
    }

    .search-details {
        display: flex;
        gap: 16px;
        font-size: 11px;
        color: #6b7280;
        font-weight: 500;
    }

    .search-details span {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .search-details i {
        font-size: 10px;
        color: #9ca3af;
    }

    /* Results Info */
    .results-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 80px;
        padding: 8px 12px;
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        border-radius: 0px;
        gap: 2px;
    }

    .flights-count {
        font-size: 16px;
        font-weight: 700;
        color: var(--primary-color);
        line-height: 1;
    }

    .trip-type {
        font-size: 10px;
        color: #6b7280;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.3px;
    }

    /* Header Actions */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .compact-sort-select {
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        border-radius: 0px;
        padding: 8px 12px;
        font-size: 12px;
        font-weight: 500;
        color: #4b5563;
        min-width: 110px;
        height: 38px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .compact-sort-select:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(183, 205, 59, 0.1);
        background: #ffffff;
    }

    .compact-sort-select:hover {
        border-color: #d1d5db;
        background: #f3f4f6;
    }

    .modify-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        background: var(--primary-color);
        border: none;
        border-radius: 0px;
        padding: 10px 16px;
        font-size: 12px;
        font-weight: 600;
        color: #ffffff;
        cursor: pointer;
        transition: all 0.2s ease;
        text-decoration: none;
        height: 38px;
        box-shadow: 0 2px 8px rgba(183, 205, 59, 0.15);
    }

    .filter-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        border-radius: 0px;
        padding: 10px 16px;
        font-size: 12px;
        font-weight: 600;
        color: #4b5563;
        cursor: pointer;
        transition: all 0.2s ease;
        text-decoration: none;
        height: 38px;
    }

    .filter-btn:hover {
        background: #f3f4f6;
        border-color: #d1d5db;
        color: #374151;
    }

    .modify-btn:hover {
        background: var(--secondary-color);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(183, 205, 59, 0.25);
    }

    .filter-btn i,
    .modify-btn i {
        font-size: 12px;
    }

    /* Search Form Container */
    .search-form-container {
        border-top: 1px solid #f0f0f0;
        padding: 20px;
        background: #ffffff;
        border-radius: 0px;
        margin-top: 0;
        max-height: 250px;
        overflow-y: auto;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    }

    .search-form-container::-webkit-scrollbar {
        width: 6px;
    }

    .search-form-container::-webkit-scrollbar-track {
        background: #f9fafb;
        border-radius: 0px;
    }

    .search-form-container::-webkit-scrollbar-thumb {
        background: #d1d5db;
        border-radius: 0px;
    }

    .search-form-container::-webkit-scrollbar-thumb:hover {
        background: #9ca3af;
    }

    /* ============================================
       RESPONSIVE CONTAINER SPACING
       ============================================ */
    @media (max-width: 1440px) {
        .stepper-wrapper {
            max-width: 1200px;
        }
    }

    @media (max-width: 1200px) {
        .stepper-wrapper {
            max-width: 960px;
            padding: 0 16px;
        }
    }

    @media (max-width: 992px) {
        .stepper-wrapper {
            padding: 0 16px;
        }

        .compact-header-content {
            padding: 14px 20px;
            gap: 16px;
            min-height: 72px;
        }

        .step-indicator {
            min-width: 60px;
        }

        .search-summary-card {
            padding: 10px 14px;
        }

        .compact-sort-select {
            min-width: 90px;
        }
    }

    @media (max-width: 768px) {
        .stepper-wrapper {
            padding: 0 12px;
        }

        .compact-header-content {
            padding: 12px 16px;
            gap: 0;
            display: grid;
            grid-template-areas:
                "step actions"
                "search search"
                "results results";
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto auto auto;
            min-height: 95px;
            align-items: start;
        }

        .step-indicator {
            grid-area: step;
            justify-self: start;
            align-self: center;
            min-width: auto;
            margin-bottom: 0;
        }

        .header-actions {
            grid-area: actions;
            justify-self: end;
            align-self: center;
            gap: 10px;
            margin-top: 0;
        }

        .search-summary-card {
            grid-area: search;
            margin: 10px 0 6px 0;
            padding: 10px 14px;
        }

        .results-info {
            grid-area: results;
            justify-self: center;
            align-self: end;
            flex-direction: row;
            gap: 14px;
            align-items: center;
            margin-top: 4px;
        }

        .step-number {
            font-size: 13px;
            padding: 4px 10px;
        }

        .step-name {
            font-size: 10px;
        }

        .flights-count {
            font-size: 16px;
        }

        .trip-type {
            font-size: 10px;
        }

        .compact-sort-select {
            min-width: 75px;
            font-size: 12px;
            padding: 6px 10px;
        }

        .filter-btn,
        .modify-btn {
            padding: 6px 12px;
            font-size: 12px;
        }

        .search-route {
            font-size: 13px;
        }

        .search-details {
            font-size: 11px;
            gap: 16px;
        }

        .search-form-container {
            padding: 16px 18px;
        }
    }

    @media (max-width: 576px) {
        .stepper-wrapper {
            padding: 0 10px;
        }

        .compact-header-content {
            padding: 10px 14px;
            min-height: 90px;
            gap: 4px;
        }

        .search-summary-card {
            margin: 8px 0 4px 0;
            padding: 8px 12px;
        }

        .results-info {
            gap: 12px;
        }

        .step-number {
            font-size: 12px;
            padding: 3px 8px;
        }

        .step-name {
            font-size: 9px;
        }

        .flights-count {
            font-size: 14px;
        }

        .trip-type {
            font-size: 9px;
        }

        .compact-sort-select {
            min-width: 70px;
            font-size: 11px;
            padding: 5px 8px;
        }

        .filter-btn,
        .modify-btn {
            padding: 5px 10px;
            font-size: 11px;
        }

        .filter-btn i,
        .modify-btn i {
            font-size: 10px;
        }

        .search-route {
            font-size: 12px;
        }

        .search-details {
            gap: 14px;
            font-size: 10px;
        }

        .header-actions {
            gap: 8px;
        }

        .search-form-container {
            padding: 14px 16px;
        }
    }

    @media (max-width: 480px) {
        /* Modern Elite Mobile Stepper - 70px */
        .compact-header-content {
            display: flex;
            align-items: center;
            padding: 12px;
            max-height: 70px;
            height: 70px;
            gap: 10px;
            border-radius: 0px;
            background: #ffffff;
            box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
            border: 1px solid #f0f0f0;
            overflow: hidden;
        }

        .compact-header-content::before {
            display: none;
        }

        /* Step Badge - Clean Modern */
        .step-indicator {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            min-width: auto;
            height: auto;
            padding: 8px 12px;
            background: var(--primary-color);
            border-radius: 0px;
            box-shadow: none;
            position: relative;
            overflow: visible;
        }

        .step-indicator::before {
            display: none;
        }

        .step-number {
            font-size: 13px;
            font-weight: 700;
            color: white;
            line-height: 1;
        }

        .step-name {
            font-size: 10px;
            font-weight: 600;
            color: white;
            text-transform: capitalize;
            letter-spacing: 0;
            opacity: 1;
        }

        /* Search Info - Clean & Simple */
        .search-summary-card {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 3px;
            flex: 1;
            background: transparent;
            border: none;
            padding: 0;
            box-shadow: none;
            min-width: 0;
        }

        .search-summary-card::before {
            display: none;
        }

        .search-route {
            font-size: 13px;
            font-weight: 700;
            color: #1f2937;
            margin: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .search-route i {
            display: none;
        }

        .search-details {
            display: flex;
            flex-direction: row;
            gap: 12px;
            font-size: 11px;
            font-weight: 500;
        }

        .search-details span {
            display: flex;
            align-items: center;
            gap: 4px;
            color: #6b7280;
        }

        .search-details i {
            font-size: 11px;
            color: #9ca3af;
        }

        /* Flight Count Badge - Minimal */
        .results-info {
            display: none;
        }

        .flights-count {
            display: none;
        }

        .trip-type {
            display: none;
        }

        /* Action Buttons - Clean Modern */
        .header-actions {
            display: flex;
            gap: 6px;
            align-items: center;
            margin-left: auto;
        }

        .compact-sort-select {
            display: none;
        }

        .filter-btn {
            background: #f9fafb;
            color: #4b5563;
            border: 1px solid #e5e7eb;
            padding: 0;
            font-size: 0;
            border-radius: 0px;
            box-shadow: none;
            min-width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.15s ease;
        }

        .filter-btn::before {
            display: none;
        }

        .filter-btn:active {
            background: #f3f4f6;
            transform: scale(0.97);
        }

        .filter-btn i {
            font-size: 16px;
        }

        .modify-btn {
            background: #f9fafb;
            border: 1px solid #e5e7eb;
            color: #4b5563;
            padding: 0;
            font-size: 0;
            border-radius: 0px;
            box-shadow: none;
            min-width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.15s ease;
        }

        .modify-btn::before {
            display: none;
        }

        .modify-btn:active {
            background: #f3f4f6;
            transform: scale(0.97);
        }

        .modify-btn i {
            font-size: 16px;
        }
    }

    @media (max-width: 375px) {
        .compact-header-content {
            padding: 10px;
            gap: 8px;
        }

        .step-indicator {
            padding: 7px 10px;
            gap: 4px;
        }

        .step-number {
            font-size: 12px;
        }

        .step-name {
            font-size: 9px;
        }

        .search-route {
            font-size: 12px;
        }

        .search-details {
            font-size: 10px;
            gap: 10px;
        }

        .filter-btn,
        .modify-btn {
            min-width: 38px;
            height: 38px;
        }

        .filter-btn i,
        .modify-btn i {
            font-size: 15px;
        }

        .flights-count {
            font-size: 12px;
        }

        .trip-type {
            font-size: 7px;
        }

        .header-actions {
            gap: 6px;
        }

        .results-info {
            gap: 8px;
        }

        .search-form-container {
            padding: 12px 14px;
        }
    }

        /* Enhanced Flight Results Design */
        .clickable-segment:hover {
            border-radius: 10%;
            cursor: pointer;
            background-color: var(--bs-light) !important;
        }

        .enhanced-results-card {
            background: var(--primary-color);
            border: none;
            border-radius: 0px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .enhanced-results-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--primary-color);
            border-radius: 0px 20px 0 0;
            z-index: 1;
        }

        /* Enhanced Form Controls */
        .form-select-enhanced {
            border: 2px solid #e9ecef;
            border-radius: 0px;
            padding: 12px 16px;
            font-size: 15px;
            transition: all 0.3s ease;
            background: #ffffff;
            color: #495057;
            height: 50px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        }

        .form-select-enhanced:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.3rem rgba(200, 220, 240, 0.15), 0 4px 12px rgba(200, 220, 240, 0.1);
            background: #ffffff;
            outline: none;
            transform: translateY(-1px);
        }

        /* Enhanced Buttons - New Template Colors */
        .btn-enhanced {
            background: var(--primary-color);
            border: none;
            border-radius: 10px;
            padding: 14px 28px;
            font-weight: 700;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            color: white;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            box-shadow: 0 4px 16px rgba(183, 205, 59, 0.25);
            position: relative;
            overflow: hidden;
        }

        .btn-enhanced::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--primary-color);
            transition: left 0.6s ease;
        }

        .btn-enhanced:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(3, 58, 137, 0.35);
            background: var(--primary-color);
            color: white;
        }

        .btn-enhanced:hover::before {
            left: 100%;
        }

        .btn-enhanced:active {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(183, 205, 59, 0.3);
        }

        .btn-outline-enhanced {
            background: transparent;
            border: 2px solid var(--primary-color);
            border-radius: 10px;
            padding: 12px 24px;
            font-weight: 700;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            color: var(--primary-color);
            text-transform: uppercase;
            letter-spacing: 1.2px;
            box-shadow: 0 2px 8px rgba(183, 205, 59, 0.08);
            position: relative;
            overflow: hidden;
        }

        .btn-outline-enhanced::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: var(--primary-color);
            transition: width 0.4s ease;
            z-index: -1;
        }

        .btn-outline-enhanced:hover {
            color: white;
            border-color: #0558c9;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(183, 205, 59, 0.25);
        }

        .btn-outline-enhanced:hover::before {
            width: 100%;
        }

        .btn-outline-enhanced:active {
            transform: translateY(0);
            box-shadow: 0 3px 12px rgba(183, 205, 59, 0.2);
        }

        /* Modern Upgraded Flight Cards */
        .flight-card-form {
            background: #ffffff;
            border: 1px solid #e8ecf0;
            border-radius: 8px;
            box-shadow: 0 2px 6px rgba(3, 58, 137, 0.04);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            margin-bottom: 12px;
        }

        .flight-card-form:hover {
            box-shadow: 0 4px 12px rgba(183, 205, 59, 0.08);
            transform: translateY(-2px);
        }

        /* Compact Flight Card Structure */
        .compact-flight-card {
            border-radius: 8px;
            overflow: hidden;
        }

        .airline-section {
            background: transparent;
            border-right: none;
            position: relative;
            padding: 12px;
        }

        .airline-section::after {
            content: '';
            position: absolute;
            right: 0;
            top: 20%;
            bottom: 20%;
            width: 1px;
            background: #e8ecf0;
        }

        .airline-section img {
            height: 40px !important;
            width: 40px !important;
            border: 1px solid #e8ecf0 !important;
            border-radius: 6px !important;
            box-shadow: 0 1px 3px rgba(183, 205, 59, 0.08);
            background: #ffffff;
            padding: 3px;
        }

        .af-airline-code {
            font-size: 11px !important;
            font-weight: 600;
            color: #495057;
        }

        .af-cabin-mini {
            font-size: 10px;
            color: #6c757d;
            font-weight: 500;
        }

        .af-avl-status {
            font-size: 10px !important;
            color: var(--secondary-color);
            font-weight: 700;
            background: rgba(2, 40, 92, 0.08);
            padding: 4px 10px;
            border-radius: 16px;
            border: 1px solid rgba(2, 40, 92, 0.15);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 2px 4px rgba(2, 40, 92, 0.06);
        }




        /* Compact AirFrance-style Time Styling */
        .af-time-compact {
            font-size: 18px;
            font-weight: 800;
            color: #1a1a2e;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-bottom: 4px;
        }

        .af-time-icon {
            color: var(--primary-color);
            font-size: 14px;
            opacity: 0.9;
        }

        .af-code-compact {
            font-size: 12px;
            font-weight: 700;
            color: var(--primary-color);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            background: rgba(3, 58, 137, 0.06);
            padding: 3px 8px;
            border-radius: 6px;
        }

        .segment-date {
            font-size: 11px;
            font-weight: 600;
            color: #64748b;
            margin-top: 2px;
        }

        .af-badge-compact {
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px 10px;
            border-radius: 16px;
            box-shadow: 0 2px 4px rgba(183, 205, 59, 0.08);
        }

        .af-badge-compact.direct {
            background: var(--primary-color);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .af-badge-compact.stops {
            background: var(--primary-color);
            color: var(--primary-color);
            border: 1px solid rgba(183, 205, 59, 0.2);
        }

        /* Enhanced Badge */
        .badge-enhanced {
            background: var(--primary-color);
            color: white;
            border-radius: 8px;
            padding: 10px 20px;
            font-weight: 700;
            font-size: 14px;
            box-shadow: 0 4px 12px rgba(183, 205, 59, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        /* Modern Skeleton Loaders */
        @keyframes skeleton-shimmer {
            0% {
                background-position: -1000px 0;
            }
            100% {
                background-position: 1000px 0;
            }
        }

        @keyframes skeleton-pulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.5;
            }
        }

        .skeleton {
            background: linear-gradient(
                90deg,
                #f3f4f6 0%,
                #e5e7eb 50%,
                #f3f4f6 100%
            );
            background-size: 1000px 100%;
            animation: skeleton-shimmer 2s ease-in-out infinite;
            border-radius: 8px;
            position: relative;
            overflow: hidden;
        }

        .skeleton::after {
            display: none;
        }

        @keyframes skeleton-shine {
            0% {
                transform: translateX(-100%);
            }
            100% {
                transform: translateX(100%);
            }
        }

        /* Modern Flight Card Skeleton */
        .skeleton-flight-card {
            background: #ffffff;
            border: 1px solid #f0f0f0;
            border-radius: 16px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
            padding: 20px;
            margin-bottom: 16px;
            transition: all 0.2s ease;
        }

        .skeleton-flight-card:hover {
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
            transform: translateY(-1px);
        }

        .skeleton-airline {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            box-shadow: none;
        }

        .skeleton-time {
            width: 80px;
            height: 24px;
            margin-bottom: 8px;
            border-radius: 6px;
        }

        .skeleton-code {
            width: 50px;
            height: 16px;
            border-radius: 4px;
        }

        .skeleton-duration {
            width: 120px;
            height: 20px;
            margin: 0 auto;
            border-radius: 6px;
        }

        .skeleton-price {
            width: 100px;
            height: 32px;
            margin-bottom: 12px;
            border-radius: 8px;
        }

        .skeleton-button {
            width: 100%;
            height: 40px;
            border-radius: 10px;
        }

        /* Mobile Skeleton Card (270px) */
        .skeleton-mobile-card {
            padding: 14px;
            max-height: 270px;
        }

        .skeleton-mobile-logo {
            width: 35px;
            height: 35px;
            border-radius: 0px;
        }

        .skeleton-mobile-old-price {
            width: 60px;
            height: 12px;
            border-radius: 0px;
            margin-left: auto;
        }

        .skeleton-mobile-price {
            width: 80px;
            height: 20px;
            border-radius: 0px;
            margin-left: auto;
        }

        .skeleton-mobile-label {
            width: 50px;
            height: 18px;
            border-radius: 0px;
        }

        .skeleton-mobile-time {
            width: 60px;
            height: 36px;
            border-radius: 0px;
        }

        .skeleton-mobile-arrow {
            width: 16px;
            height: 16px;
            border-radius: 0px;
        }

        .skeleton-mobile-duration {
            width: 70px;
            height: 22px;
            border-radius: 0px;
        }

        .skeleton-mobile-info {
            width: 100%;
            height: 16px;
            border-radius: 0px;
            margin: 10px 0;
        }

        .skeleton-mobile-icon {
            width: 40px;
            height: 40px;
            border-radius: 0px;
        }

        .skeleton-mobile-continue {
            flex-grow: 1;
            height: 40px;
            border-radius: 0px;
        }

        /* Modal Content Skeleton */
        .skeleton-modal-header {
            width: 220px;
            height: 32px;
            margin-bottom: 18px;
            border-radius: 0px;
        }

        .skeleton-modal-text {
            width: 100%;
            height: 18px;
            margin-bottom: 10px;
            border-radius: 0px;
        }

        .skeleton-modal-text.short {
            width: 65%;
        }

        /* Skeleton Loading Indicator */
        #skeletonLoader {
            animation: fadeIn 0.3s ease-in;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        /* Enhanced Filter Sidebar */
        .filter-card-enhanced {
            background: var(--primary-color);
            border: none;
            border-radius: 0px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
            margin-bottom: 16px;
        }

        .filter-header-enhanced {
            background: var(--primary-color);
            border-bottom: none;
            border-radius: 0;
            padding: 16px 20px;
        }

        .filter-header-enhanced h6 {
            color: var(--primary-color);
            font-weight: 600;
            margin: 0;
            font-size: 14px;
        }

        /* Air France Filter Styles */
        .filters-sidebar-af {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        .af-filter-card {
            background: #ffffff;
            border: none;
            border-radius: 0px;
            box-shadow: 0 2px 8px rgba(0, 80, 157, 0.06);
            margin-bottom: 16px;
            overflow: hidden;
            transition: all 0.3s ease;
            position: relative;
        }

        .af-filter-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--primary-color);
        }

        .af-filter-header {
            background: var(--primary-color);
            border-bottom: none;
            padding: 16px 20px;
        }

        .af-filter-title {
            color: #1e293b;
            font-weight: 700;
            margin: 0;
            font-size: 18px;
        }

        .af-filter-subtitle {
            color: #334155;
            font-weight: 600;
            margin: 0;
            font-size: 15px;
        }

        .af-filter-badge {
            background: var(--primary-color);
            color: white;
            font-size: 11px;
            font-weight: 700;
            padding: 4px 8px;
            border-radius: 0;
            min-width: 20px;
            text-align: center;
        }

        .af-filter-content {
            padding: 20px;
        }

        /* Price Display */
        .af-price-display {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        /* Range Sliders - Bootstrap 5.3 Compatible */
        .af-dual-range-container {
            position: relative;
            margin: 16px 0;
            height: 40px;
            display: flex;
            align-items: center;
        }

        .af-dual-range-track {
            height: 4px;
            background: #e8f0f7;
            border-radius: 2px;
            position: relative;
            width: 100%;
            z-index: 1;
        }

        .af-dual-range-fill {
            height: 100%;
            background: var(--primary-color);
            border-radius: 2px;
            position: absolute;
            z-index: 2;
        }

        .af-dual-range-input {
            position: absolute;
            width: 100%;
            height: 4px;
            background: transparent;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            pointer-events: auto;
            cursor: pointer;
            z-index: 3;
            top: 75%;
            transform: translateY(-50%);
            margin: 0;
            padding: 0;
            outline: none;
            border: none;
        }

        .af-dual-range-input::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            height: 18px;
            width: 18px;
            border-radius: 50%;
            background: #ffffff;
            cursor: pointer;
            pointer-events: all;
            border: 3px solid var(--primary-color);
            box-shadow: 0 2px 8px rgba(183, 205, 59, 0.3);
            position: relative;
            z-index: 4;
            transition: all 0.2s ease;
        }

        .af-dual-range-input::-moz-range-thumb {
            height: 18px;
            width: 18px;
            border-radius: 50%;
            background: #ffffff;
            cursor: pointer;
            border: 3px solid var(--primary-color);
            box-shadow: 0 2px 8px rgba(183, 205, 59, 0.3);
            -moz-appearance: none;
            transition: all 0.2s ease;
        }

        .af-dual-range-input:focus {
            outline: none;
        }

        .af-dual-range-input:focus::-webkit-slider-thumb {
            box-shadow: 0 0 0 4px rgba(183, 205, 59, 0.15), 0 2px 8px rgba(183, 205, 59, 0.3);
            transform: scale(1.1);
        }

        .af-dual-range-input:focus::-moz-range-thumb {
            box-shadow: 0 0 0 4px rgba(183, 205, 59, 0.15), 0 2px 8px rgba(183, 205, 59, 0.3);
            transform: scale(1.1);
        }

        .af-dual-range-input::-webkit-slider-thumb:hover {
            transform: scale(1.15);
            box-shadow: 0 3px 12px rgba(183, 205, 59, 0.4);
        }

        .af-dual-range-input::-moz-range-thumb:hover {
            transform: scale(1.15);
            box-shadow: 0 3px 12px rgba(183, 205, 59, 0.4);
        }

        /* Time Buttons */
        .af-time-buttons {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .af-time-btn {
            background: rgba(248, 250, 252, 0.5);
            border: none;
            border-radius: 0px;
            padding: 12px 16px;
            font-size: 14px;
            font-weight: 500;
            color: #475569;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            cursor: pointer;
            text-align: left;
        }

        .af-time-btn:hover {
            background: rgba(200, 220, 240, 0.05);
            
            color: var(--primary-color);
        }

        .af-time-btn.active {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: var(--primary-color);
            box-shadow: 0 2px 8px rgba(200, 220, 240, 0.2);
        }

        /* Radio Groups */
        .af-radio-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .af-radio-item {
            position: relative;
        }

        .af-radio-input {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }

        .af-radio-label {
            display: flex;
            align-items: center;
            padding: 12px 16px;
            background: rgba(248, 250, 252, 0.5);
            border: none;
            border-radius: 0px;
            font-size: 14px;
            font-weight: 500;
            color: #475569;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .af-radio-label:hover {
            background: rgba(200, 220, 240, 0.05);
            
            color: var(--primary-color);
        }

        .af-radio-input:checked + .af-radio-label {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: var(--primary-color);
            box-shadow: 0 2px 8px rgba(200, 220, 240, 0.2);
        }

        /* Airlines List */
        .af-airlines-list {
            max-height: 300px;
            overflow-y: auto;
        }

        .af-airline-item {
            position: relative;
        }

        .af-checkbox {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }

        .af-airline-label {
            display: flex;
            align-items: center;
            padding: 12px 16px;
            border-bottom: none;
            cursor: pointer;
            transition: all 0.3s ease;
            gap: 12px;
        }

        .af-airline-label:hover {
            background: rgba(200, 220, 240, 0.03);
        }

        .af-checkbox:checked + .af-airline-label {
            background: var(--primary-color);
            border-left: none;
        }

        .af-airline-logo {
            width: 32px;
            height: 32px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .af-logo-image {
            width: 100%;
            height: 100%;
            border-radius: 0;
            object-fit: contain;
            border: none;
        }

        .af-airline-info {
            flex-grow: 1;
        }

        .af-airline-name {
            font-size: 14px;
            font-weight: 600;
            color: #334155;
            margin-bottom: 2px;
        }

        .af-airline-count {
            background: var(--primary-color);
            color: white;
            font-size: 11px;
            font-weight: 600;
            padding: 4px 8px;
            border-radius: 0px;
            min-width: 24px;
            text-align: center;
        }

        .af-airlines-count {
            background: rgba(200, 220, 240, 0.1);
            color: var(--primary-color);
            font-size: 11px;
            font-weight: 600;
            padding: 4px 8px;
            border-radius: 0px;
        }

        /* Air France Modal Styles (Bootstrap 4.6 Offcanvas Alternative) */
        .af-modal-content {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            border: none;
            border-radius: 0;
            height: 100vh;
            margin: 0;
            box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        }

        .af-modal-content .modal-body {
            background: #f8f9fa;
            padding: 20px;
        }

        .modal-dialog-slideIn {
            transition: transform 0.3s ease-in-out;
            margin: 0 !important;
            height: 100vh;
        }

        .modal.fade .modal-dialog-slideIn {
            transform: translateX(100%);
        }

        .modal.show .modal-dialog-slideIn {
            transform: translateX(0);
        }

        .modal-backdrop {
            background-color: rgba(0, 0, 0, 0.5);
        }

        .af-offcanvas-header {
            padding: 20px;
            position: relative;
            background: white;
            border-bottom: 1px solid #e8ecf0;
            border-left: 6px solid var(--primary-color);
        }

        .af-offcanvas-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--primary-color);
        }

        .af-offcanvas-header-content {
            flex-grow: 1;
        }

        .af-offcanvas-title {
            color: var(--secondary-color);
            font-weight: 700;
            margin: 0;
            font-size: 20px;
            letter-spacing: -0.5px;
        }

        .af-offcanvas-subtitle {
            color: #64748b;
            font-size: 14px;
            font-weight: 500;
            margin: 4px 0 0 0;
            letter-spacing: 0;
        }

        .af-btn-close {
            background: rgba(2, 40, 92, 0.05);
            border: 1px solid rgba(2, 40, 92, 0.15);
            border-radius: 0;
            width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--secondary-color);
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            font-weight: 700;
        }

        .af-btn-close:hover {
            background: rgba(2, 40, 92, 0.1);
            border-color: var(--secondary-color);
            transform: scale(1.05);
            box-shadow: 0 2px 8px rgba(2, 40, 92, 0.15);
        }

        /* Air France Action Buttons */
        .af-action-buttons {
            margin-top: 8px;
        }

        .af-btn-apply {
            background: var(--primary-color);
            border: none;
            color: white;
            padding: 12px 20px;
            border-radius: 0;
            font-size: 13px;
            font-weight: 700;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 12px rgba(183, 205, 59, 0.25);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            position: relative;
            overflow: hidden;
        }

        .af-btn-apply::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--primary-color);
            transition: left 0.6s ease;
        }

        .af-btn-apply:hover {
            background: var(--primary-color);
            transform: translateY(-2px) scale(1.02);
            box-shadow: 0 8px 20px rgba(183, 205, 59, 0.4);
        }

        .af-btn-apply:hover::before {
            left: 100%;
        }

        .af-btn-apply:active {
            transform: translateY(-1px) scale(1.01);
            background: var(--primary-color);
        }

        .af-btn-clear {
            background: rgba(248, 250, 252, 0.8);
            border: none;
            color: #64748b;
            padding: 12px 20px;
            border-radius: 0px;
            font-size: 14px;
            font-weight: 600;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }

        .af-btn-clear:hover {
            background: var(--primary-light);
            border-color: var(--primary-color);
            color: var(--primary-color);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(183, 205, 59, 0.2);
        }

        .af-btn-clear:active {
            transform: translateY(0);
        }

        /* Mobile Compact Booking Card (150px) */
        .mobile-compact-card {
            background: #ffffff;
            border-radius: 0px;
            padding: 14px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
            max-height: 270px;
            border-left: 4px solid var(--primary-color);
            margin-bottom: 14px;
        }

        .mobile-card-content {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .mobile-airline-logo {
            object-fit: contain;
            border: 1px solid #e5e7eb;
        }

        /* Price Section with Old Price */
        .mobile-price-section {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 2px;
        }

        .mobile-old-price {
            font-size: 11px;
            color: #9ca3af;
            text-decoration: line-through;
            font-weight: 500;
        }

        .mobile-price-badge {
            font-size: 18px;
            font-weight: 800;
            color: var(--info-color);
            white-space: nowrap;
        }

        /* Flight Row (Aller/Retour) */
        .mobile-flight-row {
            font-size: 12px;
        }

        .mobile-segment-label {
            font-size: 10px;
            font-weight: 700;
            color: var(--secondary-color);
            background: rgba(2, 40, 92, 0.08);
            padding: 3px 8px;
            border-radius: 0px;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .mobile-time-location {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
        }

        .mobile-time {
            font-size: 14px;
            font-weight: 700;
            color: #1a1a2e;
        }

        .mobile-code {
            font-size: 10px;
            font-weight: 600;
            color: #6b7280;
        }

        .mobile-arrow {
            color: #d1d5db;
            font-size: 12px;
        }

        .mobile-duration-badge {
            font-size: 10px;
            font-weight: 600;
            color: var(--secondary-color);
            background: rgba(183, 205, 59, 0.1);
            padding: 4px 8px;
            border-radius: 0px;
            white-space: nowrap;
        }

        /* Info Line */
        .mobile-info-line {
            font-size: 10px;
            color: #6b7280;
            text-align: center;
            padding-top: 6px;
            border-top: 1px dashed #e5e7eb;
        }

        /* Action Buttons */
        .mobile-actions-row {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        /* Icon-Only Buttons (Details & Share) */
        .btn-mobile-icon {
            background: #f3f4f6;
            border: 1px solid #e5e7eb;
            color: var(--secondary-color);
            padding: 10px;
            border-radius: 0px;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            min-width: 40px;
            height: 40px;
        }

        .btn-mobile-icon:active {
            transform: scale(0.95);
            background: #e5e7eb;
        }

        .btn-mobile-icon i {
            font-size: 16px;
        }

        /* Continue Button */
        .btn-mobile-continue-v2 {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            border: none;
            color: white;
            padding: 10px 18px;
            border-radius: 0px;
            font-size: 13px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            flex-grow: 1;
            transition: all 0.2s ease;
            box-shadow: 0 3px 10px rgba(183, 205, 59, 0.3);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .btn-mobile-continue-v2:active {
            transform: scale(0.98);
            box-shadow: 0 2px 6px rgba(183, 205, 59, 0.35);
        }

        .btn-mobile-continue-v2 i {
            font-size: 12px;
        }

        /* Mobile Booking-Style Footer */
        .mobile-booking-footer {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border-top: 2px solid var(--primary-color);
            padding: 16px;
            margin-top: 12px;
            border-radius: 0px;
            box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
        }

        .btn-mobile-share {
            background: #ffffff;
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            padding: 14px 20px;
            border-radius: 0px;
            font-size: 14px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            min-width: 120px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 2px 8px rgba(183, 205, 59, 0.15);
        }

        .btn-mobile-share:hover {
            background: var(--primary-light);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(183, 205, 59, 0.25);
        }

        .btn-mobile-share:active {
            transform: translateY(0);
        }

        .btn-mobile-share i {
            font-size: 16px;
        }

        .btn-mobile-continue {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
            border: none;
            color: white;
            padding: 14px 24px;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-transform: uppercase;
            letter-spacing: 0.8px;
            box-shadow: 0 4px 16px rgba(183, 205, 59, 0.3);
            position: relative;
            overflow: hidden;
        }

        .btn-mobile-continue::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.6s ease;
        }

        .btn-mobile-continue:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(183, 205, 59, 0.4);
        }

        .btn-mobile-continue:hover::before {
            left: 100%;
        }

        .btn-mobile-continue:active {
            transform: translateY(-1px);
            box-shadow: 0 3px 12px rgba(183, 205, 59, 0.35);
        }

        .btn-mobile-continue i {
            font-size: 14px;
            transition: transform 0.3s ease;
        }

        .btn-mobile-continue:hover i {
            transform: translateX(3px);
        }

        /* Minimized Offcanvas Flight Details */
        .flight-segment-mini {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid #e8ecf0 !important;
            background: #ffffff !important;
            padding: 20px !important;
            margin-bottom: 16px !important;
            border-radius: 12px !important;
            box-shadow: 0 2px 8px rgba(3, 58, 137, 0.06) !important;
        }

        .flight-segment-mini:hover {
            box-shadow: 0 4px 16px rgba(183, 205, 59, 0.12) !important;
            transform: translateY(-2px);
            border-color: rgba(183, 205, 59, 0.15) !important;
        }

        .flight-segment-mini .row {
            --bs-gutter-x: 0.5rem;
        }

        .airline-logo-tiny {
            object-fit: contain;
            border: none;
        }

        .flight-path-mini hr {
            margin: 4px 0;
            opacity: 0.5;
            border-color: #6c757d;
        }

        .layover-mini {
            border-left: 4px solid var(--primary-color);
            border-radius: 0 8px 8px 0;
            padding: 12px 16px;
            margin: 12px 0;
        }

        /* Responsive modal adjustments */
        @media (max-width: 768px) {
            .modal-dialog-slideIn {
                max-width: 100% !important;
                width: 100% !important;
            }

            .af-offcanvas-header {
                padding: 12px 16px;
            }

            .af-offcanvas-title {
                font-size: 16px;
            }
        }

        /* Air France Flight Details Styles */
        .af-flight-segment {
            background: #ffffff;
            border: 1px solid #e8ecf0;
            border-radius: 12px;
            margin-bottom: 24px;
            overflow: hidden;
            box-shadow: 0 4px 16px rgba(183, 205, 59, 0.08);
            position: relative;
            transition: all 0.3s ease;
        }

        .af-flight-segment:hover {
            box-shadow: 0 6px 24px rgba(183, 205, 59, 0.12);
            transform: translateY(-2px);
        }

        .af-flight-segment::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--primary-color);
            border-radius: 12px 12px 0 0;
        }

        .af-first-segment {
            margin-top: 0;
        }

        /* Segment Header */
        .af-segment-header {
            background: var(--primary-color);
            padding: 24px;
            border-bottom: 1px solid #e8ecf0;
            display: flex;
            align-items: center;
            justify-content: between;
        }

        .af-segment-number {
            display: flex;
            align-items: center;
            flex-grow: 1;
        }

        .af-segment-badge {
            width: 52px;
            height: 52px;
            border-radius: 12px;
            background: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            box-shadow: 0 4px 16px rgba(183, 205, 59, 0.25);
            transition: all 0.3s ease;
        }

        .af-segment-badge:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(3, 58, 137, 0.35);
        }

        .af-segment-index {
            color: white;
            font-size: 20px;
            font-weight: 800;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .af-segment-info {
            flex-grow: 1;
        }

        .af-segment-title {
            color: #1a1a2e;
            font-weight: 700;
            margin: 0 0 6px 0;
            font-size: 20px;
        }

        .af-segment-route {
            color: #64748b;
            font-size: 15px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .af-segment-route i {
            color: var(--primary-color);
            font-size: 12px;
        }

        .af-duration-badge {
            background: var(--primary-color);
            border: 1px solid rgba(183, 205, 59, 0.25);
            border-radius: 20px;
            padding: 10px 20px;
            color: var(--primary-color);
            font-weight: 700;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 2px 8px rgba(183, 205, 59, 0.08);
        }

        .af-duration-badge i {
            font-size: 14px;
        }

        /* Airline Section */
        .af-airline-section {
            padding: 24px;
            border-bottom: 1px solid #e8ecf0;
            display: flex;
            align-items: center;
            flex-direction: column;
            text-align: center;
            min-width: 90px;
            background: var(--primary-color);
        }

        .af-airline-logo-section {
            margin-right: 20px;
            margin-bottom: 12px;
        }

        .af-airline-logo-detail {
            width: 72px;
            height: 72px;
            border-radius: 12px;
            object-fit: contain;
            border: 2px solid #ffffff;
            box-shadow: 0 4px 16px rgba(183, 205, 59, 0.12);
            background: #ffffff;
            padding: 8px;
            transition: all 0.3s ease;
        }

        .af-airline-logo-detail:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(3, 58, 137, 0.18);
        }

        .af-airline-details-section {
            flex-grow: 1;
        }

        .af-flight-info {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        .af-flight-badge {
            background: var(--primary-color);
            color: white;
            padding: 8px 16px;
            border-radius: 16px;
            font-weight: 700;
            font-size: 13px;
            box-shadow: 0 2px 8px rgba(183, 205, 59, 0.2);
            transition: all 0.3s ease;
        }

        .af-flight-badge:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(183, 205, 59, 0.3);
        }

        .af-aircraft-info {
            color: #64748b;
            font-size: 14px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .af-aircraft-info i {
            color: var(--primary-color);
            font-size: 13px;
        }

        /* Route Details */
        .af-route-details {
            padding: 32px 24px;
            display: flex;
            align-items: center;
            gap: 24px;
            background: #fafbfc;
        }

        .af-departure-section,
        .af-arrival-section {
            flex: 1;
        }

        .af-location-card {
            background: #ffffff;
            border: 2px solid #e8ecf0;
            border-radius: 16px;
            padding: 24px;
            text-align: center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 2px 8px rgba(3, 58, 137, 0.04);
        }

        .af-location-card:hover {
            border-color: rgba(183, 205, 59, 0.3);
            box-shadow: 0 4px 16px rgba(183, 205, 59, 0.12);
            transform: translateY(-2px);
        }

        .af-departure-card {
            border-color: #e8ecf0;
            background: var(--primary-color);
        }

        .af-arrival-card {
            border-color: #e8ecf0;
            background: var(--primary-color);
        }

        .af-time-large {
            font-size: 36px;
            font-weight: 800;
            color: #1a1a2e;
            margin-bottom: 12px;
            letter-spacing: -1px;
        }

        .af-airport-code {
            font-size: 22px;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .af-airport-name {
            color: #64748b;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 12px;
            line-height: 1.5;
        }

        .af-date-badge {
            background: rgba(248, 250, 252, 0.8);
            border: none;
            border-radius: 20px;
            padding: 6px 12px;
            color: #64748b;
            font-size: 12px;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
        }

        /* Flight Path Visualization */
        .af-path-section {
            flex: 0 0 120px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .af-flight-path-visual {
            position: relative;
            width: 100%;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .af-path-line {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--primary-color);
            transform: translateY(-50%);
            border-radius: 2px;
        }

        .af-plane-indicator {
            position: relative;
            z-index: 1;
        }

        .af-plane-icon {
            width: 40px;
            height: 40px;
            background: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 16px;
            box-shadow: 0 4px 12px rgba(200, 220, 240, 0.3);
        }

        .af-flight-duration {
            position: absolute;
            bottom: -25px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(248, 250, 252, 0.95);
            border: none;
            border-radius: 12px;
            padding: 4px 8px;
            font-size: 11px;
            font-weight: 600;
            color: #64748b;
            white-space: nowrap;
        }

        /* Layover Section */
        .af-layover-section {
            margin: 16px 24px;
        }

        .af-layover-card {
            background: var(--primary-color);
            border: 1px solid rgba(183, 205, 59, 0.2);
            border-radius: 12px;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .af-layover-icon {
            width: 40px;
            height: 40px;
            background: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 16px;
        }

        .af-layover-info {
            flex-grow: 1;
        }

        .af-layover-title {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 4px;
            display: flex;
            align-items: center;
        }

        .af-layover-airport {
            color: #64748b;
            font-size: 13px;
            font-weight: 500;
        }

        .af-layover-duration {
            background: var(--primary-color);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 13px;
            display: flex;
            align-items: center;
        }

        /* Enhanced No Results */
        .no-results-enhanced {
            background: var(--primary-color);
            border: none;
            border-radius: 20px;
            padding: 60px 40px;
            text-align: center;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        }

        .no-results-icon {
            width: 80px;
            height: 80px;
            background: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
        }

        /* Air France Compact Flight Card Styles */
        .flight-card-airfrance {
            background: #ffffff;
            border: 1px solid #e8ecf0;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(3, 58, 137, 0.06);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            margin-bottom: 20px;
            max-height: 200px;
        }

        .flight-card-airfrance:hover {
            box-shadow: 0 6px 20px rgba(183, 205, 59, 0.12);
            transform: translateY(-3px);
        }

        /* Template Colors */
        .text-template-orange {
            color: var(--primary-color) !important;
        }

        .text-template-blue {
            color: var(--primary-color) !important;
        }

        /* Single Row Layout */
        .af-flight-row {
            display: flex;
            align-items: center;
            padding: 20px 24px;
            gap: 20px;
            min-height: 130px;
            max-height: 200px;
        }

        .af-logo-img {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            object-fit: contain;
            border: 2px solid #ffffff;
            box-shadow: 0 4px 12px rgba(183, 205, 59, 0.12);
            background: #ffffff;
            padding: 4px;
        }

        /* Route Section */
        .af-route-section {
            display: flex;
            align-items: center;
            flex: 1;
            gap: 16px;
            padding: 0 12px;
        }

        .af-departure-compact,
        .af-arrival-compact {
            text-align: center;
            min-width: 70px;
            padding: 8px 12px;
            background: transparent;
            border: none;
            border-radius: 8px;
        }

        /* Flight Path Compact */
        .af-path-compact {
            flex: 1;
            text-align: center;
            max-width: 140px;
            padding: 8px;
        }

        .af-duration-compact {
            font-size: 13px;
            color: #64748b;
            font-weight: 700;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
            justify-content: center;
        }

        .af-line-compact {
            display: flex;
            align-items: center;
            margin-bottom: 4px;
            position: relative;
            margin: 6px 0;
            justify-content: center;
            height: 24px;
        }

        .af-dot-compact {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--primary-color);
            position: relative;
            box-shadow: 0 0 0 3px var(--primary-light);
        }

        .af-connector-compact {
            flex: 1;
            height: 3px;
            background: var(--primary-color);
            margin: 0 10px;
            position: relative;
            opacity: 0.8;
            flex-grow: 1;
            border-radius: 2px;
        }

        .af-plane-compact {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 4px;
            border-radius: 50%;
            color: var(--primary-color);
            font-size: 12px;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(183, 205, 59, 0.2);
        }

        /* Price Section Compact */
        .af-price-compact {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            min-width: 140px;
            gap: 8px;
            padding: 12px 16px;
            background: var(--primary-color);
            border-radius: 8px;
        }

        .af-price-section-enhanced {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 8px;
        }

        .af-price-icon {
            color: var(--primary-color);
            font-size: 18px;
            animation: pulse 2s infinite;
        }

        .af-price-amount {
            font-size: 26px;
            font-weight: 900;
            color: var(--info-color) ;
            text-shadow: 0 2px 4px rgba(183, 205, 59, 0.15);
            position: relative;
            font-family: 'SF Mono', monospace;
            letter-spacing: -0.5px;
        }

        @keyframes pulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.7;
            }
        }

        @keyframes ripple {
            0% {
                transform: scale(0.8);
                opacity: 1;
            }
            100% {
                transform: scale(2);
                opacity: 0;
            }
        }

        /* Compact AirFrance-style Segment Design */
        .flight-segments-container {
            padding: 12px 16px;
            margin: 0;
            background: #fafbfc;
            border-radius: 8px;
        }

 

        /* Compact Flight Duration */
        .flight-duration {
            font-size: 13px;
            font-weight: 700;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 4px;
            font-family: 'SF Mono', monospace;
            background: rgba(3, 58, 137, 0.06);
            padding: 4px 10px;
            border-radius: 12px;
            display: inline-flex;
        }

        .flight-duration i {
            font-size: 11px;
            color: var(--primary-color);
        }

        /* Modern Details Button */
        .af-btn-details {
            background: rgba(2, 40, 92, 0.08);
            border: 1px solid rgba(2, 40, 92, 0.15);
            color: var(--secondary-color);
            padding: 8px 16px;
            border-radius: 24px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.7px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(2, 40, 92, 0.06);
        }

        .af-btn-details::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(2, 40, 92, 0.05);
            transition: left 0.6s ease;
        }

        .af-btn-details:hover {
            background: rgba(2, 40, 92, 0.12);
            border-color: rgba(2, 40, 92, 0.25);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(2, 40, 92, 0.15);
            color: var(--secondary-color);
        }

        .af-btn-details:hover::before {
            left: 100%;
        }

        .af-btn-details:active {
            transform: translateY(0);
            box-shadow: 0 3px 10px rgba(2, 40, 92, 0.2);
        }

        .af-btn-details i {
            font-size: 13px;
            transition: transform 0.3s ease;
        }

        .af-btn-details:hover i {
            transform: rotate(90deg) scale(1.15);
        }

        /* Mobile version */
        .af-details-mobile {
            color: var(--primary-color);
            font-size: 18px;
            padding: 8px;
            border-radius: 50%;
            background: var(--primary-light);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .af-details-mobile:hover {
            background: rgba(183, 205, 59, 0.2);
            transform: scale(1.1) rotate(90deg);
            color: var(--primary-color);
        }

        .af-price-label {
            font-size: 11px;
            color: #64748b;
            font-weight: 600;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 3px;
        }

        /* Glass Button */
        .af-btn-glass {
            background: var(--primary-color);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(200, 220, 240, 0.3);
            color: #a8c5d6;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 700;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(200, 220, 240, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 6px;
            position: relative;
            overflow: hidden;
        }

        .af-btn-glass::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--primary-color);
            transition: left 0.5s ease;
        }

        .af-btn-glass:hover {
            background: var(--primary-color);
            border-color: rgba(200, 220, 240, 0.5);
            color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(200, 220, 240, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .af-btn-glass:hover::before {
            left: 100%;
        }

        .af-btn-glass:active {
            transform: translateY(-1px);
        }

        /* Compact Responsive Design */
        @media (max-width: 768px) {
            .af-flight-row {
                flex-direction: column;
                gap: 12px;
                padding: 12px 16px;
                min-height: auto;
            }

            .af-airline-section {
                flex-direction: row;
                min-width: auto;
                align-items: center;
                gap: 8px;
            }

            .af-route-section {
                flex-direction: column;
                gap: 8px;
                width: 100%;
            }

            .af-path-compact {
                order: -1;
                max-width: none;
            }

            .af-plane-compact {
                transform: translate(-50%, -50%) rotate(180deg);
            }

            .af-price-compact {
                min-width: auto;
                width: 100%;
            }

            .af-btn-glass {
                width: 100%;
                padding: 10px 16px;
                justify-content: center;
            }
        }

        @media (max-width: 480px) {
            .af-flight-row {
                padding: 10px 12px;
            }

            .af-time-compact {
                font-size: 18px;
            }

            .af-code-compact {
                font-size: 13px;
            }

            .af-price-amount {
                font-size: 20px;
            }

            .af-airline-code {
                font-size: 13px;
            }

            .af-duration-compact {
                font-size: 12px;
            }

            .af-btn-glass {
                font-size: 12px;
                padding: 8px 14px;
            }
        }

        /* MODERN HORIZONTAL FILTERS BAR - ENHANCED */
        .filters-bar-modern {
            display: flex;
            
            justify-content: space-around ;
            background: #ffffff;
            border: none;
            padding: 16px 20px;
            margin-bottom: 24px;
            position: relative;
            z-index: 100;
        }

        .filters-container-scroll {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        /* Filter Chips */
        .filter-chip-modern {
            position: relative;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 16px;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 0px;
            font-size: 14px;
            font-weight: 500;
            color: #495057;
            cursor: pointer;
            transition: all 0.2s ease;
            white-space: nowrap;
            flex-shrink: 0;
            user-select: none;
        }

        .filter-chip-modern:hover {
            background: var(--primary-light);
            border-color: var(--primary-color);
            transform: translateY(-1px);
        }

        .filter-chip-modern.active {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: #ffffff;
            box-shadow: 0 2px 8px rgba(183, 205, 59, 0.3);
        }

        .filter-chip-modern i:first-child {
            font-size: 16px;
            color: var(--primary-color);
        }

        .filter-chip-modern.active i:first-child {
            color: #ffffff;
        }

        .filter-label {
            font-weight: 600;
        }

        .filter-value {
            color: #6c757d;
            font-size: 13px;
        }

        .filter-chip-modern.active .filter-value {
            color: rgba(255, 255, 255, 0.9);
        }

        /* Dropdown Positioning - BELOW filter bar */
        .filter-dropdown-modern {
            position: absolute !important;
            min-width: 320px;
            max-width: 420px;
            background: #ffffff;
            border: none;
            border-radius: 12px;
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
            z-index: 9999 !important;
            display: none !important;
            padding: 8px;
            top: 100% !important;
            margin-top: 8px !important;
            left: 50%;
            transform: translateX(-50%);
        }

        .filter-dropdown-modern.show {
            display: block !important;
           /* animation: dropdownSlideIn 0.2s ease;*/
        }

        @keyframes dropdownSlideIn {
            from {
                opacity: 0;
                transform: translateX(-50%) translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateX(-50%) translateY(0);
            }
        }


        .filter-dropdown-scrollable {
            max-height: 450px;
            overflow-y: auto;
        }

        /* Dropdown Options */
        .filter-option-btn {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
            padding: 12px;
            background: transparent;
            border: 2px solid transparent;
            border-radius: 8px;
            text-align: left;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 13px;
            color: #495057;
            font-weight: 500;
        }

        .filter-option-btn:hover {
            background: rgba(183, 205, 59, 0.08);
            border-color: rgba(183, 205, 59, 0.2);
            transform: translateX(4px);
        }

        .filter-option-btn.active {
            background: rgba(183, 205, 59, 0.15);
            border-color: var(--primary-color);
            color: var(--primary-color);
            font-weight: 600;
        }

        .filter-option-btn i {
            font-size: 18px;
            color: var(--primary-color);
            flex-shrink: 0;
        }

        .filter-option-btn span:first-of-type {
            flex: 1;
        }

        .count-badge {
            background: #e9ecef;
            padding: 4px 10px;
            border-radius: 14px;
            font-size: 11px;
            font-weight: 700;
            color: #6c757d;
            flex-shrink: 0;
        }

        .filter-option-btn.active .count-badge {
            background: var(--primary-color);
            color: #ffffff;
        }

        /* Dropdown Header */
        .dropdown-header-modern {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px;
            border-bottom: 2px solid #f1f3f5;
            margin-bottom: 8px;
        }

        .dropdown-header-modern span {
            font-size: 14px;
            font-weight: 700;
            color: #495057;
        }

        .btn-clear-modern {
            background: none;
            border: none;
            color: var(--primary-color);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            padding: 6px 12px;
            border-radius: 6px;
            transition: all 0.2s ease;
        }

        .btn-clear-modern:hover {
            background: var(--primary-light);
        }

        /* Airlines with Logos */
        .airlines-list-modern {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .airline-item-modern {
            display: flex;
            align-items: center;
            padding: 10px 12px;
            cursor: pointer;
            border-radius: 8px;
            transition: all 0.2s ease;
            border: 2px solid transparent;
        }

        .airline-item-modern:hover {
            background: rgba(183, 205, 59, 0.08);
            border-color: rgba(183, 205, 59, 0.2);
        }

        .airline-item-modern input[type="checkbox"] {
            width: 20px;
            height: 20px;
            cursor: pointer;
            margin-right: 12px;
            accent-color: var(--primary-color);
        }

        .airline-logo-modern {
            width: 32px;
            height: 32px;
            border-radius: 6px;
            object-fit: contain;
            background: #f8f9fa;
            padding: 4px;
            margin-right: 12px;
        }

        .airline-name-modern {
            flex: 1;
            font-size: 13px;
            font-weight: 500;
            color: #495057;
        }

        /* Price Range */
        .price-range-compact {
            padding: 20px;
        }

        .price-display-modern {
            text-align: center;
            font-size: 15px;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 20px;
            padding: 8px 16px;
            background: #f8fafc;
            border-radius: 8px;
            letter-spacing: 0.5px;
        }

        /* Reset Button */
        .btn-reset-modern {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 10px 18px;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 0px;
            font-size: 14px;
            font-weight: 600;
            color: #6c757d;
            cursor: pointer;
            transition: all 0.2s ease;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .btn-reset-modern:hover {
            background: #fff5f5;
            border-color: #fca5a5;
            color: #dc2626;
            transform: translateY(-1px);
        }

        .btn-reset-modern i {
            font-size: 16px;
        }

        @keyframes pulse-success {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
                box-shadow: 0 0 0 3px rgba(183, 205, 59, 0.3);
            }
        }

        .animate-pulse-success {
            animation: pulse-success 0.5s ease;
        }

        /* ========================================
       CRITICAL FIX: DROPDOWN VISIBILITY
       ======================================== */

        /* Force dropdowns to be above everything */
        .filter-dropdown-modern {
            position: absolute !important;
            z-index: 99999 !important;
            display: none !important;
        }

        .filter-dropdown-modern.show {
            display: block !important;
        }

        /* Ensure parent containers don't clip dropdowns */
        .filters-bar-modern {
            overflow: visible !important;
        }

        .container,
        .max-w-7xl,
        section.py-6 {
            overflow: visible !important;
        }

        /* ========================================
               ENHANCED PRICE SLIDER - REMOVED DUPLICATE
               Using single clean design from above
               ======================================== */

        /* Mobile Filters Modal Styles */
        .modal-filters {
            max-width: 360px;
            margin-left: auto;
            margin-right: auto;
        }

        .modal-filters .modal-content {
            height: 100vh;
            border-radius: 0;
        }

        .mobile-filters-header {
        
            border-bottom: none;
            padding: 20px;
        }

        .mobile-filters-footer {
            padding: 16px;
            border-top: 1px solid #e9ecef;
            display: flex;
            gap: 12px;
            background: white;
        }

        @media (max-width: 576px) {
            .modal-filters {
                max-width: 100%;
                margin: 0;
            }

            .modal-filters .modal-dialog {
                margin: 0;
                height: 100%;
            }
        }
        @media (max-width: 991px) {
            /* Start filters hidden on mobile */
            .filters-bar-modern {
                display: none;  /* No !important - allows jQuery to toggle */
            }
        }


        @media (min-width: 992px) {
            /* Keep desktop filters as-is */
            .filters-bar-modern {
                display: flex !important;
            }
        }

        /* Mobile Offcanvas Filters */
        .offcanvas {
            max-width: 320px;
        }

        .offcanvas-header {
            background: var(--primary-color);
            border-bottom: none;
            padding: 20px;
        }

        .offcanvas-title {
            color: #1e293b;
            font-weight: 700;
            font-size: 20px;
            display: flex;
            align-items: center;
        }

        .mobile-filters-wrapper {
            padding: 16px;
        }

        .mobile-filter-section {
            background: white;
            border: none;
            border-radius: 12px;
            margin-bottom: 16px;
            overflow: hidden;
        }

        .mobile-filter-header {
            background: #f8f9fa;
            padding: 14px 16px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
            font-size: 15px;
            color: #1e293b;
            border-bottom: none;
        }

        .mobile-filter-header i {
            font-size: 18px;
        }

        .mobile-filter-content {
            padding: 16px;
        }

        /* Mobile Price Slider */
        .price-display-mobile {
            text-align: center;
            font-size: 16px;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 20px;
        }

        .mobile-range-container {
            position: relative;
            height: 40px;
            display: flex;
            align-items: center;
        }

        .mobile-range-track {
            height: 6px;
            background: #e9ecef;
            border-radius: 3px;
            width: 100%;
            position: relative;
        }

        .mobile-range-fill {
            height: 100%;
            background: var(--primary-color);
            border-radius: 3px;
            position: absolute;
        }

        .mobile-range-input {
            position: absolute;
            width: 100%;
            -webkit-appearance: none;
            appearance: none;
            background: transparent;
            pointer-events: auto;
            top: 50%;
            transform: translateY(-50%);
        }

        .mobile-range-input::-webkit-slider-thumb {
            -webkit-appearance: none;
            height: 22px;
            width: 22px;
            border-radius: 50%;
            background: var(--primary-color);
            cursor: pointer;
            border: 3px solid #ffffff;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
        }

        /* Mobile Radio Groups */
        .mobile-radio-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .mobile-radio-item {
            display: block;
            cursor: pointer;
        }

        .mobile-radio-item input[type="radio"] {
            display: none;
        }

        .mobile-radio-label {
            display: flex;
            align-items: center;
            padding: 12px;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            transition: all 0.2s;
            gap: 10px;
        }

        .mobile-radio-item input:checked + .mobile-radio-label {
            background: var(--primary-light);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        .mobile-count-badge {
            margin-left: auto;
            background: #e9ecef;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
        }

        /* Mobile Time Buttons */
        .mobile-time-buttons {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .mobile-time-btn {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            transition: all 0.2s;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            color: #475569;
        }

        .mobile-time-btn.active {
            background: var(--primary-light);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        /* Mobile Airlines */
        .mobile-airlines-count {
            margin-left: auto;
            background: rgba(183, 205, 59, 0.2);
            color: var(--primary-color);
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
        }

        .mobile-clear-airlines {
            width: 100%;
            padding: 8px;
            background: #fff5f5;
            border: 1px solid #fca5a5;
            border-radius: 6px;
            color: #dc2626;
            font-size: 13px;
            font-weight: 500;
            margin-bottom: 12px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .mobile-airlines-list {
            max-height: 300px;
            overflow-y: auto;
        }

        .mobile-airline-item {
            display: flex;
            align-items: center;
            padding: 10px;
            border-bottom: none;
            cursor: pointer;
            transition: all 0.2s;
        }

        .mobile-airline-item:hover {
            background: #f8f9fa;
        }

        .mobile-airline-item input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin-right: 12px;
            accent-color: var(--primary-color);
        }

        .mobile-airline-logo {
            width: 28px;
            height: 28px;
            margin-right: 10px;
            border-radius: 4px;
            object-fit: contain;
            background: #f8f9fa;
            padding: 2px;
        }

        .mobile-airline-name {
            flex: 1;
            font-size: 13px;
            font-weight: 500;
            color: #495057;
        }

        .mobile-airline-count {
            background: #e9ecef;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 11px;
            font-weight: 600;
            color: #6c757d;
        }

        /* Offcanvas Footer */
        .offcanvas-footer {
            padding: 16px;
            border-top: 1px solid #e9ecef;
            display: flex;
            gap: 12px;
            background: white;
        }

        .mobile-reset-btn {
            flex: 1;
            padding: 12px;
            background: #f8f9fa;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            color: #6c757d;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        .mobile-reset-btn:hover {
            background: #fff5f5;
            border-color: #fca5a5;
            color: #dc2626;
        }

        .mobile-apply-btn {
            flex: 1;
            padding: 12px;
            background: var(--primary-color);
            border: none;
            border-radius: 8px;
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }

        .mobile-apply-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(183, 205, 59, 0.3);
        }
        /* Enhanced Mobile Price Slider - FIX */
        .mobile-range-container {
            position: relative;
            height: 50px !important; /* Increased height */
            display: flex;
            align-items: center;
            padding: 10px 0; /* Added padding */
            margin: 10px 0;
        }

        .mobile-range-track {
            height: 8px !important; /* Slightly thicker */
            background: #e9ecef;
            border-radius: 4px;
            width: 100%;
            position: relative;
            box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
        }

        .mobile-range-fill {
            height: 100%;
            background: var(--primary-color);
            border-radius: 4px;
            position: absolute;
            pointer-events: none;
            transition: all 0.2s ease;
        }

        .mobile-range-input {
            position: absolute;
            width: 100%;
            height: 8px;
            -webkit-appearance: none;
            appearance: none;
            background: transparent;
            pointer-events: auto;
            top: 50%;
            transform: translateY(-50%);
            margin: 0;
            padding: 0;
            cursor: pointer;
            z-index: 3;
        }

        /* Mobile slider thumb - Webkit (Chrome/Safari) */
        .mobile-range-input::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            height: 24px !important;
            width: 24px !important;
            border-radius: 50%;
            background: var(--primary-color);
            cursor: pointer;
            border: 3px solid #ffffff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 0 0 1px rgba(183, 205, 59, 0.3);
            pointer-events: auto;
            position: relative;
            z-index: 4;
            transition: all 0.2s ease;
        }

        .mobile-range-input::-webkit-slider-thumb:active {
            transform: scale(1.15);
            box-shadow: 0 3px 12px rgba(0,0,0,0.3), 0 0 0 2px rgba(3, 58, 137, 0.5);
        }

        /* Mobile slider thumb - Firefox */
        .mobile-range-input::-moz-range-thumb {
            height: 24px !important;
            width: 24px !important;
            border-radius: 50%;
            background: var(--primary-color);
            cursor: pointer;
            border: 3px solid #ffffff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            -moz-appearance: none;
            pointer-events: auto;
            z-index: 4;
        }

        /* Ensure second slider is on top */
        #maxPriceMobile {
            z-index: 5;
        }

        /* Mobile filter section spacing */
        .mobile-filter-content {
            padding: 20px 16px !important;
        }

        .price-display-mobile {
            text-align: center;
            font-size: 17px !important;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 24px !important;
            padding: 8px;
            background: var(--primary-light);
            border-radius: 8px;
        }

                /* Custom Color Classes */
                .bg-custom-blue { background-color: var(--primary-color) !important; }
                .bg-custom-dark-blue { background-color: var(--secondary-color) !important; }
                .bg-custom-lime { background-color: var(--info-color) !important; }
                .bg-custom-red-orange { background-color: #c8dce0 !important; }
                .bg-custom-orange { background-color: #a8c5d6 !important; }

                /* Light Color Classes for Backgrounds */
                .bg-light-primary { background-color: rgba(183, 205, 59, 0.1) !important; }
                .bg-light-secondary { background-color: rgba(2, 40, 92, 0.08) !important; }
                .bg-light-info { background-color: rgba(59, 130, 246, 0.1) !important; }

                .text-custom-blue { color: var(--primary-color) !important; }
                .text-custom-dark-blue { color: var(--primary-color) !important; }
                .text-custom-lime { color: var(--primary-color) !important; }
                .text-custom-red-orange { color: #c8dce0 !important; }
                .text-custom-orange { color: #a8c5d6 !important; }

                .fare-rules-offcanvas {
                    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
                    background: #f8f9fa;
                    padding: 0;
                }

                .offcanvas-intro {
                    background: var(--primary-color);
                    padding: 24px;
                    margin: 0 0 20px;
                    color: white;
                    border-radius: 0;
                }

                .intro-content {
                    display: flex;
                    align-items: center;
                    gap: 16px;
                }

                .intro-icon {
                    width: 48px;
                    height: 48px;
                    background: rgba(255, 255, 255, 0.15);
                    border-radius: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 20px;
                    border: 2px solid rgba(255, 255, 255, 0.3);
                }

                .intro-text h6 {
                    margin: 0;
                    font-weight: 600;
                }

                .intro-text p {
                    margin: 0;
                    opacity: 0.9;
                    font-size: 14px;
                }

                .fare-accordion {
                    margin-bottom: 80px;
                }

                .fare-section {
                    background: white;
                    border: 1px solid #e8ecf0;
                    border-left: 0;
                    border-radius: 0;
                    margin-bottom: 8px;
                    overflow: hidden;
                    box-shadow: none;
                    transition: all 0.2s ease;
                }

                .fare-section:hover {
                    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
                    transform: translateX(2px);
                }

                /* First section - Primary color (Pricing) */
                .fare-section:first-child .section-header {
                    background: rgba(183, 205, 59, 0.05);
                    border-left: 3px solid var(--primary-color);
                }

                .fare-section:first-child .section-icon {
                    background: rgba(183, 205, 59, 0.1);
                    color: var(--primary-color);
                    border: 1px solid rgba(183, 205, 59, 0.25);
                }

                .fare-section:first-child .toggle-badge {
                    background: rgba(183, 205, 59, 0.15);
                    color: var(--primary-color);
                    border: 1px solid rgba(183, 205, 59, 0.3);
                }

                /* Second section - Info color (Fare Rules) */
                .fare-section:nth-child(2) .section-header {
                    background: rgba(59, 130, 246, 0.05);
                    border-left: 3px solid var(--info-color);
                }

                .fare-section:nth-child(2) .section-icon {
                    background: rgba(59, 130, 246, 0.1);
                    color: var(--info-color);
                    border: 1px solid rgba(59, 130, 246, 0.25);
                }

                .fare-section:nth-child(2) .toggle-badge {
                    background: rgba(59, 130, 246, 0.15);
                    color: var(--info-color);
                    border: 1px solid rgba(59, 130, 246, 0.3);
                }

                .section-header {
                    padding: 18px 20px;
                    cursor: pointer;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
                    border: none;
                    width: 100%;
                    border-radius: 0;
                }

                .section-header:hover {
                    opacity: 0.9;
                }

                .section-info {
                    display: flex;
                    align-items: center;
                    gap: 16px;
                    flex: 1;
                }

                .section-icon {
                    width: 46px;
                    height: 46px;
                    border-radius: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 20px;
                    transition: all 0.25s ease;
                }

                .section-title h6 {
                    margin: 0;
                    font-weight: 700;
                    color: var(--secondary-color);
                    font-size: 16px;
                    letter-spacing: -0.3px;
                }

                .section-title p {
                    margin: 0;
                    font-size: 13px;
                    color: #64748b;
                    font-weight: 500;
                }

                .section-toggle {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                }

                .toggle-badge {
                    padding: 4px 12px;
                    border-radius: 0;
                    font-size: 11px;
                    font-weight: 700;
                    color: white;
                    text-transform: uppercase;
                    letter-spacing: 0.5px;
                }

                .section-toggle i {
                    font-size: 18px;
                    color: #6c757d;
                    transition: transform 0.3s ease;
                }

                .section-header[aria-expanded="true"] i {
                    transform: rotate(180deg);
                }

                .section-content {
                    padding: 20px;
                    border-top: none;
                    background: #fafbfc;
                }

                .info-cards {
                    display: grid;
                    grid-template-columns: 1fr;
                    gap: 16px;
                    margin-top: 16px;
                }

                .info-card {
                    display: flex;
                    align-items: flex-start;
                    gap: 16px;
                    padding: 18px;
                    background: white;
                    border-radius: 0;
                    border: 1px solid #e8ecf0;
                    border-left: 4px solid transparent;
                    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
                    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
                }

                .info-card:hover {
                    background: #f8f9fa;
                    transform: translateX(2px);
                    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
                }

                .info-card:nth-child(1) {
                    border-left-color: var(--primary-color);
                }

                .info-card:nth-child(2) {
                    border-left-color: #a8c5d6;
                }

                .info-card:nth-child(3) {
                    border-left-color: var(--primary-color);
                }

                .info-icon {
                    width: 40px;
                    height: 40px;
                    border-radius: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    color: white;
                    font-size: 16px;
                    flex-shrink: 0;
                    border: 2px solid rgba(255, 255, 255, 0.3);
                }

                .info-content h6 {
                    margin: 0 0 8px 0;
                    font-weight: 600;
                    color: #333;
                    font-size: 15px;
                }

                .info-content p {
                    margin: 0;
                    font-size: 14px;
                    color: #666;
                    line-height: 1.5;
                }

                .offcanvas-footer {
                    position: fixed;
                    bottom: 0;
                    left: 0;
                    right: 0;
                    background: white;
                    border-top: 1px solid #e9ecef;
                    padding: 16px 20px;
                    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
                    z-index: 1000;
                }

                .footer-content {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    max-width: 100%;
                }

                .footer-info {
                    display: flex;
                    align-items: center;
                    font-size: 14px;
                    color: #666;
                }

                .btn-continue {
                    background: var(--primary-color);
                    border: none;
                    padding: 12px 24px;
                    border-radius: 25px;
                    font-weight: 600;
                    transition: all 0.3s ease;
                    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
                }

                .btn-continue:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
                }

                @media (max-width: 768px) {
                    .intro-content {
                        flex-direction: column;
                        text-align: center;
                        gap: 12px;
                    }

                    .section-info {
                        flex-direction: column;
                        align-items: flex-start;
                        gap: 12px;
                    }

                    .section-toggle {
                        flex-direction: column;
                        gap: 8px;
                    }

                    .footer-content {
                        flex-direction: column;
                        gap: 12px;
                    }

                    .btn-continue {
                        width: 100%;
                        justify-content: center;
                    }

                    .info-card {
                        flex-direction: column;
                        text-align: center;
                        gap: 12px;
                    }
                }

                .pricing-breakdown-container {
                    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
                }

                .pricing-header {
                
                    border-radius: 0;
                    padding: 24px;
                    margin-bottom: 20px;
                    color: var(--secondary-color);
                    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
                    border-left: 6px solid var(--secondary-color);
                
                }

                .pricing-header-content {
                    display: flex;
                    align-items: center;
                    gap: 20px;
                }

                .pricing-icon {
                    width: 54px;
                    height: 54px;
                    background: var(--primary-color);
                    border-radius: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 26px;
                    color: white;
                    border: 3px solid rgba(183, 205, 59, 0.3);
                }

                .pricing-title {
                    flex: 1;
                }

                .pricing-title h5 {
                    margin: 0;
                    font-weight: 700;
                    color: var(--secondary-color);
                    font-size: 18px;
                    letter-spacing: -0.3px;
                }

                .pricing-total {
                    text-align: right;
                }

                .total-amount {
                    font-size: 32px;
                    font-weight: 700;
                    line-height: 1;
                    color: var(--secondary-color);
                    letter-spacing: -1px;
                }

                .total-label {
                    font-size: 13px;
                    color: var(--info-color);
                    font-weight: 600;
                    text-transform: uppercase;
                    letter-spacing: 0.5px;
                    margin-top: 4px;
                }

                .passenger-type-card {
                    background: white;
                    border-radius: 0;
                    overflow: hidden;
                    border: 1px solid #e8ecf0;
                    border-top: 0;
                    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
                    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
                    height: 100%;
                }

                .passenger-type-card:hover {
                    transform: translateY(-3px);
                    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
                }

                .passenger-type-header {
                    padding: 16px;
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    font-weight: 700;
                    font-size: 15px;
                    border-radius: 0;
                }

                /* Light backgrounds for passenger headers */
                .passenger-type-header.bg-custom-blue {
                    background: rgba(183, 205, 59, 0.12) !important;
                    color: var(--primary-color);
                    border-bottom: 3px solid var(--primary-color);
                }

                .passenger-type-header.bg-custom-lime {
                    background: rgba(59, 130, 246, 0.12) !important;
                    color: var(--info-color);
                    border-bottom: 3px solid var(--info-color);
                }

                .passenger-type-header.bg-custom-dark-blue {
                    background: rgba(2, 40, 92, 0.12) !important;
                    color: var(--secondary-color);
                    border-bottom: 3px solid var(--secondary-color);
                }

                .passenger-count {
                    margin-left: auto;
                    padding: 5px 14px;
                    border-radius: 0;
                    font-size: 13px;
                    font-weight: 700;
                }

                .bg-custom-blue .passenger-count {
                    background: var(--primary-color);
                    color: white;
                    border: 2px solid rgba(183, 205, 59, 0.3);
                }

                .bg-custom-lime .passenger-count {
                    background: var(--info-color);
                    color: white;
                    border: 2px solid rgba(59, 130, 246, 0.3);
                }

                .bg-custom-dark-blue .passenger-count {
                    background: var(--secondary-color);
                    color: white;
                    border: 2px solid rgba(2, 40, 92, 0.3);
                }

                .passenger-type-body {
                    padding: 20px;
                }

                .price-breakdown {
                    margin-bottom: 16px;
                }

                .price-item {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    padding: 8px 0;
                    border-bottom: none;
                }

                .price-item:last-child {
                    border-bottom: none;
                }

                .price-item.total-per-pax {
                    background: #f8f9fa;
                    margin: 8px -8px 0;
                    padding: 12px 8px;
                    border-radius: 8px;
                    font-weight: 600;
                }

                .price-label {
                    color: #666;
                    font-size: 14px;
                }

                .price-value {
                    font-weight: 600;
                    color: #333;
                }

                .passenger-total {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    padding: 12px;
       
                    border-radius: 8px;
                    font-size: 16px;
                }

                .detailed-table-container {
                    background: white;
                    border-radius: 12px;
                    overflow: hidden;
                    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
                    margin-bottom: 24px;
                }

                .pricing-table {
                    margin: 0;
                }

                .pricing-table thead th {
                    background: #f8f9fa;
                    border: none;
                    color: #495057;
                    font-weight: 600;
                    padding: 16px;
                }

                .pricing-table tbody td {
                    padding: 16px;
                    border-color: #f0f0f0;
                    vertical-align: middle;
                }

                .pricing-table tfoot td {
                    padding: 16px;
                 
                }

                .passenger-type-cell {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                }

                .passenger-type-cell i {
                    font-size: 18px;
                }

                .pricing-summary {
                    background: white;
                    border-radius: 12px;
                    padding: 24px;
                    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
                }

                .summary-item {
                    text-align: center;
                    padding: 16px 8px;
                }

                .summary-item.highlight {
                    background: var(--primary-color);
                    color: white;
                    border-radius: 12px;
                }

                .summary-amount {
                    font-size: 20px;
                    font-weight: 700;
                    margin-bottom: 4px;
                }

                .summary-label {
                    font-size: 14px;
                    color: #666;
                }

                .summary-item.highlight .summary-label {
                    color: rgba(255, 255, 255, 0.9);
                }

                @media (max-width: 768px) {
                    .pricing-header-content {
                        flex-direction: column;
                        text-align: center;
                        gap: 16px;
                    }

                    .pricing-total {
                        text-align: center;
                    }

                    .total-amount {
                        font-size: 24px;
                    }

                    .passenger-type-header {
                        justify-content: center;
                    }

                    .summary-item {
                        padding: 12px 4px;
                    }

                    .summary-amount {
                        font-size: 18px;
                    }
                }

                .no-fare-rules-message {
                    padding: 20px;
                }

                .message-container {
                    background: #f8f9fa;
                    border-radius: 0;
                    padding: 32px 24px;
                    text-align: center;
                    border: 2px solid #e8ecf0;
                    border-left: 4px solid var(--primary-color);
                }

                .message-container.error-state {
                    background: #fff5f5;
                    border-color: #fee2e2;
                    border-left-color: #c8dce0;
                }

                .message-container.info-state {
                    background: #eff6ff;
                    border-color: #dbeafe;
                    border-left-color: var(--secondary-color);
                }

                .message-icon {
                    width: 80px;
                    height: 80px;
                    margin: 0 auto 20px;
                    border-radius: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 36px;
                    border: 3px solid;
                }

                .error-state .message-icon {
                    background: rgba(255, 78, 0, 0.1);
                    color: #c8dce0;
                    border-color: #c8dce0;
                }

                .info-state .message-icon {
                    background: rgba(2, 40, 92, 0.08);
                    color: var(--secondary-color);
                    border-color: var(--secondary-color);
                }

                .message-content h5 {
                    color: #333;
                    font-weight: 600;
                    margin-bottom: 12px;
                }

                .message-content p {
                    color: #666;
                    font-size: 15px;
                    line-height: 1.6;
                    margin-bottom: 20px;
                    max-width: 600px;
                    margin-left: auto;
                    margin-right: auto;
                }

                .message-info-box {
                    display: inline-flex;
                    align-items: center;
                    gap: 8px;
                    background: rgba(2, 40, 92, 0.08);
                    color: var(--secondary-color);
                    padding: 12px 20px;
                    border-radius: 0;
                    font-size: 14px;
                    font-weight: 600;
                    border: 1px solid rgba(2, 40, 92, 0.15);
                }

                .message-info-box i {
                    font-size: 18px;
                }

                .message-actions {
                    margin-top: 16px;
                }

                .message-actions .btn {
                    border-radius: 0;
                    padding: 10px 24px;
                    font-weight: 600;
                    text-transform: uppercase;
                    letter-spacing: 0.5px;
                    font-size: 12px;
                }

                @media (max-width: 768px) {
                    .message-container {
                        padding: 24px 16px;
                    }

                    .message-icon {
                        width: 64px;
                        height: 64px;
                        font-size: 28px;
                    }

                    .message-content p {
                        font-size: 14px;
                    }
                }

                .fare-rules-container {
                    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
                }

                .no-fare-rules {
                    text-align: center;
                    padding: 48px 24px;
                    background: #f8f9fa;
                    border-radius: 0;
                    border: 2px solid #e8ecf0;
                    border-left: 4px solid var(--primary-color);
                }

                .no-rules-icon {
                    width: 64px;
                    height: 64px;
                    background: #e9ecef;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin: 0 auto 16px;
                    font-size: 24px;
                    color: #6c757d;
                }

                .fare-rules-header {
                    background: var(--primary-color);
                    border-radius: 0;
                    padding: 24px;
                    color: white;
                    position: relative;
                    overflow: hidden;
                    border-left: 6px solid var(--secondary-color);
                }

                .fare-rules-header::before {
                    content: '';
                    position: absolute;
                    top: 0;
                    right: 0;
                    width: 200px;
                    height: 200px;
                    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
                    transform: translate(50%, -50%);
                }

                .header-content {
                    display: flex;
                    align-items: center;
                    gap: 20px;
                    position: relative;
                    z-index: 1;
                }

                .header-icon {
                    width: 50px;
                    height: 50px;
                    background: rgba(255, 255, 255, 0.15);
                    border-radius: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 24px;
                    border: 2px solid rgba(255, 255, 255, 0.3);
                }

                .header-text {
                    flex: 1;
                }

                .header-text h5 {
                    margin: 0;
                    font-weight: 600;
                }

                .header-text p {
                    opacity: 0.9;
                    font-size: 14px;
                }

                .passenger-count {
                    background: rgba(255, 255, 255, 0.2);
                    padding: 8px 16px;
                    border-radius: 20px;
                    font-size: 14px;
                    font-weight: 600;
                }

                .rules-navigation {
                    background: white;
                    padding: 20px 24px;
                    border-bottom: none;
                }

                .nav-pills-container {
                    display: flex;
                    gap: 8px;
                    flex-wrap: wrap;
                }

                .nav-pill {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    padding: 12px 20px;
                    background: #f8f9fa;
                    border: 2px solid transparent;
                    border-radius: 25px;
                    cursor: pointer;
                    transition: all 0.3s ease;
                    position: relative;
                    font-weight: 500;
                }

                .nav-pill:hover {
                    background: #e9ecef;
                    transform: translateY(-2px);
                }

                .nav-pill.active {
                    background: var(--primary-color);
                    color: white;
                    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
                }

                .pill-indicator {
                    position: absolute;
                    bottom: -2px;
                    left: 50%;
                    transform: translateX(-50%);
                    width: 0;
                    height: 3px;
                    background: currentColor;
                    border-radius: 2px;
                    transition: width 0.3s ease;
                }

                .nav-pill.active .pill-indicator {
                    width: 70%;
                }

                .rules-content {
                    background: white;
                    min-height: 400px;
                }

                .passenger-rules {
                    display: none;
                    padding: 24px;
                }

                .passenger-rules.active {
                    display: block;
                }

                .passenger-header {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-bottom: 24px;
                    padding-bottom: 16px;
                    border-bottom: 2px solid #f8f9fa;
                }

                .passenger-info {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                }

                .passenger-info i {
                    font-size: 20px;
                }

                .passenger-info h6 {
                    margin: 0;
                    font-weight: 600;
                }

                .segments-count {
                    background: #f8f9fa;
                    padding: 6px 12px;
                    border-radius: 12px;
                    font-size: 14px;
                    color: #666;
                }

                .segment-card {
                    background: white;
                    border: none;
                    border-radius: 12px;
                    margin-bottom: 16px;
                    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
                    transition: box-shadow 0.3s ease;
                }

                .segment-card:hover {
                    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
                }

                .segment-header {
                    padding: 20px;
                    cursor: pointer;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    transition: background-color 0.3s ease;
                }

                .segment-header:hover {
                    background: #f8f9fa;
                }

                .route-info {
                    display: flex;
                    align-items: center;
                    gap: 16px;
                    flex: 1;
                }

                .route-visual {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                }

                .origin, .destination {
                    font-weight: 600;
                    font-size: 16px;
                    padding: 8px 12px;
                    background: #f8f9fa;
                    border-radius: 8px;
                    color: #495057;
                }

                .route-line {
                    display: flex;
                    align-items: center;
                    color: #6c757d;
                    position: relative;
                }

                .route-line::before {
                    content: '';
                    position: absolute;
                    left: -12px;
                    right: -12px;
                    height: 2px;
                    background: var(--primary-color);
                    z-index: 0;
                }

                .route-line i {
                    background: white;
                    padding: 0 8px;
                    position: relative;
                    z-index: 1;
                }

                .expand-icon {
                    transition: transform 0.3s ease;
                }

                .segment-header[aria-expanded="true"] .expand-icon {
                    transform: rotate(180deg);
                }

                .segment-body {
                    padding: 0 20px 20px;
                }

                .rules-grid {
                    display: grid;
                    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                    gap: 16px;
                }

                .rule-card {
                    background: #f8f9fa;
                    border-radius: 12px;
                    overflow: hidden;
                    transition: transform 0.2s ease;
                }

                .rule-card:hover {
                    transform: translateY(-2px);
                }

                .rule-header {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    padding: 16px;
                    background: white;
                    border-bottom: none;
                }

                .rule-icon {
                    width: 36px;
                    height: 36px;
                    border-radius: 8px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    color: white;
                    font-size: 16px;
                }

                .rule-title {
                    flex: 1;
                }

                .rule-title h6 {
                    margin: 0;
                    font-size: 14px;
                    font-weight: 600;
                }

                .rule-priority {
                    font-size: 14px;
                }

                .rule-priority.high {
                    color: #c8dce0;
                }

                .rule-priority.medium {
                    color: #a8c5d6;
                }

                .rule-priority.low {
                    color: var(--primary-color);
                }

                .rule-content {
                    padding: 16px;
                }

                .rule-content p {
                    margin: 0;
                    font-size: 14px;
                    line-height: 1.5;
                    color: #666;
                }

                .rules-summary {
                    background: var(--primary-color);
                    border-radius: 0 0 16px 16px;
                    padding: 24px;
                    border-top: 1px solid #e9ecef;
                }

                .summary-header h6 {
                    margin: 0 0 16px 0;
                    color: #495057;
                    font-weight: 600;
                }

                .summary-items {
                    display: grid;
                    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                    gap: 12px;
                }

                .summary-item {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    padding: 12px 16px;
                    background: white;
                    border-radius: 8px;
                    font-size: 14px;
                    color: #666;
                }

                .summary-item i {
                    font-size: 16px;
                }

                @media (max-width: 768px) {
                    .header-content {
                        flex-direction: column;
                        text-align: center;
                        gap: 16px;
                    }

                    .nav-pills-container {
                        justify-content: center;
                    }

                    .nav-pill {
                        font-size: 14px;
                        padding: 10px 16px;
                    }

                    .passenger-header {
                        flex-direction: column;
                        align-items: flex-start;
                        gap: 12px;
                    }

                    .route-visual {
                        flex-direction: column;
                        gap: 8px;
                    }

                    .route-line {
                        transform: rotate(90deg);
                    }

                    .rules-grid {
                        grid-template-columns: 1fr;
                    }

                    .summary-items {
                        grid-template-columns: 1fr;
                    }
                }

/* Add Destination Button */
.add-destination-btn {
    color: var(--primary-color) !important;
    font-size: 14px;
    font-weight: 500;
}

.add-destination-btn:hover {
    color: var(--primary-dark) !important;
}

/* Airport Code Badge in Autocomplete */
.airport-code-badge {
    background: #f1f3f8;
    color: var(--primary-color);
    padding: 2px 6px;
    border-radius: 0px;
    font-size: 11px;
    font-weight: 700;
}

.airport-code-badge-nearest {
    background: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 0px;
    font-size: 11px;
    font-weight: 700;
}

/* ============================================
   SHARE FLIGHT MODAL - Modern Clean Design
   ============================================ */
.share-modal-content {
    border-radius: 0px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.share-modal-header {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 24px;
    border-radius: 0px;
}

.share-modal-header .modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
}

.share-modal-header .modal-title i {
    color: var(--primary-color);
}

.share-modal-header .btn-close {
    background-color: transparent;
    opacity: 1;
    font-size: 20px;
}

.share-modal-body {
    padding: 30px 24px;
}

.share-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.share-option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 0px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #4b5563;
    font-weight: 600;
    font-size: 13px;
}

.share-option-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.share-icon-wrapper {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px;
    transition: all 0.2s ease;
}

.share-icon-wrapper i {
    font-size: 28px;
}

/* WhatsApp */
.share-option-btn.whatsapp .share-icon-wrapper {
    background: #E8F5E9;
    color: #25D366;
}

.share-option-btn.whatsapp:hover {
    border-color: #25D366;
}

.share-option-btn.whatsapp:hover .share-icon-wrapper {
    background: #25D366;
    color: white;
    transform: scale(1.1);
}

/* Facebook */
.share-option-btn.facebook .share-icon-wrapper {
    background: #E3F2FD;
    color: #1877F2;
}

.share-option-btn.facebook:hover {
    border-color: #1877F2;
}

.share-option-btn.facebook:hover .share-icon-wrapper {
    background: #1877F2;
    color: white;
    transform: scale(1.1);
}

/* Instagram */
.share-option-btn.instagram .share-icon-wrapper {
    background: linear-gradient(45deg, #F9CE34, #EE2A7B, #6228D7);
    color: white;
}

.share-option-btn.instagram:hover {
    border-color: #EE2A7B;
}

.share-option-btn.instagram:hover .share-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Copy Link */
.share-option-btn.copy .share-icon-wrapper {
    background: #F3F4F6;
    color: #6B7280;
}

.share-option-btn.copy:hover {
    border-color: var(--primary-color);
}

.share-option-btn.copy:hover .share-icon-wrapper {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .share-options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .share-option-btn {
        padding: 20px 12px;
        gap: 8px;
    }

    .share-icon-wrapper {
        width: 48px;
        height: 48px;
    }

    .share-icon-wrapper i {
        font-size: 24px;
    }

    .share-option-btn {
        font-size: 12px;
    }

    .share-modal-body {
        padding: 20px 16px;
    }
}
