     /* --- GLOBAL & LAYOUT --- */
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
        body { background-color: #f5f7fa; color: #333; line-height: 1.6; }
        body, html { overflow-x: clip !important; overflow-y: visible !important; }
        
        .content-wrapper { display: flex !important; flex-direction: row !important; align-items: flex-start !important; justify-content: space-between; gap: 30px; position: relative; padding-bottom: 50px; }
        .main-content { flex: 1; max-width: 1100px; margin-top: 30px; }
        
        .sidebar {
            width: 350px; min-width: 350px; background: white; border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); padding: 20px;
            position: -webkit-sticky !important; position: sticky !important;
            top: 20px !important; margin-top: 30px; z-index: 99;
            height: fit-content !important;
        }

        /* --- BUTTONS & HEADERS --- */
        .header { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: none 1px solid #eaeaea; }
        .auth-buttons { display: flex; gap: 10px; }
        .btn { padding: 8px 16px; border-radius: 6px; cursor: pointer; text-decoration: none; font-weight: 600; transition: all 0.3s ease; }
        .btn-outline { border: 1px solid #3498db; color: #3498db; background: white; }
        .btn-outline:hover { background: #3498db; color: white; }
        .btn-primary { background: #3498db; color: white; border: none; }
        
        /* CUSTOM HEADERS (Background & Text) */
        .section { background: white !important; border-radius: 12px !important; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); padding: 10px; margin-bottom: 20px; position: relative;}
        .section-2 { background: white; border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); padding: 10px; margin-bottom: 20px; position: relative; top: 0px; margin: 0 10px 20px 10px !important;
        width: calc(100% - 20px) !important; box-sizing: border-box !important;}

        .custom-section-header {
            background-color: #f0f4f8; /* Light blue/grey background */
            color: #0a2c5e; /* Deep blue text */
            padding: 12px 15px;
            border-radius: 8px;
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 10px !important;
            display: flex;
            align-items: center;
            gap: 10px;
            border-left: 5px solid #3498db;
        }
        .custom-section-header i { color: #3498db; }

        /* --- SIDEBAR SUMMARY --- */
        .booking-summary { margin-bottom: 20px; }
        .summary-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
        .summary-item span:first-child { display: flex; align-items: center; gap: 5px; }
        .remove-item-btn { background: #ffebee; color: #c62828; border: none; border-radius: 50%; width: 20px; height: 20px; font-size: 14px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; margin-left: 8px; font-weight: bold; }
        .total { font-weight: 700; font-size: 18px; border-bottom: none; margin-top: 0px; padding-top: 15px; border-top: 2px solid #f0f0f0; }
        .insurance-banner { background: linear-gradient(135deg, #e3f2fd, #bbdefb); border-radius: 8px; padding: 15px; margin: 20px 0; display: flex; justify-content: space-between; align-items: center; }
        .promo-container { background: linear-gradient(135deg, #0279c9, #003355); border-radius: 8px; padding: 15px; margin: 20px 0; }
        .promo-input { display: flex; gap: 10px; }
        .promo-input input { flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 6px; }
        
        /* --- ADVERTS --- */
        .advert-banners { display: flex; flex-direction: column; gap: 20px; margin-top: 25px; }
        .ad-banner { background: white; border-radius: 10px; padding: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border: 1px solid #f1f1f1; display: flex; flex-direction: column; }
        .ad-banner__image { height: 150px; width: 100%; background-size: cover; background-position: center; border-radius: 8px; margin-bottom: 12px; }
        .ad-banner__tag { display: inline-block; background: linear-gradient(135deg, #0352fc 0%, #003899 100%); color: white; font-size: 0.65rem; font-weight: bold; padding: 3px 8px; border-radius: 20px; margin-bottom: 6px; text-transform: uppercase; }
        .ad-banner__title { font-size: 1.1rem; font-weight: 700; color: #2d3748; margin: 0; }
        .ad-banner__button { display: block; width: 100%; text-align: center; background: linear-gradient(135deg, #1c68e3 0%, #003355 100%); color: white; text-decoration: none; padding: 10px 15px; border-radius: 8px; font-weight: 600; font-size: 0.85rem; border: none; cursor: pointer; }

        /* --- FLIGHT INFO & CARDS --- */
        .flight-header-container { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; padding-top: 50px; gap: 10px}
        
        /* RIBBON STYLE */
        .back-ribbon {
            position: absolute;
            left: -3px;
            top: 10px;
            background: linear-gradient(90deg, #e74c3c, #c0392b);
            color: white;
            padding: 5px 15px;
            font-size: 14px;
            font-weight: bold;
            text-decoration: none;
            box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
            z-index: 10;
        }
        .back-ribbon:hover { color: white; text-decoration: none; transform: translateX(2px); transition: 0.3s; }
        .back-ribbon::after {
            content: ''; position: absolute; top: 100%; left: 0;
            border-width: 4px 4px 0 0; border-style: solid;
            border-color: #8e1c10 transparent transparent transparent;
        }

        .flight-toggle { display: flex; gap: 10px; margin-right: 400px; margin-bottom: 10px; }
        .toggle-btn { padding: 6px 40px; background: #f8f9fa; border: 1px solid #e0e0e0; border-radius: 6px; font-weight: 600; font-size: 20px; cursor: pointer; transition: all 0.3s; }
        .toggle-btn.active { background: #3498db; color: white; border-color: #3498db; }
        .flight-info-container { display: flex; gap: 20px; }
        .flight-details { flex: 2; }
        .flight-options-side { flex: 1; border-left: 1px solid #e0e0e0; padding-left: 20px; position:relative; top: -70px;}
        .custom-flight-card { border: 1px solid #e0e0e0; border-radius: 8px; padding: 15px; position: relative; margin-bottom: 15px; width: 100%;}
        .flight-class-badge { position: absolute; top: 15px; right: 15px; background-color: #1a237e; color: white; padding: 5px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; }
        .flight-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
        .airline-info { display: flex; align-items: center; }
        .airline-logo { width: 40px; height: 40px; background-color: #1a237e; border-radius: 8px; display: flex; justify-content: center; align-items: center; margin-right: 15px; color: white; font-weight: bold; overflow: hidden; }
        .airline-logo img { width: 100%; height: 100%; object-fit: contain; }
        .airline-details { flex-grow: 1; }
        .airline-name { font-weight: 600; font-size: 16px; }
        
        /* REFUNDABLE HIGHLIGHT */
        .refundable-highlight {
            background-color: #e8f5e9;
            color: #2e7d32;
            padding: 5px 12px;
            border-radius: 20px;
            font-weight: 700;
            font-size: 13px;
            border: 1px solid #c8e6c9;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }

        .flight-timeline { display: flex; justify-content: space-between; margin: 15px 0; position: relative; }
        .flight-timeline::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 2px; background-color: #e0e0e0; transform: translateY(-50%); }
        .flight-timeline::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; background-color: #1a237e; border-radius: 50%; transform: translate(-50%, -50%); }
        .departure, .arrival { background-color: white; padding: 10px; z-index: 1; }
        .time { font-size: 18px; font-weight: 600; margin-bottom: 5px; }
        .layover-info { background-color: #e9f6ff; padding: 10px; border-radius: 8px; margin: 10px 0; font-size: 16px; color: #627db8; }
        
        /* Options & Share */
        
        /* SOCIAL SHARE FLEX */
      
.social-share-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 9;
    width: 180px;
    justify-content: flex-end;
}
      
        .share-text { font-weight: 700; color: #555; margin-right: 5px; }
        .social-circle {
            width: 25px; height: 25px; border-radius: 50%;
            display: flex; justify-content: center; align-items: center;
            color: white; font-size: 16px; text-decoration: none;
            transition: transform 0.2s;
        }
        .social-circle:hover { transform: scale(1.1); color: white; }
        .sc-wa { background: #25d366; }
        .sc-tw { background: #1da1f2; }
        .sc-in { background: #e1306c; }

        .options-container { display: flex; flex-direction: column; gap: 15px; }
        .option-card { border: 1px solid #e0e0e0; border-radius: 8px; padding: 15px; cursor: pointer; transition: all 0.3s; }
        .option-card:hover { border-color: #1a237e; background-color: #f5f7ff; }
        .baggage-summary { display: flex; justify-content: space-between; margin-top: 10px; width: 140px; }
        .option-content { display: flex; justify-content: space-between; align-items: center; }
        .add-option { color: #676767; font-weight: 600; font-size: 16px; margin-top: 5px; cursor: pointer; }

        /* EXTRA BAGGAGE COLUMNS */
        .baggage-grid-3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px dashed #ddd;
        }
        .bag-col-item {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 10px;
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
            background: white;
        }
        .bag-col-item:hover {
            border-color: #3498db;
            background-color: #e3f2fd;
            transform: translateY(-3px);
            box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        }
        .bag-weight { font-weight: 800; color: #0a2c5e; font-size: 18px; display: block; }
        .bag-price { color: #e74c3c; font-weight: 600; }
        .baggage-options { display: none; margin-top: 15px; padding: 0px; background: #f8f9fa; border-radius: 8px; }

        /* --- FORMS & INPUTS --- */
        .form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
        .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
        .form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
        .form-row-4 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 15px; }
        .form-group { margin-bottom: 15px; position: relative; }
        label { display: block; margin-bottom: 8px; font-weight: 600; color: #555; }
        /* Mandatory Asterisk */
        label.required::after { content: " *"; color: #e74c3c; margin-left: 3px; }
        .form-row {
            display: flex;
            gap: 20px;          /* spacing between the two groups */
            flex-wrap: wrap;    /* stack on smaller screens */
        }

        /* Make each group take equal width (50% minus gap) */
        .form-row .form-group {
            flex: 1 1 calc(50% - 20px);
            min-width: 200px;   /* prevents too much shrinking */
        }
        input, select { 
            width: 100%; padding: 13px; border: 1px solid #ddd; border-radius: 6px; font-size: 16px; outline: none; transition: 0.3s; background:white;
        }
        
        /* CUSTOM DROPDOWN ARROW */
        select {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.762L10.825 4z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 15px center;
            background-size: 12px;
            padding-right: 40px;
        }

        .form-row {
        display: flex;
        gap: 20px;              /* spacing between columns */
        flex-wrap: wrap;        /* stack on small screens */
        margin-bottom: 20px;    /* optional separation between rows */
    }

    /* Each form-group inside the row takes equal width (1/3 minus gap) */
    .form-row .form-group {
        flex: 1 1 calc(33.333% - 20px);
        min-width: 120px;       /* prevents extreme shrinking */
    }

    /* Ensure inputs fill the available space */
    .form-group input {
        width: 100%;
        box-sizing: border-box;
    }

        /* BLUE HIGHLIGHT */
        input:focus, select:focus { border-color: #3498db; box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15); }
        
        /* HELPER TEXT */
        .helper-text { display: block; font-size: 13px; color: #d35400;; margin-top: 5px; }
        .warning-text { font-size: 13px; color: #d35400; font-weight: 600; margin-left: 5px; }
        
        /* PAYMENT & TOOLTIPS */
        .payment-methods { display: flex; gap: 15px; margin-bottom: 15px; }
        .payment-method { flex: 1; border: 1px solid #ddd; padding: 15px; border-radius: 8px; text-align: center; cursor: pointer; transition: all 0.3s ease; }
        .payment-method.active { border-color: #3498db; background-color: #e3f2fd; }
        .payment-method img.payment-icon { height: 50px; width: auto; margin-bottom: 10px; display: block; margin: 0 auto; object-fit: contain; }
        .payment-method h4 { font-weight: 700; font-size: 15px; margin-top: 5px; color: #003087; }
        .cash-payment-text { color: #2ecc71; font-weight: 600; }
        .confirm-booking { background: linear-gradient(135deg, #0279c9, #003355); color: white; padding: 16px 30px; border: none; border-radius: 8px; font-size: 18px; font-weight: 700; cursor: pointer; width: 100%; margin-top: 10px; }
        .disclaimer-text { font-size: 13px; color: #666; text-align: center; margin-top: 15px; line-height: 1.4; }

        /* TOOLTIP CSS */
        .input-tooltip-wrapper { position: relative; }
        .tooltip-icon {
            position: absolute; right: 5px; top: 70%; transform: translateY(-50%);
            width: 20px; height: 20px; background: #3498db; color: white; border-radius: 50%;
            font-size: 12px; display: flex; align-items: center; justify-content: center; cursor: help;
        }
        .tooltip-box {
            display: none; position: absolute; bottom: 100%; right: 0; width: 250px;
            background: white; border: 1px solid #ddd; padding: 10px; border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1); z-index: 100; margin-bottom: 10px;
        }
        .tooltip-icon:hover + .tooltip-box { display: block; }
        .tooltip-card-img { width: 100%; border-radius: 4px; margin-bottom: 5px; }

        /* --- INSURANCE SECTION --- */
        .protection-banner { background: linear-gradient(135deg, #0279c9, #003355); color: rgb(255, 255, 255); border-radius: 12px; padding: 25px; margin-bottom: 20px; position: relative; }
        .protection-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; }
        .protection-title { font-size: 24px; font-weight: 700; }
        .protection-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 20px 0; }
        .feature-item { background: rgba(255, 255, 255, 0.2); padding: 10px !important; border-radius: 6px; text-align: center; font-size: 16px; margin-bottom: 0px !important; }
        .insurance-options { display: flex; gap: 20px; margin-top: 20px; }
        .insurance-option { flex: 1; display: flex; align-items: center; gap: 10px; padding: 15px; background: rgba(255, 255, 255, 0.2); border-radius: 8px; cursor: pointer; }
        .insurance-option.selected { background: rgba(255, 255, 255, 0.4); border: 2px solid white; }
        .radio-custom { width: 20px; height: 20px; border: 2px solid white; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
        .insurance-option.selected .radio-custom::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: white; display: block; }
        .insurance-info-text { margin-top: 20px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.2); font-size: 14px; opacity: 0.9; line-height: 1.5; }
        .insurance-info-text a { color: #fff; text-decoration: underline; font-weight: bold; }

        /* --- POPUPS & MODALS --- */
        .popup-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 10000; justify-content: center; align-items: center; }
        
        /* FARE RULES STYLING */
        .popup-content { background: white; width: 90%; max-width: 500px; border-radius: 12px; padding: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.2); position: relative; overflow: hidden; }
        
        /* Custom Header for Popups */
        .popup-header-custom {
            background-color: #0a2c5e;
            color: white;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 18px;
            font-weight: 700;
        }
        .popup-body { padding: 20px; }
        .popup-close { background: none; border: none; font-size: 24px; cursor: pointer; color: white; opacity: 0.8; }
        .popup-close:hover { opacity: 1; }

        /* TRAVELER STYLES */
        .traveller-section { border-bottom: 1px solid #eee; padding-bottom: 20px; margin-bottom: 20px; margin-top:20px; position: relative; }
        .add-traveler-btn { background: #f8f9fa; border: 2px dashed #ddd; border-radius: 8px; padding: 15px; text-align: center; cursor: pointer; transition: all 0.3s; margin-top: 20px; color: #3498db; font-weight: 600; }
        .add-traveler-btn:hover { background: #e9ecef; border-color: #3498db; }
        .remove-traveler-main-btn { position: absolute; top: 0; right: 0; background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; font-size: 13px; padding: 5px 10px; border-radius: 4px; cursor: pointer; }
        .passenger-type-group { display: flex; gap: 20px; margin-bottom: 15px; background: #f0f7ff; padding: 10px; border-radius: 6px; }
        .p-type-radio { display: flex; align-items: center; gap: 5px; cursor: pointer; font-weight: 600; font-size: 18px; }

        /* CALENDAR ICONS */
        .datepicker-container { position: relative; }
        .calendar-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #3498db; pointer-events: none; }
        
        /* PRO CALENDAR OVERLAY */
        .date-picker-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 10002; justify-content: center; align-items: center; }
        .date-picker-modal { width: 800px; max-width: 95vw; background: white; border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; height: 500px; }
        .dp-header { background: #0a2c5e; color: white; padding: 15px; display: flex; justify-content: space-between; align-items: center; }
        .dp-body { flex: 1; padding: 30px; display: flex; gap: 20px; overflow-y: auto; font-size: 18px; }
        .dp-calendar { flex: 1; }
        .dp-cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
        .dp-month-title { font-weight: bold; color: #0a2c5e; font-size: 18px; display: flex; align-items: center; gap: 10px; }
        .dp-nav {
            background: #ffffff96;
            width: 35px;
            height: 35px;
            border: none;
            border-radius: 50px;
            font-size: 24px;
            font-weight: 700;
            color: #0a2c5e !important;
            cursor: pointer;

            /* 🔥 Fix centering */
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0; /* remove any default padding */
        
        }
        .dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; gap: 5px; }
        .dp-day-name { font-weight: bold; color: #666; font-size: 18px; padding: 5px 0; }
        .dp-day { padding: 8px; cursor: pointer; border-radius: 6px; transition: 0.2s; background: #f8fafc; }
        .dp-day:hover { background: #e1e8f0; }
        .dp-day.selected { background: #4da8ff; color: white; font-weight: bold; }
        
        /* Year Select Box Style */
        .year-select { padding: 2px 40px; border-radius: 4px; border: 1px solid #ccc; font-weight: normal; font-size: 16px; cursor: pointer; }

        @media (max-width: 768px) { .dp-body { flex-direction: column; } .date-picker-modal { height: 90vh; } }

        .gender-selection { display: flex; gap: 15px; align-items: center; }
        .gender-option { display: flex; align-items: center; gap: 8px; cursor: pointer; }
        .gender-radio { width: 18px; height: 18px; border: 2px solid #3498db; border-radius: 50%; display:flex; align-items:center; justify-content:center; }
        .gender-option.selected .gender-radio::after { content:''; width:10px; height:10px; background:#3498db; border-radius:50%; }

        /* UK Address Toggle */
        .uk-address-toggle a { color: #3498db; font-weight: 600; text-decoration: none; cursor: pointer; display: flex; align-items: center; gap: 8px; }
        .uk-address-container { background: #f8f9fa; padding: 20px; border-radius: 8px; border: 1px solid #e0e0e0; margin-bottom: 20px; display: none; animation: slideDown 0.3s ease-out; }
        @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

        /* MOBILE VERTICAL FLIGHT TIMELINE */
        .mobile-vertical-timeline { display: none; }
        @media (max-width: 768px) {
            .flight-timeline, .layover-info-desktop { display: none !important; }
            .mobile-vertical-timeline { display: block; margin-top: 20px; padding-left: 5px; }
            .vt-wrapper { position: relative; border-left: 2px solid #e0e0e0; margin-left: 8px; padding-bottom: 25px; }
            .vt-wrapper.last-segment { border-left: 2px solid transparent; padding-bottom: 0; }
            .vt-dot { position: absolute; left: -7px; top: 0; width: 12px; height: 12px; background-color: #1a237e; border-radius: 50%; border: 2px solid white; box-shadow: 0 0 0 1px #1a237e; }
            .vt-dot.layover { background-color: #ff9800; box-shadow: 0 0 0 1px #ff9800; top: 10px; }
            .vt-content { padding-left: 25px; position: relative; top: -6px; }
            .vt-time { font-size: 20px; font-weight: 700; color: #333; line-height: 1; margin-bottom: 4px; }
            .vt-date { font-size: 14px; color: #666; margin-bottom: 2px; }
            .vt-airport { font-size: 16px; font-weight: 600; color: #0a2c5e; }
            .vt-terminal { font-size: 13px; color: #888; }
            .vt-layover-box { background: #fff8e1; padding: 10px; border-radius: 6px; border: 1px solid #ffeeba; font-size: 14px; color: #856404; margin-top: 5px; }
            .vt-layover-title { font-weight: 700; margin-bottom: 2px; }
            .protection-banner {
                background: linear-gradient(135deg, #0279c9, #003355);
                color: rgb(255, 255, 255);
                border-radius: 12px;
                padding: 25px;
                margin-bottom: 20px;
                position: relative;
                margin: 0 10px 20px 10px !important;
                width: calc(100% - 20px) !important;
                box-sizing: border-box !important;
            }

            .back-ribbon {
                position: absolute;
                left: -3px;
                top: 10px;
                background: linear-gradient(90deg, #e74c3c, #c0392b);
                color: white;
                padding: 5px 15px;
                font-size: 12px;
                font-weight: bold;
                text-decoration: none;
                box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
                z-index: 10;
            }

            .label {
                display: block;
                margin-bottom: 8px;
                font-weight: 600;
                color: #555;
                font-size: 17px;

            
                }
            }

        /* MOBILE SPECIFIC */
        .mobile-top-nav { 
            display: none; 
            position: absolute;
            top: 120px; /* Adjusted to be below the main header */
            left: 0;
            width: 100%;
            background: white;
            z-index: 9; /* Lower than main header */
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 10px 15px;
            justify-content: space-between;
            align-items: center;
        }
        .mobile-top-nav .nav-btn { background: #3498db; border: 1px solid #3498db; color: #3498db; padding: 6px 12px; border-radius: 4px; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; }
        .mobile-top-nav .nav-btn.btn-filled { background: #3498db; color: white; }
        .mobile-slim-ad { display: none; background: white; border-radius: 8px; padding: 10px; margin: 15px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.08); border: 1px solid #e0e0e0; align-items: center; gap: 15px; }
        .mobile-slim-ad img { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; }
        .mobile-slim-ad-content { flex: 1; }
        .mobile-slim-ad h5 { font-size: 14px; font-weight: 700; margin: 0 0 2px 0; color: #0a2c5e; }
        .mobile-slim-ad p { font-size: 12px; margin: 0 0 5px 0; color: #666; }
        .mobile-slim-ad .price { font-size: 14px; font-weight: 700; color: #e74c3c; }
        .mobile-slim-ad .btn-ad { padding: 4px 10px; font-size: 12px; background: #0a2c5e; color: white; border-radius: 4px; text-decoration: none; border:none; }
        .sidebar-close-btn { display: none; position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 24px; color: #333; cursor: pointer; }
        .mobile-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 9998; }

        @media (max-width: 991px) {
            body { padding-top: 0px; } /* Increased to account for both headers */
            .header { display: none; }
            .content-wrapper { flex-direction: column !important; gap: 15px; }
            .main-content { width: 100%; margin-top: 10px; }
            .mobile-top-nav { 
                display: flex; 
                top: 110px; /* Below the main header */
            }
            @media (max-width: 991px) {
            .section-2 { background: white; border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); padding: 10px; margin-bottom: 20px; position: relative; top: 0px; margin: 0 10px 20px 10px !important;
        width: calc(100% - 20px) !important;
        box-sizing: border-box !important;}
            }
            @media (max-width: 991px) {
            .section { background: white; border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); padding: 10px; margin-bottom: 20px; position: relative; top: 80px; margin: 0 10px 20px 10px !important;
        width: calc(100% - 20px) !important;
        box-sizing: border-box !important;}
            }
            .insurance-option { flex: 1; display: flex; align-items: center; gap: 5px; padding: 5px; background: rgba(255, 255, 255, 0.2); border-radius: 8px; cursor: pointer; font-size: 14px; }
            .insurance-options { display: flex; gap: 10px; margin-top: 20px; }
            .sidebar { position: fixed !important; top: 0 !important; right: -100%; width: 85%; height: 100vh !important; z-index: 9999; margin-top: 0; transition: right 0.3s ease-in-out; overflow-y: auto; border-radius: 0; }
            .sidebar.active { right: 0; }
            .sidebar-close-btn { display: block; }
            .sidebar .advert-banners { display: none; }
            .flight-info-container { flex-direction: column; }
            .flight-options-side { border-left: none; border-top: 1px solid #e0e0e0; padding-left: 0; padding-top: 20px; position:relative; top: -70px; }
            .flight-toggle { margin-right: 0; margin-bottom: 10px; width: 100%; }
            .toggle-btn { flex: 1; padding: 8px; text-align: center; }
            .flight-header-container { flex-direction: column; align-items: flex-start; }
            .form-row, .form-row-3, .form-row-4 { grid-template-columns: 1fr; }
            .form-row-2 { grid-template-columns: 1fr 1fr; }
            .payment-methods { flex-direction: column; }
            .payment-method { display: flex; align-items: center; justify-content: flex-start; gap: 15px; padding: 10px; }
            .payment-method img.payment-icon { margin: 0; height: 30px; }
            .payment-method h4 { margin: 0; }
            .mobile-slim-ad { display: flex;
        margin: 10px;
        position: relative;
        top: 0px;
    }
}
        
        
        /* Seat Map */
        .seat-map-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 300px; margin: 20px auto; }
        .seat { width: 40px; height: 40px; background: white; border: 2px solid #3498db; border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
        .seat.selected { background: #2ecc71; border-color: #2ecc71; color: white; }
        .seat.occupied { background: #ddd; border-color: #ccc; cursor: not-allowed; color: #999; }

    .flight-details-back-ribbon{
        display:inline-block;
        position:absolute;
        left:0px;      /* LEFT SIDE */
        top:0px;        /* Adjust independently */
        background:linear-gradient(90deg,#e74c3c,#c0392b);
        color:#fff;
        padding:5px 14px;
        font-size:12px;
        font-weight:700;
        text-decoration:none;
        border-radius:0 4px 4px 0;
        box-shadow:0 2px 6px rgba(0,0,0,.25);
        white-space:nowrap;
        z-index:999;

    }

      /* Ribbon tail */
    .flight-details-back-ribbon::after{
        content:"";
        position:absolute;
        top:100%;
        left:0;
        border-width:4px 4px 0 0;
        border-style:solid;
        border-color:#8e1c10 transparent transparent transparent;
    }

    /* Position reference */
    .mobile-header-bar{
        position:relative;
    }

@media (max-width:768px){
    /* Position reference */
    .mobile-header-bar{
        position:relative;
    }

    .flight-details-back-ribbon{
        display:inline-block;
        position:absolute;
        left:0px;      /* LEFT SIDE */
        top:0px;        /* Adjust independently */
        background:linear-gradient(90deg,#e74c3c,#c0392b);
        color:#fff;
        padding:5px 14px;
        font-size:12px;
        font-weight:700;
        text-decoration:none;
        border-radius:0 4px 4px 0;
        box-shadow:0 2px 6px rgba(0,0,0,.25);
        white-space:nowrap;
        z-index:9;
    }

    /* Ribbon tail */
    .flight-details-back-ribbon::after{
        content:"";
        position:absolute;
        top:100%;
        left:0;
        border-width:4px 4px 0 0;
        border-style:solid;
        border-color:#8e1c10 transparent transparent transparent;
    }

}
