        /* ── Font ── */
        @import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700;800;900&display=swap');

        /* ── Page layout: fixed viewport, only triplist scrolls ── */
        .intl-triplist-page {
            font-family: 'Work Sans', sans-serif;
            display: flex;
            flex-direction: column;
            height: 100vh;
            overflow: hidden;
            background: #f1f1f1;
        }
        html.modal-lock,
        html.modal-lock body {
            overflow: hidden !important;
            height: 100vh !important;
        }
        .intl-triplist-page.modal-open .intl-topbar,
        .intl-triplist-page.modal-open .intl-triplist-main {
            pointer-events: none;
        }
        .intl-triplist-page.modal-open .intl-triplist-results,
        .intl-triplist-page.modal-open .intl-triplist-right,
        .intl-triplist-page.modal-open .filter-scroll,
        .intl-triplist-page.modal-open .filter-sidebar {
            overflow: hidden !important;
        }
        .search-modal-overlay,
        .search-modal {
            pointer-events: auto !important;
        }
        .intl-triplist-main {
            flex: 1;
            overflow: hidden;
        }
        .intl-triplist-main .grid {
            height: 100%;
        }
        .intl-triplist-right {
            display: flex;
            flex-direction: column;
            overflow: hidden;
            height: 100%;
        }
        .intl-triplist-right .date-scroll {
            flex-shrink: 0;
            margin-bottom: 16px;
        }
        .intl-triplist-results {
            flex: 1;
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: #d1d5db transparent;
        }
        .intl-triplist-results::-webkit-scrollbar {
            width: 6px;
        }
        .intl-triplist-results::-webkit-scrollbar-track {
            background: transparent;
        }
        .intl-triplist-results::-webkit-scrollbar-thumb {
            background: #d1d5db;
            border-radius: 10px;
        }
        .intl-triplist-results::-webkit-scrollbar-thumb:hover {
            background: #9ca3af;
        }

        /* ── Loading & Empty States ── */
        .flight-empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px 20px;
            text-align: center;
            color: #6b7280;
            font-size: 15px;
        }

        /* ── Skeleton ── */
        .skeleton-card {
            pointer-events: none;
        }
        .skeleton-box {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: skeleton-shimmer 1.5s ease-in-out infinite;
            border-radius: 4px;
        }
        @keyframes skeleton-shimmer {
            0%   { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        /* ── Booking overlay ── */
        .fc-booking-overlay {
            position: absolute;
            inset: 0;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(2px);
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 600;
            color: #1B60C1;
        }
        .fc-booking-spinner {
            width: 22px;
            height: 22px;
            border: 3px solid #e5e7eb;
            border-top: 3px solid #1B60C1;
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
        }
        @keyframes spin { to { transform: rotate(360deg); } }
        .fc-booking .fc-book-btn { opacity: 0.5; cursor: not-allowed; }
        .fc-book-btn:disabled { opacity: 0.5; cursor: not-allowed; }

        /* ── Search Bar (top) ── */
        .intl-topbar {
            background: #f8fafc;
            border-bottom: 1px solid #e5e7eb;
            padding: 14px 0;
            margin-top: 114px;
            flex-shrink: 0;
        }
        .intl-topbar-inner {
            display: flex;
            align-items: center;
            gap: 10px;
            max-width: 1600px; width: 100%;
            margin: 0 auto;
            padding: 0 24px;
        }
        .topbar-field {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 8px;
            background: #fff;
            border: 1.5px solid #e5e7eb;
            border-radius: 8px;
            padding: 10px 14px;
            font-size: 15px;
            font-weight: 500;
            color: #111827;
        }
        .topbar-field i { color: #155db2; font-size: 14px; }
        .topbar-search-btn {
            background: linear-gradient(135deg, #155db2 0%, #1a6fd4 100%);
            color: #fff;
            font-weight: 700;
            font-size: 15px;
            padding: 12px 36px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            letter-spacing: 0.04em;
            transition: all 0.2s;
        }
        .topbar-search-btn:hover {
            box-shadow: 0 4px 16px rgba(21,93,178,0.3);
        }

        /* ── Date Scroll ── */
        .date-scroll {
            display: flex;
            gap: 0;
            border-bottom: 1px solid #e5e7eb;
            background: #fff;
            overflow-x: auto;
            scrollbar-width: none;
        }
        .date-scroll::-webkit-scrollbar { display: none; }
        .date-tab {
            padding: 14px 20px;
            text-align: center;
            white-space: nowrap;
            cursor: pointer;
            border-bottom: 3px solid transparent;
            transition: all 0.2s;
            min-width: 130px;
        }
        .date-tab:hover { background: #f9fafb; }
        .date-tab.active {
            border-bottom-color: #155db2;
            background: #eff6ff;
        }
        .date-tab .dt-date {
            font-size: 14px;
            font-weight: 600;
            color: #374151;
        }
        .date-tab.active .dt-date { color: #155db2; }
        .date-tab .dt-price {
            font-size: 13px;
            font-weight: 700;
            color: #1B60C1;
            margin-top: 2px;
        }
        .date-tab-cal {
            padding: 14px 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border-bottom: 3px solid transparent;
        }
        .date-tab-cal:hover { background: #f9fafb; }

        /* ── Filter Sidebar ── */
        .filter-sidebar {
            background: #fff;
            border-radius: 12px;
            border: 1px solid #e5e7eb;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            height: 100%;
            max-height: 100%;
        }
        .filter-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 24px 16px;
            border-bottom: 1px solid #f0f0f0;
            flex-shrink: 0;
        }
        .filter-scroll {
            flex: 1;
            min-height: 0;
            overflow-y: auto;
            padding: 16px 24px 24px;
            scrollbar-width: thin;
            scrollbar-color: #d1d5db transparent;
        }
        .filter-scroll::-webkit-scrollbar {
            width: 5px;
        }
        .filter-scroll::-webkit-scrollbar-track {
            background: transparent;
        }
        .filter-scroll::-webkit-scrollbar-thumb {
            background: #d1d5db;
            border-radius: 10px;
        }
        .filter-scroll::-webkit-scrollbar-thumb:hover {
            background: #9ca3af;
        }
        .filter-head h3 {
            font-size: 22px;
            font-weight: 800;
            color: #111827;
        }
        .filter-head a {
            font-size: 13px;
            font-weight: 600;
            color: #1B60C1;
            cursor: pointer;
            text-decoration: none;
        }
        .filter-head a:hover { text-decoration: underline; }
        .filter-result-count {
            padding: 10px 24px;
            font-size: 13px;
            font-weight: 600;
            color: #374151;
            background: #f0f6ff;
            border-bottom: 1px solid #e5e7eb;
        }
        .filter-group {
            margin-bottom: 22px;
            padding-bottom: 22px;
            border-bottom: 1px solid #f0f0f0;
        }
        .filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
        .filter-group h4 {
            font-size: 16px;
            font-weight: 700;
            color: #111827;
            margin-bottom: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            user-select: none;
        }
        .filter-group h4 i {
            margin-left: auto;
            transition: transform 0.25s ease;
        }
        .filter-group.collapsed h4 {
            margin-bottom: 0;
        }
        .filter-group.collapsed h4 i {
            transform: rotate(-90deg);
        }
        .filter-group-body {
            overflow: hidden;
            max-height: 500px;
            transition: max-height 0.3s ease;
        }
        .filter-group.collapsed .filter-group-body {
            max-height: 0;
        }
        .filter-option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 7px 0;
            font-size: 15px;
            color: #4b5563;
            cursor: pointer;
            line-height: 1.4;
        }
        .filter-option input[type="radio"],
        .filter-option input[type="checkbox"] {
            accent-color: #155db2;
            width: 16px;
            height: 16px;
            flex-shrink: 0;
        }
        .filter-option strong {
            margin-left: auto;
            font-size: 12px;
            color: #6b7280;
            white-space: nowrap;
        }
        .filter-option:hover { color: #111827; }
        .filter-count {
            font-size: 12px;
            color: #9ca3af;
            margin-left: 4px;
        }

        /* ── Round Trip: two-row card ── */
        .fc-round-card {
            position: relative;
        }
        .fc-round-body {
            display: flex;
            align-items: stretch;
            padding: 0;
        }
        .fc-route-rows {
            flex: 1;
            min-width: 0;
        }
        .fc-route-row {
            display: flex;
            align-items: center;
            padding: 20px 24px;
            gap: 20px;
        }
        .fc-route-row + .fc-route-row {
            border-top: 1px dashed #e5e7eb;
        }
        .fc-route-row .fc-airline {
            flex: 0 0 110px;
        }
        .fc-route-row .fc-airline img {
            width: 44px;
            height: 44px;
            margin: 0 auto 4px;
        }
        .fc-route-row .fc-airline-name { font-size: 12px; }
        .fc-route-row .fc-airline-code { font-size: 11px; }
        .fc-price-col {
            flex: 0 0 225px;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            justify-content: center;
            padding: 20px 28px;
            border-left: 1px solid #f0f0f0;
            text-align: right;
        }

        /* Flight detail: round trip has two route headers */
        .fc-detail-route-sep {
            margin: 24px 0 20px;
            padding-top: 20px;
            border-top: 2px solid #f0f0f0;
        }

        /* ── Flight Card ── */
        .flight-card {
            background: #fff;
            border-radius: 12px;
            border: none;
            overflow: hidden;
            transition: box-shadow 0.3s;
            margin-bottom: 18px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.04);
        }
        .flight-card:hover {
            box-shadow: 0 4px 24px rgba(0,0,0,0.07);
        }
        .flight-card-body {
            display: flex;
            align-items: center;
            padding: 28px 32px;
            gap: 20px;
        }

        /* Airline column */
        .fc-airline {
            flex: 0 0 130px;
            text-align: center;
        }
        .fc-airline img {
            width: 56px;
            height: 56px;
            object-fit: contain;
            margin: 0 auto 8px;
        }
        .fc-airline-name {
            font-size: 14px;
            font-weight: 600;
            color: #374151;
            line-height: 1.3;
        }
        .fc-airline-code {
            font-size: 13px;
            color: #9ca3af;
            margin-top: 2px;
        }

        /* Departure / Arrival columns */
        .fc-dep, .fc-arr {
            flex: 1;
        }
        .fc-city {
            font-size: 15px;
            color: #6b7280;
        }
        .fc-city strong {
            color: #111827;
            font-weight: 800;
        }
        .fc-date {
            font-size: 13px;
            color: #9ca3af;
            margin-top: 2px;
        }
        .fc-time {
            font-size: 34px;
            font-weight: 800;
            color: #111827;
            letter-spacing: -0.02em;
            line-height: 1.15;
            margin-top: 2px;
        }

        /* Duration column */
        .fc-duration {
            flex: 1.2;
            text-align: center;
            padding: 0 8px;
        }
        .fc-dur-label {
            font-size: 14px;
            font-weight: 600;
            color: #374151;
            background: #f3f4f6;
            display: inline-block;
            padding: 4px 14px;
            border-radius: 20px;
            margin-bottom: 8px;
        }
        .fc-dur-line {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0;
            padding: 0 4px;
        }
        .fc-dur-line .line {
            flex: 1;
            height: 2px;
            background: #d1d5db;
            max-width: 90px;
        }
        .fc-dur-line .dot {
            width: 8px;
            height: 8px;
            background: #9ca3af;
            border-radius: 50%;
            margin-left:5px;
        }
        .fc-dur-line .arrow {
            color: #9ca3af;
            font-size: 18px;
        }
        .fc-stops {
            font-size: 13px;
            color: #9ca3af;
            margin-top: 5px;
        }

        /* Arrival column */
        .fc-arr { text-align: right; }

        /* Price column */
        .fc-price {
            flex: 0 0 200px;
            text-align: right;
            padding-left: 12px;
        }
        .fc-price-old {
            font-size: 14px;
            color: #9ca3af;
            text-decoration: line-through;
        }
        .fc-price-off {
            display: inline-block;
            background: #ecfdf5;
            color: #16a34a;
            font-size: 12px;
            font-weight: 700;
            padding: 3px 10px;
            border-radius: 4px;
            margin-left: 6px;
        }
        .fc-price-total {
            font-size: 14px;
            color: #374151;
            font-weight: 600;
            margin-top: 4px;
        }
        .fc-price-amount {
            font-size: 26px;
            font-weight: 800;
            color: #1B60C1;
            letter-spacing: -0.01em;
        }
        .fc-seats {
            font-size: 13px;
            color: #dc2626;
            font-weight: 600;
            margin-top: 4px;
        }
        .fc-book-btn {
            display: inline-block;
            background: linear-gradient(135deg, #155db2, #1a6fd4);
            color: #fff;
            font-weight: 700;
            font-size: 15px;
            padding: 12px 32px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            margin-top: 10px;
            letter-spacing: 0.04em;
            transition: all 0.2s;
        }
        .fc-book-btn:hover {
            box-shadow: 0 4px 14px rgba(21,93,178,0.3);
            transform: translateY(-1px);
        }

        /* Footer bar */
        .fc-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 32px;
            border-top: 1px dashed #e5e7eb;
            background: white;
            font-size: 14px;
            color: #6b7280;
        }
        .fc-footer a {
            color: #1B60C1;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: color 0.2s;
        }
        .fc-footer a:hover { color: #0f4299; }
        .fc-footer .refundable {
            color: #dc2626;
            font-weight: 600;
            font-size: 14px;
        }
        .fc-footer .refundable.yes {
            color: #16a34a;
        }
        .fc-baggage {
            display: flex;
            align-items: center;
            gap: 20px;
        }
        .fc-baggage span {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 14px;
        }

        /* ── Flight Detail (expandable) ── */
        .fc-detail {
            display: none;
            padding: 0 32px 28px;
            border-top: 1px dashed #e5e7eb;
        }
        .fc-detail.open { display: block; }
        .fc-detail-header {
            font-size: 16px;
            font-weight: 800;
            color: #1a2744;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            padding: 20px 0 14px;
            border-bottom: 1px dashed #d1d5db;
            margin-bottom: 20px;
        }

        /* Timeline */
        .fc-timeline {
            position: relative;
            padding-left: 32px;
        }
        .fc-timeline::before {
            content: '';
            position: absolute;
            left: 9px;
            top: 10px;
            bottom: 10px;
            width: 3px;
            background: #155db2;
            border-radius: 2px;
        }
        .fc-leg {
            position: relative;
            margin-bottom: 32px;
        }
        .fc-leg:last-child { margin-bottom: 0; }
        .fc-leg-dot {
            position: absolute;
            left: -28px;
            top: 5px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #155db2;
            border: 3px solid #fff;
            box-shadow: 0 0 0 2px #155db2;
        }
        .fc-leg-dot.hollow {
            background: #fff;
        }
        .fc-leg-airline {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 14px;
        }
        .fc-leg-airline img {
            width: 40px;
            height: 40px;
            object-fit: contain;
        }
        .fc-leg-airline-info {
            font-size: 15px;
            font-weight: 600;
            color: #374151;
        }
        .fc-leg-airline-info span {
            font-weight: 400;
            color: #9ca3af;
            font-size: 14px;
        }
        .fc-leg-meta {
            font-size: 14px;
            color: #6b7280;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .fc-leg-route {
            display: flex;
            align-items: flex-start;
            gap: 32px;
            margin-top: 12px;
        }
        .fc-leg-point {
            flex: 1;
        }
        .fc-leg-point .airport {
            font-size: 15px;
            color: #374151;
            line-height: 1.4;
        }
        .fc-leg-point .airport strong {
            font-weight: 800;
            color: #111827;
        }
        .fc-leg-point .datetime {
            font-size: 14px;
            color: #6b7280;
            margin-top: 4px;
            line-height: 1.4;
        }
        .fc-leg-point .datetime strong {
            font-weight: 800;
            color: #111827;
            font-size: 20px;
        }
        .fc-leg-point .terminal {
            font-size: 13px;
            color: #9ca3af;
            margin-top: 2px;
        }
        .fc-leg-dur {
            text-align: center;
            flex: 0 0 auto;
            padding-top: 10px;
        }
        .fc-leg-dur .label {
            font-size: 13px;
            color: #9ca3af;
        }
        .fc-leg-dur .val {
            font-size: 17px;
            font-weight: 700;
            color: #111827;
            margin-top: 2px;
        }

        /* Layover */
        .fc-layover {
            position: relative;
            margin: 0 0 32px;
            padding: 10px 0;
        }
        .fc-layover-dot {
            position: absolute;
            left: -28px;
            top: 12px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #fff;
            border: 3px solid #f59e0b;
            box-shadow: 0 0 0 2px #f59e0b;
        }
        .fc-layover-text {
            font-size: 14px;
            font-weight: 600;
            color: #92400e;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        /* ── Search Modal ── */
        .search-modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.5);
            z-index: 9998;
            display: none;
            opacity: 0;
            transition: opacity 0.25s ease;
        }
        .search-modal-overlay.open { display: block; opacity: 1; }
        .search-modal {
            position: fixed;
            top: 0; left: 0; right: 0;
            background: #fff;
            z-index: 9999;
            box-shadow: 0 8px 40px rgba(0,0,0,0.15);
            transform: translateY(-100%);
            transition: transform 0.3s cubic-bezier(.25,.46,.45,.94);
        }
        .search-modal.open { transform: translateY(0); }
        .search-modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 32px;
            border-bottom: 1px solid #e5e7eb;
        }
        .search-modal-header img {
            height: 36px;
        }
        .search-modal-close {
            width: 36px; height: 36px;
            display: flex; align-items: center; justify-content: center;
            border: none; background: transparent;
            font-size: 22px; color: #6b7280;
            cursor: pointer; border-radius: 50%;
            transition: all 0.2s;
        }
        .search-modal-close:hover { background: #f3f4f6; color: #111827; }
        .search-modal-body {
            background: whitesmoke;
            padding: 32px;
        }
        .sm-card {
            background: #fff;
            border-radius: 14px;
            box-shadow: 0 4px 24px rgba(0,0,0,0.08);
            max-width: 1600px; width: 100%;
            margin: 0 auto;
            position: relative;
            padding-bottom: 28px;
        }
        .sm-trip-row {
            display: flex;
            align-items: center;
            gap: 24px;
            padding: 14px 28px;
            border-bottom: 1px solid #f0f0f0;
        }
        .sm-trip-pill {
            display: inline-flex; align-items: center; gap: 6px;
            font-size: 13px; font-weight: 600; color: #4b5563;
            cursor: pointer; padding: 5px 16px; border-radius: 18px;
            border: 1.5px solid #e5e7eb; background: #fff; transition: all 0.2s;
        }
        .sm-trip-pill:has(input:checked) { background: #1B60C1; color: #fff; border-color: #1B60C1; }
        .sm-trip-pill input[type="radio"] { display: none; }
        .sm-fare-sep { width: 1px; height: 18px; background: #d1d5db; }
        .sm-fare-pill {
            display: inline-flex; align-items: center; gap: 6px;
            font-size: 13px; font-weight: 500; color: #4b5563;
            cursor: pointer; padding: 5px 14px; border-radius: 18px;
            border: 1.5px solid #e5e7eb; background: #fff; transition: all 0.2s;
        }
        .sm-fare-pill:has(input:checked) { background: #eff6ff; color: #155db2; border-color: #155db2; }
        .sm-fare-pill input[type="checkbox"] { display: none; }

        .sm-body {
            display: flex; flex-direction: column; padding: 20px 28px 0;
        }
        @media (min-width: 1024px) { .sm-body { flex-direction: row; } }
        .sm-airports {
            display: flex; align-items: center; justify-content: center;
            flex: 1; padding-bottom: 16px;
        }
        @media (min-width: 1024px) {
            .sm-airports { border-right: 1px solid #e5e7eb; padding-right: 28px; padding-bottom: 0; }
        }
        .sm-airport-block { text-align: center; flex: 1; }
        .sm-airport-code { font-size: 32px; font-weight: 900; color: #1a2744; letter-spacing: 2px; line-height: 1; }
        .sm-airport-city { font-size: 12px; color: #6b7280; margin-top: 3px; }
        .sm-swap-col { display: flex; flex-direction: column; align-items: center; padding: 0 14px; }
        .sm-swap-dot { width: 1px; height: 14px; border-left: 2px dashed #d1d5db; }
        .sm-swap-btn {
            width: 34px; height: 34px; border-radius: 50%; background: #fff;
            border: 2px solid #1B60C1; display: flex; align-items: center;
            justify-content: center; cursor: pointer; color: #1B60C1; transition: all 0.2s;
        }
        .sm-swap-btn:hover { background: #1B60C1; color: #fff; }
        .sm-dates-meta { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
        @media (min-width: 1024px) { .sm-dates-meta { padding-left: 28px; padding-top: 0; } }
        .sm-dates-row { display: flex; gap: 16px; }
        .sm-date-field { flex: 1; }
        .sm-date-field label { font-size: 12px; font-weight: 500; color: #6b7280; display: block; margin-bottom: 3px; }
        .sm-date-field input {
            width: 100%; font-size: 15px; font-weight: 600; color: #111827;
            background: transparent; border: none; border-bottom: 1px solid #d1d5db;
            outline: none; padding: 5px 0; cursor: pointer;
        }
        .sm-date-field input::placeholder { color: #9ca3af; font-weight: 400; }
        .sm-meta-row {
            display: flex; gap: 24px; align-items: center;
            font-size: 13px; color: #6b7280;
        }
        .sm-meta-row strong { font-size: 14px; color: #111827; }
        .sm-search-wrap {
            position: absolute; bottom: 0; left: 50%;
            transform: translate(-50%, 50%); z-index: 10;
        }
        .sm-search-btn {
            background: linear-gradient(135deg, #155db2, #1a6fd4);
            color: #fff; font-weight: 800; font-size: 15px;
            padding: 12px 48px; border-radius: 28px; border: none;
            cursor: pointer; letter-spacing: 0.06em;
            box-shadow: 0 4px 16px rgba(21,93,178,0.3); transition: all 0.2s;
        }
        .sm-search-btn:hover { box-shadow: 0 8px 24px rgba(21,93,178,0.4); transform: translateY(-1px); }

        /* ── Airport search dropdown (modal) ── */
        .airport-dropdown {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 320px;
            max-height: 280px;
            overflow-y: auto;
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.12);
            z-index: 200;
            scrollbar-width: thin;
        }
        .airport-dropdown.open { display: block; }
        .airport-dropdown-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 12px 16px;
            cursor: pointer;
            transition: background 0.15s;
            border-bottom: 1px solid #f5f5f5;
        }
        .airport-dropdown-item:last-child { border-bottom: none; }
        .airport-dropdown-item:hover { background: #f0f6ff; }
        .airport-dropdown-item .ad-code {
            font-size: 18px;
            font-weight: 800;
            color: #1a2744;
            min-width: 44px;
        }
        .airport-dropdown-item .ad-info {
            flex: 1;
            min-width: 0;
        }
        .airport-dropdown-item .ad-name {
            font-size: 13px;
            font-weight: 600;
            color: #374151;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .airport-dropdown-item .ad-city {
            font-size: 12px;
            color: #9ca3af;
        }
        .airport-dropdown-empty {
            padding: 16px;
            text-align: center;
            font-size: 13px;
            color: #9ca3af;
        }

        /* ── Travellers dropdown (modal) ── */
        .intl-pax-trigger {
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            position: relative;
        }
        .intl-pax-trigger:hover strong { color: #155db2; }
        .intl-pax-dropdown {
            position: absolute;
            top: calc(100% + 10px);
            left: 0;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
            padding: 24px;
            z-index: 300;
            display: none;
            min-width: 420px;
        }
        .intl-pax-dropdown.open { display: flex; }
        .intl-pax-dropdown .pax-left {
            flex: 1;
            padding-right: 24px;
            border-right: 1px solid #e5e7eb;
        }
        .intl-pax-dropdown .pax-right {
            flex: 1;
            padding-left: 24px;
        }
        .intl-pax-dropdown h4 {
            font-size: 13px;
            font-weight: 800;
            color: #1a2744;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            margin-bottom: 16px;
        }
        .pax-type {
            margin-bottom: 14px;
        }
        .pax-type:last-child { margin-bottom: 0; }
        .pax-type-label {
            font-size: 13px;
            font-weight: 500;
            color: #4b5563;
            margin-bottom: 6px;
        }
        .pax-stepper {
            display: flex;
            align-items: center;
            gap: 0;
            border: 1.5px solid #e5e7eb;
            border-radius: 8px;
            overflow: hidden;
            width: fit-content;
        }
        .pax-stepper button {
            width: 40px; height: 38px;
            display: flex; align-items: center; justify-content: center;
            font-size: 18px; font-weight: 700; color: #155db2;
            background: #f9fafb; border: none; cursor: pointer;
            transition: background 0.15s;
        }
        .pax-stepper button:hover { background: #eff6ff; }
        .pax-stepper input {
            width: 44px; height: 38px; text-align: center;
            font-size: 16px; font-weight: 700; color: #111827;
            border: none; border-left: 1.5px solid #e5e7eb; border-right: 1.5px solid #e5e7eb;
            background: #fff; outline: none;
        }
        .class-option {
            display: flex; align-items: center; gap: 10px;
            padding: 6px 0; cursor: pointer; font-size: 14px; color: #374151;
        }
        .class-option input[type="radio"] {
            accent-color: #155db2;
            width: 17px; height: 17px; margin: 0;
        }
        .class-option:hover { color: #111827; }
        .pax-close-btn {
            background: #155db2;
            color: #fff; font-size: 12px; font-weight: 700;
            padding: 8px 24px; border-radius: 6px;
            border: none; cursor: pointer;
            letter-spacing: 0.04em;
            transition: background 0.2s;
            float: right;
            margin-top: 12px;
        }
        .pax-close-btn:hover { background: #124a94; }

        /* ── Nationality Dropdown ── */
        .intl-nationality-dropdown {
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
            padding: 20px;
            z-index: 100;
            display: none;
            width: 320px;
        }
        .intl-nationality-dropdown.open { display: block; }
        .nationality-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 14px;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.15s;
        }
        .nationality-item:hover { background: #f0f6ff; }
        .nationality-item.active { background: #e8f0fe; }
        .ni-nationality { font-size: 14px; font-weight: 600; color: #111827; }
        .ni-country { font-size: 12px; color: #6b7280; }

        /* Search error toast */
        .search-toast {
            position: absolute;
            top: 12px;
            right: 12px;
            z-index: 50;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 16px;
            background: #fef2f2;
            border: 1px solid #fecaca;
            border-radius: 10px;
            font-size: 13px;
            font-weight: 600;
            color: #dc2626;
            box-shadow: 0 4px 12px rgba(220,38,38,0.1);
            animation: toastIn 0.3s ease;
            max-width: 450px;
        }
        .search-toast i.toast-icon { font-size: 14px; flex-shrink: 0; }
        .search-toast .toast-close {
            margin-left: 4px; cursor: pointer; font-size: 16px;
            color: #dc2626; opacity: 0.6; transition: opacity 0.2s;
            background: none; border: none; padding: 0; line-height: 1; flex-shrink: 0;
        }
        .search-toast .toast-close:hover { opacity: 1; }
        @keyframes toastIn {
            from { opacity: 0; transform: translateY(-8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* ── Share Modal ── */
        .share-overlay {
            position: fixed; inset: 0;
            background: rgba(0,0,0,0.45);
            z-index: 9998; display: none;
        }
        .share-overlay.open { display: block; }
        .share-modal {
            position: fixed; top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            background: #fff; border-radius: 16px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.2);
            z-index: 9999; width: 90%;
            display: none; overflow: hidden;
            max-width: 1090px;
        }
        .share-modal.open { display: block; }
        .share-modal-header {
            display: flex; align-items: center; justify-content: space-between;
            padding: 20px 24px; border-bottom: 1px solid #f0f0f0;
        }
        .share-modal-header h3 {
            font-size: 20px; font-weight: 800; color: #111827;
        }
        .share-modal-close {
            width: 32px; height: 32px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            border: none; background: #f3f4f6; cursor: pointer;
            font-size: 18px; color: #6b7280; transition: all 0.2s;
        }
        .share-modal-close:hover { background: #e5e7eb; color: #111827; }
        .share-modal-flight {
            padding: 20px 24px;
            background: #f9fafb; border-bottom: 1px solid #f0f0f0;
        }
        .share-flight-row {
            display: flex; align-items: center; gap: 14px;
            padding: 10px 0;
        }
        .share-flight-row + .share-flight-row { border-top: 1px dashed #e5e7eb; }
        .share-flight-row .sf-airline { flex: 0 0 70px; text-align: center; }
        .share-flight-row .sf-airline img { width: 36px; height: 36px; object-fit: contain; }
        .share-flight-row .sf-airline .name { font-size: 10px; font-weight: 600; color: #6b7280; margin-top: 2px; }
        .share-flight-row .sf-airline .code { font-size: 9px; color: #9ca3af; }
        .share-flight-row .sf-dep, .share-flight-row .sf-arr { flex: 1; }
        .share-flight-row .sf-city { font-size: 12px; color: #6b7280; }
        .share-flight-row .sf-city strong { color: #111827; font-weight: 800; }
        .share-flight-row .sf-date { font-size: 10px; color: #9ca3af; }
        .share-flight-row .sf-time { font-size: 22px; font-weight: 800; color: #111827; }
        .share-flight-row .sf-dur { flex: 0 0 auto; text-align: center; padding: 0 6px; }
        .share-flight-row .sf-dur .dur-label { font-size: 10px; font-weight: 600; color: #374151; }
        .share-flight-row .sf-dur .dur-stops { font-size: 9px; color: #9ca3af; }
        .share-flight-row .sf-arr { text-align: right; }
        .share-seats { text-align: right; font-size: 11px; font-weight: 600; color: #dc2626; padding: 4px 24px 0; }

        .share-actions {
            display: flex; justify-content: center; gap: 16px;
            padding: 24px;
        }
        .share-action-btn {
            display: flex; flex-direction: column; align-items: center; gap: 6px;
            cursor: pointer; transition: all 0.2s; border: none; background: none;
            padding: 0; font-family: inherit;
        }
        .share-action-btn .icon-circle {
            width: 48px; height: 48px; border-radius: 50%;
            border: 1.5px solid #e5e7eb; background: #fff;
            display: flex; align-items: center; justify-content: center;
            transition: all 0.2s;
        }
        .share-action-btn:hover .icon-circle { border-color: #155db2; background: #eff6ff; }
        .share-action-btn .icon-circle i { font-size: 18px; color: #374151; }
        .share-action-btn:hover .icon-circle i { color: #155db2; }
        .share-action-btn .icon-circle.whatsapp { border-color: #25D366; background: #25D366; }
        .share-action-btn .icon-circle.whatsapp i { color: #fff; }
        .share-action-btn .icon-circle.messenger { border-color: #0084FF; background: #0084FF; }
        .share-action-btn .icon-circle.messenger i { color: #fff; }
        .share-action-btn .icon-circle.viber { border-color: #7360F2; background: #7360F2; }
        .share-action-btn .icon-circle.viber i { color: #fff; }
        .share-action-btn span {
            font-size: 11px; font-weight: 600; color: #6b7280;
        }

        /* Flatpickr fare price in day cells */
        .flatpickr-day .fare-price {
            display: block;
            font-size: 8px;
            font-weight: 600;
            color: #16a34a;
            line-height: 1;
            margin-top: 1px;
        }
        .flatpickr-day.selected .fare-price,
        .flatpickr-day.startRange .fare-price,
        .flatpickr-day.endRange .fare-price {
            color: #fff;
        }
        .flatpickr-day {
            height: 42px !important;
            line-height: 28px !important;
        }
        /* ═══════════════════════════════════════════
           MULTI-CITY SEGMENT ROWS (desktop search modal + mobile edit sheet)
        ═══════════════════════════════════════════ */
        .mc-row {
            position: relative;
            display: grid;
            grid-template-columns: auto 1fr auto 1fr auto 200px auto;
            align-items: stretch;
            gap: 0;
            padding: 0;
            border: 1px solid #e5e7eb;
            border-radius: 14px;
            background: #fff;
            transition: border-color .2s ease, box-shadow .2s ease;
        }
        .mc-row:hover { border-color: #cbd5e1; box-shadow: 0 2px 12px -4px rgba(27, 96, 193, 0.08); }
        .mc-row .mc-flag { border-top-left-radius: 13px; border-bottom-left-radius: 13px; }
        .mc-row .mc-remove-col:last-child { border-top-right-radius: 13px; border-bottom-right-radius: 13px; }

        @media (max-width: 1023px) {
            .mc-row { grid-template-columns: 1fr; padding: 12px; gap: 8px; }
            .mc-row .mc-flag { border-right: none; border-bottom: 1px solid #f1f5f9; padding: 10px 14px; border-radius: 10px 10px 0 0 !important; }
            .mc-row .mc-arrow-col { display: none; }
            .mc-row .mc-divider { display: none; }
            .mc-row .mc-field { padding: 10px 14px; }
            .mc-row .mc-date { border-left: none; padding: 10px 14px; }
            .mc-row .mc-remove-col { border-left: none; padding: 6px 14px 10px; justify-content: flex-end; }
        }

        .mc-flag {
            display: flex; align-items: center; gap: 10px;
            padding: 14px 18px;
            background: linear-gradient(180deg, #f0f6ff 0%, #e8f1fd 100%);
            border-right: 1px solid #f1f5f9;
            min-width: 110px;
        }
        .mc-flag-num {
            width: 32px; height: 32px; border-radius: 50%;
            background: #1B60C1; color: #fff;
            font-size: 13px; font-weight: 700;
            display: inline-flex; align-items: center; justify-content: center;
            box-shadow: 0 2px 6px rgba(27, 96, 193, 0.25);
        }
        .mc-flag-label {
            font-size: 10px; font-weight: 700; color: #1B60C1;
            text-transform: uppercase; letter-spacing: .08em; line-height: 1.2;
        }
        .mc-flag-label .mc-flag-sub {
            display: block; font-size: 9.5px; color: #64748b;
            font-weight: 500; letter-spacing: .02em; text-transform: none; margin-top: 1px;
        }

        .mc-field { padding: 14px 18px; position: relative; min-width: 0; z-index: 1; }
        .mc-field:focus-within { z-index: 30; }
        .mc-field-label {
            font-size: 10px; font-weight: 700; color: #9ca3af;
            text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px;
        }
        .mc-code-input {
            width: 100%; font-size: 26px; font-weight: 900; color: #1a2744;
            letter-spacing: 2px; line-height: 1; padding: 2px 0;
            border: none; outline: none; background: transparent; text-transform: uppercase;
        }
        .mc-code-input::placeholder { color: #d1d5db; letter-spacing: 1px; }
        .mc-city {
            font-size: 11.5px; color: #6b7280; margin-top: 6px;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }

        .mc-arrow-col {
            display: flex; flex-direction: column;
            align-items: center; justify-content: center;
            padding: 0 6px;
        }
        .mc-arrow-line { width: 1px; height: 14px; border-left: 2px dashed #d1d5db; }
        .mc-arrow-btn {
            width: 32px; height: 32px; border-radius: 50%;
            border: 1.5px solid #e5e7eb; background: #fff; color: #1B60C1;
            font-size: 12px;
            display: inline-flex; align-items: center; justify-content: center;
        }

        .mc-divider { width: 1px; background: #f1f5f9; margin: 12px 0; }

        .mc-date { padding: 14px 18px; min-width: 0; }
        .mc-date input[type="text"] {
            width: 100%; font-size: 15px; font-weight: 700; color: #1a2744;
            padding: 4px 0; border: none; outline: none; background: transparent; cursor: pointer;
        }
        .mc-date input[type="text"]::placeholder { color: #9ca3af; font-weight: 500; }

        .mc-remove-col {
            display: flex; align-items: center; justify-content: center;
            padding: 0 14px; border-left: 1px solid #f1f5f9;
        }
        .mc-remove-btn {
            width: 32px; height: 32px; border-radius: 50%;
            border: 1.5px solid #fee2e2; background: #fff;
            color: #ef4444; font-size: 13px; cursor: pointer;
            display: inline-flex; align-items: center; justify-content: center;
            transition: all .15s ease;
        }
        .mc-remove-btn:hover { background: #fef2f2; border-color: #fecaca; transform: scale(1.05); }
        .mc-remove-spacer { width: 32px; display: inline-block; }

        .mc-actions {
            display: flex; align-items: center; justify-content: space-between;
            margin-top: 16px; gap: 12px; flex-wrap: wrap;
        }
        .mc-add-btn {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 10px 18px;
            border: 1.5px dashed #1B60C1; color: #1B60C1;
            background: #fff; border-radius: 10px;
            font-size: 13px; font-weight: 700; cursor: pointer;
            transition: all .15s ease;
        }
        .mc-add-btn:hover { background: #f0f6ff; }
        .mc-add-btn:disabled { opacity: .4; cursor: not-allowed; }
        .mc-hint { font-size: 11.5px; color: #94a3b8; font-weight: 500; }
        .mc-hint strong { color: #1B60C1; font-weight: 700; }

        .mc-field .airport-dropdown {
            left: 12px; top: calc(100% - 4px); transform: none;
            width: 360px; max-width: 92vw;
        }
        .mc-field .airport-dropdown.open { width: 360px; max-width: 92vw; }

        /* MultiCity body inside the triplist search modal */
        #smMultiCityBody { padding: 16px 24px 0; display: none; }
        #smMultiCityBody.open { display: block; }
        #smMcSegments { display: flex; flex-direction: column; gap: 14px; }

        /* MultiCity body inside the mobile edit sheet */
        #editMultiCityBody { display: none; flex-direction: column; gap: 10px; }
        #editMultiCityBody.open { display: flex; }
        #editMcSegments { display: flex; flex-direction: column; gap: 10px; }

        /* Compact mobile multi-city cards (mcm = Multi-City Mobile) */
        .mcm-card {
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 10px 12px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .mcm-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .mcm-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 10px;
            font-weight: 700;
            color: #1B60C1;
            text-transform: uppercase;
            letter-spacing: .05em;
        }
        .mcm-badge-num {
            width: 20px; height: 20px;
            border-radius: 50%;
            background: #1B60C1;
            color: #fff;
            font-size: 10px;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .mcm-x {
            width: 26px; height: 26px;
            border-radius: 50%;
            border: 1px solid #fee2e2;
            background: #fef2f2;
            color: #ef4444;
            font-size: 11px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .mcm-x:active { transform: scale(0.92); }

        .mcm-route {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
            gap: 6px;
            background: #f8fafc;
            border: 1px solid #f1f5f9;
            border-radius: 10px;
            padding: 6px;
        }
        .mcm-ap {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 1px;
            padding: 8px 10px;
            background: #fff;
            border: 1px solid transparent;
            border-radius: 8px;
            cursor: pointer;
            min-width: 0;
            width: 100%;
            text-align: left;
            transition: border-color .15s ease;
        }
        .mcm-ap:active { border-color: #bfdbfe; background: #f0f6ff; }
        .mcm-ap-label {
            font-size: 9px;
            font-weight: 600;
            color: #9ca3af;
            text-transform: uppercase;
            letter-spacing: .06em;
        }
        .mcm-ap-code {
            font-size: 18px;
            font-weight: 900;
            color: #1a2744;
            letter-spacing: 1.5px;
            line-height: 1;
        }
        .mcm-ap-city {
            font-size: 10px;
            color: #64748b;
            margin-top: 1px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
        }
        .mcm-arrow {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: #fff;
            border: 1px solid #e5e7eb;
            color: #1B60C1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
        }

        .mcm-date {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 10px;
            background: #f8fafc;
            border: 1px solid #f1f5f9;
            border-radius: 10px;
        }
        .mcm-date .mcm-ap-label { min-width: 48px; }
        .mcm-date input[type="date"] {
            flex: 1;
            border: none;
            background: transparent;
            outline: none;
            font-size: 13px;
            font-weight: 700;
            color: #1a2744;
            padding: 2px 0;
            min-width: 0;
        }

        /* Tighter actions row inside the mobile edit sheet */
        #editMultiCityBody .mc-actions { margin-top: 4px; gap: 8px; }
        #editMultiCityBody .mc-add-btn { padding: 8px 12px; font-size: 12px; border-radius: 8px; }
        #editMultiCityBody .mc-hint { font-size: 10.5px; }
