/* ==========================================================================
   Serp Flights Search — Premium Stylesheet (Font Awesome Edition)
   ========================================================================== */

.sfs-plugin-container {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.sfs-plugin-container * { box-sizing: border-box; }

/* FA icon base size in plugin */
.sfs-plugin-container .fa-solid,
.sfs-plugin-container .fa-regular,
.sfs-plugin-container .fa-brands { line-height: 1; }

/* ==========================================================================
   1. SEARCH FORM
   ========================================================================== */
.sfs-search-container {
    background: #ffffff;
    border: 1px solid rgba(226,232,240,0.8);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(79,70,229,0.06), 0 2px 8px rgba(0,0,0,0.03);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
.sfs-search-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
}

/* Trip Type Tabs */
.sfs-trip-type-selector {
    display: inline-flex;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    gap: 2px;
}
.sfs-radio-label {
    position: relative;
    cursor: pointer;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 9px;
    transition: all 0.25s ease;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 7px;
    user-select: none;
}
.sfs-radio-label input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.sfs-radio-label .fa-solid { font-size: 12px; }
.sfs-radio-label.active {
    background: #ffffff;
    color: #4f46e5;
    box-shadow: 0 2px 10px rgba(79,70,229,0.12);
}
.sfs-radio-label:hover:not(.active) { color: #1e293b; }

/* Inputs Grid */
.sfs-inputs-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr 1fr 1fr;
    gap: 16px;
    align-items: flex-end;
}
@media (max-width:1024px) {
    .sfs-inputs-grid { grid-template-columns: 1fr 1fr; }
    .sfs-swap-wrapper { display: none !important; }
    .sfs-currency-group { grid-column: span 2; }
}
@media (max-width:640px) {
    .sfs-inputs-grid { grid-template-columns: 1fr; }
    .sfs-currency-group { grid-column: span 1; }
}

.sfs-field-group { display: flex; flex-direction: column; gap: 7px; }
.sfs-field-group label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}
.sfs-field-group label .fa-solid { font-size: 11px; color: #a5b4fc; }

.sfs-input-wrapper { position: relative; display: flex; align-items: center; }
.sfs-input-icon {
    position: absolute;
    left: 13px;
    font-size: 14px;
    color: #a5b4fc;
    pointer-events: none;
    z-index: 2;
}
.sfs-input-wrapper input,
.sfs-input-wrapper select {
    width: 100%;
    padding: 13px 14px 13px 40px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    transition: all 0.2s ease;
    height: 50px;
    font-family: inherit;
}
.sfs-input-wrapper input:focus,
.sfs-input-wrapper select:focus {
    background: #fff;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99,102,241,0.1);
}
.sfs-input-wrapper input::placeholder { color: #cbd5e1; font-weight: 400; }
#sfs_departure_id, #sfs_arrival_id { text-transform: uppercase; }

/* Swap btn */
.sfs-swap-wrapper { display: flex; align-items: center; justify-content: center; height: 50px; padding-bottom: 0; }
.sfs-swap-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    color: #6366f1;
    font-size: 14px;
}
.sfs-swap-btn:hover {
    background: #eef2ff;
    border-color: #6366f1;
    transform: rotate(180deg);
    box-shadow: 0 4px 12px rgba(99,102,241,0.15);
}

/* Submit btn */
.sfs-form-submit { margin-top: 22px; display: flex; justify-content: flex-end; }
@media (max-width:640px) { .sfs-form-submit { justify-content: stretch; } .sfs-submit-btn { width: 100%; } }
.sfs-submit-btn {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 0 32px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(79,70,229,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 190px;
    height: 52px;
    font-family: inherit;
    letter-spacing: 0.2px;
}
.sfs-submit-btn .fa-solid { font-size: 15px; }
.sfs-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79,70,229,0.45); background: linear-gradient(135deg,#4f46e5 0%,#4338ca 100%); }
.sfs-submit-btn:active { transform: translateY(0); }
.sfs-submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* Spinner (FA) */
.sfs-spinner { display: inline-flex; align-items: center; }
.sfs-spinner .fa-spin { font-size: 16px; color: #fff; }

/* ==========================================================================
   2. RESULTS SECTION
   ========================================================================== */
.sfs-results-wrapper { margin-top: 40px; }
.sfs-results-header h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sfs-results-header h2 .fa-solid { color: #6366f1; font-size: 20px; }

.sfs-results-section { margin-bottom: 40px; }
.sfs-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    padding-left: 4px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.sfs-section-title .fa-solid { font-size: 12px; color: #f59e0b; }
.sfs-section-title .fa-list { color: #94a3b8; }

.sfs-flights-list { display: flex; flex-direction: column; gap: 14px; }

/* Flight Card */
.sfs-flight-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: all 0.3s ease;
}
.sfs-flight-card:hover {
    border-color: #c7d2fe;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(79,70,229,0.08);
}

.sfs-card-main {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    padding: 22px 24px;
    align-items: center;
    gap: 20px;
}
@media (max-width:900px) { .sfs-card-main { grid-template-columns: 1fr; padding: 18px; gap: 20px; } }

/* Airline col */
.sfs-airline-col { display: flex; align-items: center; gap: 14px; }
.sfs-airline-logo {
    width: 46px; height: 46px;
    object-fit: contain;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 50%;
    padding: 4px;
    flex-shrink: 0;
}
.sfs-airline-logo-fallback {
    width: 46px; height: 46px;
    background: linear-gradient(135deg,#eef2ff,#e0e7ff);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #6366f1;
    font-size: 18px;
    flex-shrink: 0;
}
.sfs-airline-info { display: flex; flex-direction: column; gap: 3px; }
.sfs-airline-name { font-size: 14px; font-weight: 700; color: #0f172a; line-height: 1.2; }
.sfs-flight-no {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
.sfs-flight-no .fa-hashtag { font-size: 10px; }

/* Schedule col */
.sfs-schedule-col {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}
.sfs-time-block { display: flex; flex-direction: column; min-width: 70px; }
.sfs-time-block.departure { text-align: right; }
.sfs-time-block.arrival { text-align: left; }
.sfs-time-block .sfs-time { font-size: 20px; font-weight: 800; color: #0f172a; line-height: 1; }
.sfs-time-block .sfs-airport {
    font-size: 12px; font-weight: 700; color: #94a3b8; margin-top: 4px;
    display: flex; align-items: center; gap: 4px;
}
.sfs-time-block.departure .sfs-airport { justify-content: flex-end; }
.sfs-time-block.arrival .sfs-airport { justify-content: flex-start; }
.sfs-airport .fa-solid { font-size: 11px; }

.sfs-duration-block {
    display: flex; flex-direction: column;
    flex-grow: 1; max-width: 260px;
    align-items: center; gap: 5px;
}
.sfs-duration {
    font-size: 12px; font-weight: 600; color: #64748b;
    display: flex; align-items: center; gap: 5px;
}
.sfs-duration .fa-regular { font-size: 11px; color: #a5b4fc; }

.sfs-timeline-indicator {
    position: relative; width: 100%; height: 10px;
    display: flex; align-items: center;
}
.sfs-timeline-line { position: absolute; left: 0; right: 0; height: 2px; background: #e2e8f0; border-radius: 2px; }
.sfs-timeline-dot { position: absolute; right: 0; width: 8px; height: 8px; border-radius: 50%; background: #6366f1; }
.sfs-timeline-stop-dot {
    position: absolute; left: 50%;
    width: 8px; height: 8px;
    border-radius: 50%; background: #f59e0b;
    transform: translateX(-50%); z-index: 2; cursor: pointer;
    border: 2px solid #fff;
}

.sfs-stops {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    display: flex; align-items: center; gap: 4px;
}
.sfs-stops .fa-solid { font-size: 10px; }
.sfs-stops.nonstop { color: #10b981; }
.sfs-stops.nonstop .fa-solid { color: #10b981; }
.sfs-stops.has-stops { color: #f59e0b; }
.sfs-stops.has-stops .fa-solid { color: #f59e0b; }
.sfs-layover-airports { font-size: 10px; color: #94a3b8; text-transform: none; font-weight: 500; }

/* ==========================================================================
   3. PRICE COL + PEEL STICKER BUTTON
   ========================================================================== */
.sfs-price-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    min-width: 180px;
}
@media (max-width:900px) {
    .sfs-price-col { flex-direction: row; align-items: center; justify-content: space-between; border-top: 1px solid #f1f5f9; padding-top: 14px; min-width: unset; }
}

.sfs-price-wrapper { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
@media (max-width:900px) { .sfs-price-wrapper { align-items: flex-start; } }

.sfs-original-price {
    font-size: 13px; color: #94a3b8;
    text-decoration: line-through; font-weight: 500;
}
.sfs-discount-badge {
    display: inline-flex; align-items: center; gap: 4px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #fff; font-size: 11px; font-weight: 700;
    padding: 3px 9px; border-radius: 20px;
    letter-spacing: 0.3px;
}
.sfs-discount-badge .fa-solid { font-size: 10px; }
.sfs-price-value.discounted { font-size: 24px; font-weight: 800; color: #16a34a; line-height: 1.1; }
.sfs-price-label {
    font-size: 11px; color: #94a3b8; font-weight: 400;
    display: flex; align-items: center; gap: 4px;
}
.sfs-price-label .fa-solid { font-size: 10px; }

/* ── PEEL STICKER BUTTON ─────────────────────────────────────────── */
.sfs-sticker-outer {
    position: relative;
    display: inline-flex;
    cursor: pointer;
    user-select: none;
    outline: none;
}

/* Pulse rings */
.sfs-pulse-ring {
    position: absolute;
    inset: -5px;
    border-radius: 13px;
    border: 2px solid #ef4444;
    opacity: 0;
    animation: sfs-pulse-anim 2.6s ease-out infinite;
    pointer-events: none;
}
.sfs-pulse-delay { animation-delay: 1.3s; }
@keyframes sfs-pulse-anim {
    0%   { opacity: 0.55; transform: scale(1); }
    100% { opacity: 0;    transform: scale(1.22); }
}

.sfs-sticker-body {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: #C0141A;
    border-radius: 10px 10px 10px 3px;
    overflow: visible;
    transition: background 0.18s, box-shadow 0.18s;
    box-shadow: 0 4px 16px rgba(192,20,26,0.35);
}
.sfs-sticker-outer:hover .sfs-sticker-body {
    background: #a51017;
    box-shadow: 0 6px 22px rgba(192,20,26,0.45);
}
.sfs-sticker-outer.sfs-done .sfs-sticker-body { background: #15803d; box-shadow: 0 4px 16px rgba(21,128,61,0.35); }

/* Icon box left */
.sfs-sticker-icon-box {
    width: 48px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.18);
    border-radius: 8px 0 0 3px;
    font-size: 20px; color: #fff;
    flex-shrink: 0;
    transition: background 0.18s;
}

/* Label area */
.sfs-sticker-label {
    display: flex; flex-direction: column;
    padding: 0 18px 0 12px;
    gap: 1px;
}
.sfs-sticker-top {
    font-size: 10px; color: rgba(255,255,255,0.7);
    letter-spacing: 0.6px; text-transform: uppercase;
    font-weight: 500; line-height: 1;
}
.sfs-sticker-main {
    font-size: 13px; font-weight: 700; color: #fff;
    letter-spacing: 0.1px; white-space: nowrap; line-height: 1.4;
}

/* 30% OFF badge top-right */
.sfs-sticker-badge {
    position: absolute;
    top: -10px; right: -6px;
    background: #f59e0b; color: #7c2d00;
    font-size: 10px; font-weight: 700;
    padding: 2px 7px; border-radius: 20px;
    border: 2px solid #fff;
    white-space: nowrap;
    display: flex; align-items: center; gap: 3px;
    letter-spacing: 0.2px;
}
.sfs-sticker-badge .fa-solid { font-size: 9px; }
.sfs-sticker-outer.sfs-done .sfs-sticker-badge { display: none; }

/* Tag notch right */
.sfs-sticker-notch {
    position: absolute;
    right: -8px; top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-style: solid;
    border-width: 8px 0 8px 8px;
    border-color: transparent transparent transparent #C0141A;
    transition: border-color 0.18s;
}
.sfs-sticker-outer:hover .sfs-sticker-notch { border-left-color: #a51017; }
.sfs-sticker-outer.sfs-done .sfs-sticker-notch { border-left-color: #15803d; }

/* Peel corner bottom-left */
.sfs-peel-corner {
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 0 20px 20px;
    border-color: transparent transparent #7a0c10 transparent;
    transition: border-width 0.22s cubic-bezier(0.34,1.56,0.64,1);
    z-index: 3;
    filter: drop-shadow(-1px 1px 2px rgba(0,0,0,0.25));
}
.sfs-peel-corner::after {
    content: '';
    position: absolute;
    bottom: -20px; left: -20px;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 0 20px 20px;
    border-color: transparent transparent #f8fafc transparent;
}
.sfs-sticker-outer:hover .sfs-peel-corner { border-width: 0 0 34px 34px; }
.sfs-sticker-outer:hover .sfs-peel-corner::after { border-width: 0 0 34px 34px; bottom: -34px; left: -34px; }
.sfs-sticker-outer.sfs-done .sfs-peel-corner { border-width: 0 0 46px 46px; border-color: transparent transparent #135e2d transparent; }
.sfs-sticker-outer.sfs-done .sfs-peel-corner::after { border-width: 0 0 46px 46px; bottom: -46px; left: -46px; }

/* Shine sweep */
.sfs-shine-sweep {
    position: absolute; top: 0; left: -50px;
    width: 35px; height: 100%;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    border-radius: 10px;
    animation: sfs-shine 3.5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes sfs-shine {
    0%   { left: -50px; opacity: 0; }
    8%   { opacity: 1; }
    38%  { left: 110%; opacity: 1; }
    39%  { opacity: 0; }
    100% { left: 110%; opacity: 0; }
}
.sfs-sticker-outer.sfs-done .sfs-shine-sweep { display: none; }
.sfs-sticker-outer.sfs-done .sfs-pulse-ring { animation: none; border-color: #15803d; }

/* ==========================================================================
   4. CARD FOOTER — Details toggle
   ========================================================================== */
.sfs-card-footer {
    border-top: 1px solid #f1f5f9;
    padding: 9px 22px;
    background: #fafafa;
    display: flex;
    justify-content: flex-start;
}
.sfs-details-toggle {
    background: none; border: none; padding: 0;
    font-size: 12px; font-weight: 600; color: #94a3b8;
    cursor: pointer;
    display: flex; align-items: center; gap: 6px;
    outline: none; transition: color 0.2s;
    font-family: inherit;
}
.sfs-details-toggle:hover { color: #6366f1; }
.sfs-details-toggle .fa-circle-info { font-size: 12px; }
.sfs-toggle-icon {
    font-size: 10px;
    transition: transform 0.3s ease;
}
.sfs-flight-card.active-details .sfs-toggle-icon { transform: rotate(180deg); }

/* ==========================================================================
   5. SEGMENT DETAILS PANE
   ========================================================================== */
.sfs-flight-details-pane {
    border-top: 1px solid #f1f5f9;
    padding: 22px 24px;
    background: #f8fafc;
    display: flex; flex-direction: column; gap: 16px;
    position: relative;
}
.sfs-flight-details-pane::before {
    content: '';
    position: absolute;
    top: 30px; bottom: 30px; left: 34px;
    width: 2px;
    border-left: 2px dashed #e2e8f0;
}
.sfs-segment-row {
    position: relative;
    padding-left: 30px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
}
@media (max-width:640px) { .sfs-segment-row { grid-template-columns: 1fr; gap: 10px; } }
.sfs-segment-row::before {
    content: '';
    position: absolute;
    left: 8px; top: 4px;
    width: 10px; height: 10px;
    border-radius: 50%; background: #4f46e5;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #4f46e5;
}
.sfs-segment-airline { font-size: 13px; color: #334155; line-height: 1.4; display: flex; flex-direction: column; gap: 2px; }
.sfs-segment-airline .fa-solid { color: #6366f1; margin-right: 4px; font-size: 12px; }
.sfs-segment-airline strong { font-size: 14px; color: #0f172a; }
.sfs-airplane-model { font-size: 11px; color: #94a3b8; display: flex; align-items: center; gap: 4px; }
.sfs-airplane-model .fa-solid { font-size: 10px; color: #cbd5e1; }

.sfs-segment-route { font-size: 13px; color: #475569; display: flex; flex-direction: column; gap: 5px; }
.sfs-segment-route strong { color: #0f172a; font-size: 13px; }
.sfs-segment-route .fa-solid { font-size: 11px; color: #a5b4fc; margin-right: 3px; }
.sfs-segment-arrow { padding-left: 4px; color: #cbd5e1; display: flex; align-items: center; gap: 6px; }
.sfs-segment-arrow small { font-weight: 500; color: #94a3b8; }

.sfs-layover-row {
    position: relative;
    font-size: 12px; font-weight: 600; color: #92400e;
    background: #fef3c7;
    border-radius: 8px;
    padding: 8px 12px 8px 36px;
    margin: 2px 0 2px 28px;
    display: flex; align-items: center; gap: 6px;
}
.sfs-layover-row .fa-solid { position: absolute; left: 12px; font-size: 13px; color: #d97706; }

/* ==========================================================================
   6. SKELETON LOADER
   ========================================================================== */
.sfs-skeleton-card {
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 16px; padding: 22px 24px;
    display: grid; grid-template-columns: 220px 1fr 180px;
    gap: 20px; align-items: center;
}
.sfs-skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e8edf5 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: sfs-shimmer 1.6s infinite;
    border-radius: 8px;
}
.sfs-skeleton.line { height: 14px; width: 80%; }
.sfs-skeleton.circle { height: 46px; width: 46px; border-radius: 50%; }
.sfs-skeleton.btn { height: 50px; width: 100%; border-radius: 10px; }
@keyframes sfs-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ==========================================================================
   7. NOTICE BOXES
   ========================================================================== */
.sfs-notice-box {
    padding: 14px 18px; border-radius: 12px;
    font-size: 14px; font-weight: 500; line-height: 1.4;
    margin: 16px 0; display: flex; align-items: center; gap: 10px;
}
.sfs-notice-box .fa-solid { font-size: 16px; }
.sfs-notice-box.error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.sfs-notice-box.error .fa-solid { color: #ef4444; }
.sfs-notice-box.success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.sfs-notice-box.success .fa-solid { color: #22c55e; }

/* ==========================================================================
   8. BOOKING MODAL
   ========================================================================== */
.sfs-modal-overlay {
    position: fixed; top:0; left:0; right:0; bottom:0;
    background: rgba(15,23,42,0.65);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: sfs-fade-in 0.25s ease;
}
.sfs-modal-container {
    background: #fff;
    border-radius: 24px;
    width: 100%; max-width: 520px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.22);
    position: relative;
    overflow: hidden;
    animation: sfs-slide-up 0.35s cubic-bezier(0.16,1,0.3,1);
    display: flex; flex-direction: column;
    max-height: 95vh;
    overflow-y: auto;
}
@keyframes sfs-fade-in { from{opacity:0} to{opacity:1} }
@keyframes sfs-slide-up { from{opacity:0;transform:translateY(24px) scale(0.97)} to{opacity:1;transform:translateY(0) scale(1)} }

/* Top gradient bar */
.sfs-modal-container::before {
    content: '';
    position: sticky; top: 0;
    display: block; height: 4px;
    background: linear-gradient(90deg,#f97316,#ef4444);
    flex-shrink: 0;
}

/* Close btn */
.sfs-modal-close-btn {
    position: absolute; top: 16px; right: 16px;
    width: 32px; height: 32px;
    background: #f1f5f9; border: none; border-radius: 50%;
    color: #64748b; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; transition: all 0.2s; z-index: 10;
}
.sfs-modal-close-btn:hover { background: #fee2e2; color: #ef4444; }

/* Modal header */
.sfs-modal-header { padding: 24px 28px 16px; border-bottom: 1px solid #f1f5f9; }
.sfs-modal-discount-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg,#fef3c7,#fde68a);
    color: #92400e; font-size: 12px; font-weight: 700;
    padding: 5px 12px; border-radius: 20px;
    border: 1px solid #fcd34d; margin-bottom: 10px;
}
.sfs-modal-discount-badge .fa-solid { font-size: 11px; color: #f97316; }
.sfs-modal-header h3 {
    font-size: 19px; font-weight: 800; margin: 0 0 5px;
    color: #0f172a; display: flex; align-items: center; gap: 8px;
}
.sfs-modal-header h3 .fa-solid { color: #ef4444; font-size: 17px; }
.sfs-modal-subtitle { font-size: 13px; color: #64748b; margin: 0; }

/* Flight summary */
.sfs-selected-flight-summary {
    background: #f8fafc; border: 1px solid #e2e8f0;
    border-radius: 14px; margin: 18px 24px;
    padding: 16px; display: flex; flex-direction: column; gap: 12px;
}
.sfs-summary-route {
    display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 2px;
}
.sfs-summary-airport { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.sfs-summary-code { font-size: 28px; font-weight: 800; color: #0f172a; line-height: 1; }
.sfs-summary-label {
    font-size: 11px; color: #94a3b8; text-transform: uppercase;
    letter-spacing: 0.5px; display: flex; align-items: center; gap: 4px;
}
.sfs-summary-label .fa-solid { font-size: 10px; }
.sfs-summary-arrow { color: #6366f1; font-size: 20px; }

.sfs-summary-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.sfs-summary-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #475569; }
.sfs-meta-icon { font-size: 13px; color: #a5b4fc; }
.sfs-meta-val  { font-weight: 600; color: #0f172a; }
.sfs-meta-sub  { color: #94a3b8; font-size: 12px; }

/* Price comparison */
.sfs-summary-price-row {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    background: linear-gradient(135deg,#f0fdf4,#dcfce7);
    border: 1px solid #86efac; border-radius: 12px;
    padding: 14px 16px; flex-wrap: wrap;
}
.sfs-price-original-wrap,.sfs-price-discounted-wrap { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.sfs-modal-original-label,.sfs-modal-discounted-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }
.sfs-modal-original-label  { color: #94a3b8; }
.sfs-modal-discounted-label { color: #15803d; }
.sfs-modal-original-price { font-size: 16px; font-weight: 700; color: #94a3b8; text-decoration: line-through; }
.sfs-modal-discounted-price { font-size: 26px; font-weight: 800; color: #16a34a; line-height: 1; }
.sfs-price-arrow { font-size: 16px; color: #22c55e; }
.sfs-saving-badge {
    background: #16a34a; color: #fff; font-size: 11px; font-weight: 700;
    padding: 4px 10px; border-radius: 20px; white-space: nowrap;
    display: flex; align-items: center; gap: 5px;
}
.sfs-saving-badge .fa-solid { font-size: 10px; }

/* Form */
.sfs-booking-form { display: flex; flex-direction: column; }
.sfs-form-fields { padding: 0 24px 16px; display: flex; flex-direction: column; gap: 14px; }
.sfs-form-group { display: flex; flex-direction: column; gap: 6px; }
.sfs-form-group label {
    font-size: 12px; font-weight: 700; color: #475569;
    display: flex; align-items: center; gap: 6px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.sfs-form-group label .fa-solid { font-size: 12px; color: #a5b4fc; }
.sfs-form-group label .required { color: #ef4444; font-size: 14px; }
.sfs-form-group .sfs-input-wrapper input {
    padding: 12px 14px 12px 40px;
    font-size: 14px; font-weight: 500; height: 46px;
    border-color: #e2e8f0;
}
.sfs-form-group .sfs-input-wrapper input:focus { border-color: #f97316; box-shadow: 0 0 0 3px rgba(249,115,22,0.1); }

/* Trust badges row */
.sfs-trust-row {
    display: flex; flex-wrap: wrap; gap: 8px 16px;
    justify-content: center;
    padding: 4px 24px 10px;
}
.sfs-trust-item {
    display: flex; align-items: center; gap: 5px;
    font-size: 11px; color: #64748b; font-weight: 500;
}
.sfs-trust-item .fa-solid { font-size: 12px; color: #a5b4fc; }

.sfs-trust-line {
    font-size: 11px; color: #94a3b8;
    text-align: center; margin: 0 24px 14px;
    line-height: 1.5; display: flex; align-items: flex-start; justify-content: center; gap: 5px;
}
.sfs-trust-line .fa-solid { font-size: 12px; color: #22c55e; margin-top: 1px; flex-shrink: 0; }

.sfs-booking-message {
    margin: 0 24px 12px;
    padding: 11px 14px; border-radius: 10px;
    font-size: 13px; font-weight: 500;
}
.sfs-booking-message.error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.sfs-booking-message.success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }

/* Modal footer */
.sfs-modal-footer {
    padding: 16px 24px 24px;
    border-top: 1px solid #f1f5f9;
    display: flex; justify-content: flex-end; gap: 10px;
    background: #fafafa;
}
.sfs-btn-cancel {
    background: #fff; color: #475569;
    border: 1.5px solid #e2e8f0; border-radius: 10px;
    padding: 10px 18px; font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all 0.2s;
    display: flex; align-items: center; gap: 6px;
    font-family: inherit;
}
.sfs-btn-cancel .fa-solid { font-size: 12px; }
.sfs-btn-cancel:hover { background: #f1f5f9; border-color: #94a3b8; color: #0f172a; }

.sfs-btn-confirm {
    background: linear-gradient(135deg,#f97316 0%,#ef4444 100%);
    color: #fff; border: none; border-radius: 10px;
    padding: 11px 22px; font-size: 14px; font-weight: 700;
    cursor: pointer; transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(239,68,68,0.35);
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 180px; font-family: inherit;
}
.sfs-btn-confirm .fa-solid { font-size: 13px; }
.sfs-btn-confirm:hover { background: linear-gradient(135deg,#ea6c0a,#dc2626); box-shadow: 0 6px 20px rgba(239,68,68,0.45); transform: translateY(-1px); }
.sfs-btn-confirm:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

/* ==========================================================================
   AIRPORT SELECT DROPDOWN — Enhanced Styling
   ========================================================================== */
.sfs-input-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236366f1' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}

/* Select with icon — left padding */
.sfs-input-wrapper select {
    padding-left: 40px;
}

select optgroup {
    font-weight: 700;
    color: #94a3b8;
    font-size: 11px;
    letter-spacing: 0.5px;
    background: #f8fafc;
}

select option {
    font-weight: 500;
    color: #1e293b;
    padding: 6px;
    font-size: 14px;
}

/* Wider grid for dropdowns */
@media (min-width: 1025px) {
    .sfs-inputs-grid {
        grid-template-columns: 1.4fr auto 1.4fr 1fr 1fr;
    }
}
