:root {
    --primary: #0b5fff;
    --primary-dark: #0947c4;
    --primary-light: #eef3ff;
    --accent: #ff8a00;
    --success: #1a9c5e;
    --error: #d64545;
    --bg: #f4f6fb;
    --card: #ffffff;
    --text: #1b2430;
    --muted: #647089;
    --border: #e2e6f0;
    --radius: 12px;
    --shadow-sm: 0 1px 3px rgba(20,30,60,0.06);
    --shadow-md: 0 6px 20px rgba(20,30,60,0.08);
    --shadow-lg: 0 12px 32px rgba(11,95,255,0.14);
    --ease: cubic-bezier(.2,.7,.3,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
a { color: var(--primary); text-decoration: none; transition: color .15s var(--ease); }
a:hover { text-decoration: underline; }

/* Custom scrollbar for a more polished feel */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c7cfdd; border-radius: 20px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #a9b4c8; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

.site-header { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.brand { font-size: 1.3rem; font-weight: 800; color: var(--primary-dark); }
.brand:hover { text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav a { color: var(--text); font-weight: 500; }
.btn-nav { background: var(--primary); color: #fff !important; padding: 8px 16px; border-radius: 8px; }
.btn-nav:hover { background: var(--primary-dark); text-decoration: none; }
.nav-user { color: var(--muted); font-size: 0.9rem; }

.main-content { padding: 30px 20px 60px; min-height: 60vh; }

.alert { padding: 12px 16px; border-radius: var(--radius); margin: 16px 0; }
.alert-error { background: #fdeaea; color: var(--error); border: 1px solid #f6c6c6; }
.alert-success { background: #e8f8f0; color: var(--success); border: 1px solid #b9e8cf; }

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    background-image:
        radial-gradient(circle at 92% -10%, rgba(255,255,255,0.16) 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(255,255,255,0.10) 0%, transparent 40%),
        linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 18px;
    padding: 44px 34px;
    color: #fff;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.hero h1 { margin: 0 0 8px; font-size: 1.9rem; letter-spacing: -0.01em; }
.hero p { margin: 0; opacity: 0.92; }
.hero-green {
    background: linear-gradient(135deg, #0d8a52 0%, #0a6b3f 100%);
    background-image:
        radial-gradient(circle at 92% -10%, rgba(255,255,255,0.16) 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(255,255,255,0.10) 0%, transparent 40%),
        linear-gradient(135deg, #14a866 0%, #0a6b3f 100%);
    box-shadow: 0 12px 32px rgba(10,107,63,0.28);
}

/* Search-summary bar shown at the top of results pages */
.search-summary-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 16px 22px;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(11,95,255,0.25);
}
.search-summary-bar .ssb-item { padding: 4px 22px; }
.search-summary-bar .ssb-item:first-child { padding-left: 0; }
.search-summary-bar .ssb-route { display: flex; align-items: center; gap: 12px; }
.search-summary-bar .ssb-route .plane { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.search-summary-bar .ssb-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.75; margin-bottom: 2px; }
.search-summary-bar .ssb-value { font-size: 0.98rem; font-weight: 800; white-space: nowrap; }
.search-summary-bar .ssb-divider { width: 1px; align-self: stretch; background: rgba(255,255,255,0.3); }
@media (max-width: 900px) {
    .search-summary-bar { padding: 14px; }
    .search-summary-bar .ssb-item { padding: 6px 14px; }
    .search-summary-bar .ssb-divider { display: none; }
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
a.card:hover, .card.hoverable:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: #d3ddf2;
    text-decoration: none;
}

.search-form { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; align-items: end; }
.search-form .field { display: flex; flex-direction: column; gap: 4px; }
.search-form label { font-size: 0.78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.field-radios { grid-column: 1 / -1; display: flex; gap: 20px; margin-bottom: 4px; flex-wrap: wrap; }
.field-radios label { text-transform: none; font-size: 0.9rem; color: var(--text); display: flex; align-items: center; gap: 6px; font-weight: 500; white-space: nowrap; }

input, select, textarea {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    width: 100%;
    background: #fff;
    color: var(--text);
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: #c7cfdd; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11,95,255,0.14); }

.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background .15s var(--ease), transform .12s var(--ease), box-shadow .15s var(--ease);
    box-shadow: 0 1px 2px rgba(11,95,255,0.15);
}
.btn:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(11,95,255,0.28); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(11,95,255,0.15); }
.btn-secondary { background: #fff; color: var(--primary); border: 1px solid var(--primary); box-shadow: none; }
.btn-secondary:hover { background: var(--primary-light); box-shadow: none; }
.btn-danger { background: var(--error); box-shadow: 0 1px 2px rgba(214,69,69,0.2); }
.btn-danger:hover { background: #b73434; box-shadow: 0 6px 16px rgba(214,69,69,0.3); }
.btn-block { width: 100%; text-align: center; }
.btn-sm { padding: 6px 12px; font-size: 0.85rem; }
.btn-link { background: none; border: none; color: var(--primary); cursor: pointer; padding: 0; font: inherit; }
.btn:disabled, .btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.section-title { font-size: 1.25rem; font-weight: 800; margin: 10px 0 18px; letter-spacing: -0.01em; }

.tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.tab { padding: 8px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--border); cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--muted); }
.tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.date-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.date-tab { display: block; text-align: center; padding: 10px 6px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; text-decoration: none; color: var(--text); transition: all .15s var(--ease); }
.date-tab:hover { border-color: var(--primary); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.date-tab .dow { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.date-tab .dnum { font-size: 0.92rem; font-weight: 700; margin: 2px 0; }
.date-tab .dfare { font-size: 0.82rem; font-weight: 700; color: var(--primary-dark); }
.date-tab .dfare.none { color: var(--muted); font-weight: 500; }
.date-tab.active { background: var(--primary); border-color: var(--primary); }
.date-tab.active .dow, .date-tab.active .dnum, .date-tab.active .dfare { color: #fff; }

/* Airline / results filter bar */
.filter-bar { display: flex; gap: 10px; margin: 16px 0; flex-wrap: wrap; align-items: stretch; }
.filter-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: 1 1 0; min-width: 108px; padding: 10px 14px; border-radius: var(--radius); border: 2px solid var(--border); background: #fff; cursor: pointer; text-align: center; transition: all .15s var(--ease); }
.filter-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.filter-card.active { border-color: var(--primary); background: var(--primary-light); }
.filter-card .filter-icon { width: 30px; height: 30px; border-radius: 50%; background: #eef3ff; color: var(--primary-dark); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 800; }
.filter-card .filter-label { font-size: 0.8rem; font-weight: 700; }
.filter-card .filter-price { font-size: 0.85rem; font-weight: 800; color: var(--success); }
.filter-card.all .filter-icon { background: var(--primary); color: #fff; }
.results-count { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }

/* Results page: flight list + right-hand filter panel */
.results-layout { display: flex; align-items: flex-start; gap: 20px; }
.results-list { flex: 1 1 0; min-width: 0; }
.filter-panel { flex: 0 0 280px; width: 280px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 3px rgba(20,30,60,0.06); position: sticky; top: 20px; }
.fp-topbar { background: #101828; color: #fff; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 0.9rem; }
.fp-topbar .btn-modify { background: var(--primary); color: #fff; border: none; padding: 6px 12px; border-radius: 6px; font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.fp-toggle { background: var(--primary-dark); color: #fff; padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; cursor: pointer; user-select: none; }
.fp-toggle .chev { transition: transform .15s; }
.fp-toggle.collapsed .chev { transform: rotate(-90deg); }
.fp-body { background: #fff; border: 1px solid var(--border); border-top: none; padding: 16px; }
.fp-reset-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.fp-reset-row strong { font-size: 0.85rem; }
.btn-reset { background: none; border: 1px solid var(--border); color: var(--primary-dark); padding: 5px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; cursor: pointer; }
.fp-group { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.fp-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.fp-group-title { font-size: 0.82rem; font-weight: 800; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text); }
.fp-price-range { position: relative; height: 32px; margin-top: 4px; }
.fp-price-range input[type="range"] { position: absolute; width: 100%; top: 12px; margin: 0; pointer-events: none; -webkit-appearance: none; appearance: none; background: none; }
.fp-price-range input[type="range"]::-webkit-slider-thumb { pointer-events: all; -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--primary); cursor: pointer; }
.fp-price-range input[type="range"]::-moz-range-thumb { pointer-events: all; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--primary); cursor: pointer; }
.fp-price-range input[type="range"]::-webkit-slider-runnable-track { -webkit-appearance: none; height: 4px; background: transparent; }
.fp-price-track { position: absolute; top: 14px; left: 0; right: 0; height: 4px; background: var(--border); border-radius: 2px; }
.fp-price-track .fill { position: absolute; height: 4px; background: var(--primary); border-radius: 2px; }
.fp-price-values { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 700; color: var(--primary-dark); margin-top: 6px; }
.fp-time-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.fp-time-opt { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; font-size: 0.68rem; color: var(--muted); text-align: center; }
.fp-time-opt .ic { font-size: 1.1rem; }
.fp-time-opt.active { border-color: var(--primary); background: #eef3ff; color: var(--primary-dark); font-weight: 700; }
.fp-check-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; font-size: 0.85rem; cursor: pointer; }
.fp-check-row input { width: auto; margin-right: 8px; }
.fp-check-row .fp-check-label { display: flex; align-items: center; }
.fp-check-row .fp-check-price { color: var(--muted); font-weight: 600; font-size: 0.8rem; }
.fp-no-match { font-size: 0.82rem; color: var(--muted); padding: 8px 0; }

/* Flight-result "View Full Details" expandable tabbed panel */
.flight-details-wrap { flex: 1 1 100%; }
.details-toggle { display: block; text-align: center; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 0.82rem; font-weight: 700; color: var(--primary); cursor: pointer; background: none; border-left: none; border-right: none; border-bottom: none; width: 100%; }
.details-toggle:hover { color: var(--primary-dark); }
.details-panel { width: 100%; margin-top: 14px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 3px rgba(20,30,60,0.06); }
.dtabs { display: flex; background: #101828; }
.dtab { flex: 1; text-align: center; padding: 11px 8px; color: #9aa7bd; font-weight: 700; font-size: 0.8rem; cursor: pointer; white-space: nowrap; }
.dtab.active { background: var(--primary); color: #fff; }
.dtab-content { display: none; background: #fff; border: 1px solid var(--border); border-top: none; padding: 18px; }
.dtab-content.active { display: block; }
.dleg-card { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.dleg-card:last-child { border-bottom: none; padding-bottom: 0; }
.dleg-card:first-child { padding-top: 0; }
.dleg-col h5 { margin: 0 0 4px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); font-weight: 800; }
.dleg-col p { margin: 0; font-size: 0.85rem; line-height: 1.5; }
.transit-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.78rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.transit-badge.transit-direct { background: #e8f8f0; color: var(--success); }
.transit-badge.transit-stop { background: #fff6e0; color: #a5760a; }
@media (max-width: 700px) {
    .dleg-card { grid-template-columns: 1fr 1fr; }
    .dtabs { flex-wrap: wrap; }
    .dtab { flex: 1 1 50%; }
}
@media (max-width: 900px) {
    .results-layout { flex-direction: column; }
    .filter-panel { width: 100%; flex-basis: auto; position: static; order: -1; }
}

.flight-result { display: flex; justify-content: space-between; align-items: center; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: #fff; flex-wrap: wrap; gap: 14px; overflow: hidden; transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.flight-result:hover { box-shadow: var(--shadow-md); border-color: #d3ddf2; }
.flight-info { flex: 2 1 260px; min-width: 0; }
.flight-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.03em; }
.badge-local { background: #fff2e0; color: #b5650a; }
.badge-intl { background: #e6f0ff; color: var(--primary-dark); }
.flight-airline { font-weight: 700; margin-bottom: 4px; }
.flight-route { display: flex; align-items: center; gap: 8px; margin: 8px 0; flex-wrap: wrap; }
.flight-time { font-size: 1.3rem; font-weight: 700; }
.flight-code { font-size: 0.8rem; color: var(--muted); }
.flight-arrow { color: var(--muted); flex: 1 1 30px; text-align: center; position: relative; min-width: 30px; }
.flight-arrow hr { border: none; border-top: 2px dashed var(--border); margin: 0; }
.flight-duration { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }
.flight-price { text-align: right; flex: 1 1 140px; min-width: 0; }
.flight-price .amount { font-size: 1.5rem; font-weight: 800; color: var(--primary-dark); }
.flight-price .per { font-size: 0.75rem; color: var(--muted); display: block; }
.seats-left { font-size: 0.78rem; color: var(--error); font-weight: 600; }

.summary-box { background: #f8faff; border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: var(--radius); padding: 20px; position: sticky; top: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 0.92rem; }
.summary-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; font-weight: 800; font-size: 1.15rem; color: var(--primary-dark); }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.booking-layout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.passenger-name-grid { display: grid; grid-template-columns: 130px minmax(0, 1.6fr) minmax(0, 1.6fr); gap: 16px; }

/* Booking flow: step progress indicator */
.stepper { display: flex; align-items: flex-start; margin: 4px 0 28px; }
.stepper-step { display: flex; flex-direction: column; align-items: center; flex: 1; text-align: center; position: relative; }
.stepper-step .dot { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--border); color: var(--muted); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.95rem; margin-bottom: 8px; transition: all .15s; }
.stepper-step .label { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.stepper-step .line { position: absolute; top: 17px; left: 50%; width: 100%; height: 2px; background: var(--border); z-index: 0; }
.stepper-step:last-child .line { display: none; }
.stepper-step.done .dot { background: var(--success); border-color: var(--success); color: #fff; }
.stepper-step.done .line { background: var(--success); }
.stepper-step.done .label { color: var(--success); }
.stepper-step.active .dot { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 4px #e6f0ff; }
.stepper-step.active .label { color: var(--primary-dark); }
.stepper-step .dot, .stepper-step .label { position: relative; z-index: 1; }

/* Card section header with an accent icon */
.card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.card-header .icon-circle { width: 34px; height: 34px; border-radius: 50%; background: #eef3ff; color: var(--primary-dark); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }

.card-tint-green { background: #f2faf6; border-color: #d3ecdf; }
.card-tint-green .card-header { border-bottom-color: #d3ecdf; }
.card-tint-purple { background: #faf7ff; border-color: #e6dcf7; }
.card-tint-purple .card-header { border-bottom-color: #e6dcf7; }
.card-header h3 { margin: 0; font-size: 1.05rem; }
.card-header .hint { margin-left: auto; font-size: 0.78rem; color: var(--muted); font-weight: 500; }

.divider { border: none; border-top: 1px solid var(--border); margin: 14px 0; }

.passenger-block { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px 22px; margin-bottom: 16px; background: #fff; }
.passenger-block-header { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.passenger-block-header .num { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #14a866 0%, #0a6b3f 100%); color: #fff; font-size: 0.8rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.passenger-block-header h4 { margin: 0; font-size: 0.98rem; }
.passenger-block .field { margin-bottom: 2px; }
.passenger-block .field label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 7px; }

/* Identity / Travel Document sub-sections inside a passenger block */
.pax-section { padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--border); }
.pax-section:first-of-type { padding-top: 0; margin-top: 0; border-top: none; }
.pax-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pax-section-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }
.pax-section-icon.pax-icon-identity { background: #0f1b33; color: #fff; }
.pax-section-icon.pax-icon-document { background: #fbe6b8; color: #9a6a0a; }
.pax-section-head h5 { margin: 0; font-size: 0.92rem; }
.pax-section-head p { margin: 1px 0 0; font-size: 0.76rem; color: var(--muted); }

.passport-dropzone { display: flex; align-items: center; gap: 14px; border: 1.5px dashed #e7d3a0; border-radius: var(--radius); padding: 16px; background: #fdfaf3; margin-bottom: 16px; cursor: pointer; transition: all .18s var(--ease); }
.passport-dropzone:hover, .passport-dropzone.drag-over { border-color: #cf9e2f; background: #fbf3e0; }
.passport-dropzone.is-busy { opacity: 0.75; pointer-events: none; }
.passport-dropzone .pdz-icon { width: 42px; height: 42px; border-radius: 10px; background: #fbe6b8; color: #9a6a0a; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.passport-dropzone .pdz-text { flex: 1; min-width: 0; }
.passport-dropzone .pdz-text strong { display: block; font-size: 0.88rem; }
.passport-dropzone .pdz-text span { display: block; font-size: 0.76rem; color: var(--muted); margin-top: 2px; }
.passport-dropzone .pdz-status { font-size: 0.76rem; font-weight: 700; white-space: nowrap; }
.passport-dropzone .pdz-status.status-busy { color: var(--accent); }
.passport-dropzone .pdz-status.status-ok { color: var(--success); }
.passport-dropzone .pdz-status.status-err { color: var(--error); }
.passport-dropzone .btn { flex-shrink: 0; white-space: nowrap; }

/* Trip summary sidebar card */
.trip-summary-header { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.trip-summary-header .plane-icon { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.trip-leg { padding: 12px 0; }
.trip-leg:not(:last-child) { border-bottom: 1px dashed var(--border); }
.trip-leg .leg-tag { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 4px; }
.trip-leg .leg-route { font-weight: 700; }
.trip-leg .leg-time { color: var(--muted); font-size: 0.82rem; margin-top: 2px; }

/* Rich Trip Summary sidebar card (booking / multi-city / payment pages) */
.summary-box-v2 { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; padding: 0; position: sticky; top: 20px; background: #fff; box-shadow: var(--shadow-md); }
.ts-header { background: linear-gradient(135deg, #16264a 0%, #0a1730 100%); color: #fff; padding: 22px 24px; display: flex; align-items: center; gap: 14px; }
.ts-header-icon { width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(135deg, #14a866 0%, #0a6b3f 100%); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ts-header h3 { margin: 0; font-size: 1.08rem; }
.ts-header p { margin: 3px 0 0; font-size: 0.78rem; color: rgba(255,255,255,0.62); }
.ts-ref { margin-left: auto; text-align: right; flex-shrink: 0; }
.ts-ref span { display: block; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.5); }
.ts-ref strong { font-size: 0.86rem; letter-spacing: 0.03em; }
.ts-hold-alert { background: #fff6e6; color: #9a6a0a; font-size: 0.8rem; font-weight: 600; padding: 12px 24px; border-bottom: 1px solid #f2e0b3; }
.ts-hold-alert strong { font-weight: 800; }
.ts-body { padding: 24px 24px 26px; }
.ts-trip-total { display: flex; justify-content: space-between; align-items: center; background: #f6f8fc; border-radius: 8px; padding: 11px 14px; font-size: 0.8rem; font-weight: 600; color: var(--text); margin-top: 16px; }
.ts-trip-total span:first-child { color: var(--muted); font-weight: 600; }
.ts-passengers { margin-top: 18px; }
.ts-passengers-label { display: block; font-size: 0.72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 9px; }
.ts-passenger-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ts-contact { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; font-size: 0.84rem; color: var(--muted); }
.ts-leg { padding: 18px 0; }
.ts-leg:first-child { padding-top: 0; }
.ts-leg:not(:last-child) { border-bottom: 1px dashed var(--border); }
.ts-leg-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 6px; }
.ts-leg-tag { font-size: 0.64rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: linear-gradient(135deg, #14a866, #0a6b3f); padding: 4px 10px; border-radius: 20px; }
.ts-leg-airline { font-weight: 700; font-size: 0.88rem; }
.ts-route { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; }
.ts-route-point { display: flex; align-items: flex-start; gap: 9px; }
.ts-route-point-end { flex-direction: row-reverse; text-align: right; }
.ts-route-point div { display: flex; flex-direction: column; line-height: 1.45; }
.ts-route-point strong { font-size: 1.05rem; }
.ts-route-point .ts-code { font-size: 0.75rem; font-weight: 700; color: var(--muted); letter-spacing: 0.03em; }
.ts-route-point .ts-date { font-size: 0.7rem; color: var(--muted); }
.ts-dot { width: 11px; height: 11px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.ts-dot-origin { background: #0d8a52; box-shadow: 0 0 0 3px rgba(13,138,82,0.18); }
.ts-dot-dest { background: #e8961f; box-shadow: 0 0 0 3px rgba(232,150,31,0.18); }
.ts-route-mid { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 68px; padding-top: 6px; }
.ts-route-line { width: 100%; height: 2px; background-image: linear-gradient(90deg, var(--border) 50%, transparent 0); background-size: 8px 2px; background-repeat: repeat-x; }
.ts-duration { font-size: 0.68rem; color: var(--muted); font-weight: 700; white-space: nowrap; }
.ts-stops { font-size: 0.6rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; background: #f1f4fa; color: var(--muted); white-space: nowrap; }
.ts-stops-direct { background: #e3f5ec; color: #0a6b3f; }
.ts-leg-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.ts-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 0.74rem; font-weight: 600; background: #f1f4fa; color: var(--muted); padding: 5px 11px; border-radius: 8px; line-height: 1.3; white-space: nowrap; text-decoration: none; }
.ts-tag-icon { font-size: 0.8rem; line-height: 1; flex-shrink: 0; }
.ts-fare { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 20px; }
.ts-fare-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.9rem; color: var(--text); }
.ts-fare-row span:first-child { color: var(--muted); }
.ts-fare-note { margin: 12px 0 0; font-size: 0.72rem; color: var(--muted); line-height: 1.6; }
.ts-total-footer { display: flex; justify-content: space-between; align-items: center; background: #f2faf6; border-top: 2px solid #d3ecdf; padding: 18px 24px; }
.ts-total-footer span { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.ts-total-footer strong { font-weight: 800; font-size: 1.5rem; color: #0a6b3f; }
.ts-rules { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.ts-rules-label { display: block; font-size: 0.72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 9px; }
.ts-rules-row { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--text); padding: 4px 0; }
.ts-rules-icon { width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.62rem; font-weight: 800; flex-shrink: 0; }
.ts-rules-ok .ts-rules-icon { background: #e3f5ec; color: #0a6b3f; }
.ts-rules-bad .ts-rules-icon { background: #fdeaea; color: var(--error); }
.ts-rules-icon.ts-rules-neutral { background: #f1f4fa; color: var(--muted); }
.ts-trust { display: flex; justify-content: space-between; gap: 8px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.ts-trust-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 0.68rem; font-weight: 700; color: var(--muted); }
.ts-trust-icon { width: 34px; height: 34px; border-radius: 50%; background: #e3f5ec; color: #0a6b3f; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; }
@media (max-width: 480px) {
    .ts-route { grid-template-columns: 1fr; justify-items: start; }
    .ts-route-point-end { flex-direction: row; text-align: left; }
    .ts-route-mid { flex-direction: row; width: 100%; }
    .ts-route-line { display: none; }
}

.pay-methods { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.pay-method { flex: 1; min-width: 140px; border: 2px solid var(--border); border-radius: var(--radius); padding: 14px; text-align: center; cursor: pointer; font-weight: 600; transition: all .15s var(--ease); }
.pay-method:hover:not(.disabled) { border-color: #b9c8f0; transform: translateY(-2px); }
.pay-method.selected { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 0 0 3px rgba(11,95,255,0.1); }
.pay-method.disabled { opacity: 0.5; cursor: not-allowed; }
.pay-method input { display: none; }

table.data-table { width: 100%; border-collapse: collapse; background: #fff; }
table.data-table th, table.data-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
table.data-table th { background: #f8faff; font-size: 0.78rem; text-transform: uppercase; color: var(--muted); }

.status-pill { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.status-confirmed { background: #e8f8f0; color: var(--success); }
.status-pending_payment { background: #fff6e0; color: #a5760a; }
.status-cancelled { background: #fdeaea; color: var(--error); }
.status-changed { background: #e6f0ff; color: var(--primary-dark); }
.status-refunded { background: #f1e6ff; color: #7c3aed; }
.status-expired { background: #eee; color: var(--muted); }

.site-footer { text-align: center; padding: 24px; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--border); }

.mock-notice { background: #fff6e0; border: 1px solid #f3d98b; color: #8a5b00; padding: 10px 14px; border-radius: 8px; font-size: 0.85rem; margin-bottom: 16px; }

@media (max-width: 900px) {
    .search-form { grid-template-columns: 1fr 1fr; }
    .grid-2, .grid-3, .grid-4, .passenger-name-grid, .booking-layout-grid { grid-template-columns: 1fr; }
    .flight-result { flex-direction: column; align-items: stretch; }
    .flight-price, .flight-info { flex: auto; }
    .flight-price { text-align: left; }
    .admin-body, .layout-body { flex-direction: column; }
    .admin-sidebar, .layout-sidebar { width: 100%; padding: 10px 0; display: flex; flex-wrap: wrap; align-items: center; }
    .admin-sidebar .brand, .layout-sidebar .brand { padding: 6px 16px; }
    .admin-main, .layout-main { padding: 20px 16px; }
}

/* Sidebar layout - shared by admin, public and agency portals */
.admin-body, .layout-body { display: flex; min-height: 100vh; }
.admin-sidebar, .layout-sidebar { width: 230px; background: linear-gradient(180deg, #101828 0%, #0b1220 100%); color: #fff; padding: 20px 0; flex-shrink: 0; }
.admin-sidebar .brand, .layout-sidebar .brand { display: block; padding: 0 20px 18px; margin-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,0.08); color: #fff; font-weight: 800; font-size: 0.98rem; line-height: 1.3; letter-spacing: -0.01em; }
.admin-sidebar a, .layout-sidebar a { display: block; padding: 10px 20px; color: #b9c2d4; font-weight: 500; font-size: 0.9rem; border-left: 3px solid transparent; transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.admin-sidebar a:hover, .layout-sidebar a:hover { background: rgba(255,255,255,0.06); color: #fff; text-decoration: none; }
.admin-sidebar a.active, .layout-sidebar a.active { background: rgba(11,95,255,0.16); color: #fff; text-decoration: none; border-left-color: var(--primary); font-weight: 700; }
.layout-sidebar .sidebar-user { padding: 10px 20px; color: #8291a8; font-size: 0.82rem; line-height: 1.4; overflow-wrap: anywhere; }
.layout-sidebar .sidebar-user strong { font-size: 0.9rem; font-weight: 700; }
.layout-sidebar .sidebar-divider { margin-top: 12px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 12px; }
.admin-main, .layout-main { flex: 1; min-width: 0; padding: 26px 30px; }
.layout-main .container { max-width: 1100px; margin: 0 auto; padding: 0; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease), transform .2s var(--ease); border-top: 3px solid var(--primary); }
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-card .num { font-size: 1.6rem; font-weight: 800; }
.stat-card .label { color: var(--muted); font-size: 0.82rem; }

/* Split-panel auth pages (login/register) */
.auth-page { display: flex; min-height: 100vh; }
.auth-brand-panel {
    flex: 1 1 44%;
    background: linear-gradient(150deg, var(--primary-dark) 0%, var(--primary) 60%, #3b7dff 100%);
    background-image:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(255,255,255,0.10) 0%, transparent 45%),
        linear-gradient(150deg, var(--primary-dark) 0%, var(--primary) 60%, #3b7dff 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}
/* Floating decorative shapes */
.auth-brand-panel::before, .auth-brand-panel::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    pointer-events: none;
}
.auth-brand-panel::before { width: 280px; height: 280px; top: -80px; right: -80px; animation: authFloat1 9s ease-in-out infinite; }
.auth-brand-panel::after { width: 180px; height: 180px; bottom: -60px; left: -40px; background: rgba(255,255,255,0.05); animation: authFloat2 11s ease-in-out infinite; }
@keyframes authFloat1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-16px, 20px); } }
@keyframes authFloat2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(14px, -18px); } }
.auth-brand-panel .auth-deco-ring { position: absolute; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,0.12); border-radius: 50%; top: 50%; left: 78%; transform: translate(-50%, -50%); pointer-events: none; }
.auth-brand-panel .auth-deco-ring::before { content: ''; position: absolute; inset: 40px; border: 1px solid rgba(255,255,255,0.08); border-radius: 50%; }
.auth-brand-panel > * { position: relative; z-index: 1; animation: authFadeUp .6s var(--ease) backwards; }
.auth-brand-panel .auth-logo { animation-delay: 0s; }
.auth-brand-panel h1 { animation-delay: .08s; }
.auth-brand-panel p { animation-delay: .16s; }
.auth-brand-panel .auth-feature-list { animation-delay: .24s; }
@keyframes authFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.auth-brand-panel .auth-logo { font-size: 1.5rem; font-weight: 800; margin-bottom: 40px; display: flex; align-items: center; gap: 10px; }
.auth-brand-panel .auth-logo img { max-height: 44px; display: block; }
.auth-brand-panel h1 { font-size: 2.1rem; line-height: 1.25; margin: 0 0 16px; letter-spacing: -0.01em; max-width: 420px; }
.auth-brand-panel p { opacity: 0.9; max-width: 380px; line-height: 1.6; margin: 0 0 28px; }
.auth-brand-panel .auth-feature-list { display: flex; flex-direction: column; gap: 14px; }
.auth-brand-panel .auth-feature { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.95rem; transition: transform .2s var(--ease); }
.auth-brand-panel .auth-feature:hover { transform: translateX(4px); }
.auth-brand-panel .auth-feature .ic { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }
.auth-form-panel { flex: 1 1 56%; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--bg); }
.auth-form-box { width: 100%; max-width: 400px; animation: authFadeUp .5s var(--ease) .1s backwards; }
.auth-form-box .mobile-logo { display: none; }
.auth-form-box h2 { font-size: 1.6rem; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; }
.auth-form-box .auth-sub { color: var(--muted); margin: 0 0 26px; }
.auth-form-box .field { margin-bottom: 16px; }
.auth-form-box .field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.auth-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px; }
.auth-input-icon { position: relative; }
.auth-input-icon .aii { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.95rem; pointer-events: none; }
.auth-input-icon input { padding-left: 38px; }
.auth-input-icon .aii-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--muted); cursor: pointer; font-size: 0.85rem; padding: 4px 6px; }
.auth-input-icon .aii-toggle:hover { color: var(--primary); }
.auth-footer-link { margin-top: 20px; text-align: center; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 900px) {
    .auth-page { flex-direction: column; }
    .auth-brand-panel { display: none; }
    .auth-form-box .mobile-logo { display: block; text-align: center; margin-bottom: 24px; font-size: 1.3rem; font-weight: 800; color: var(--primary-dark); }
    .auth-form-box .mobile-logo img { max-height: 40px; margin: 0 auto; }
}

/* Empty state (no bookings, no results, etc.) */
.empty-state { text-align: center; padding: 50px 20px; }
.empty-state .empty-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-size: 1.8rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.empty-state h3 { margin: 0 0 6px; font-size: 1.05rem; }
.empty-state p { color: var(--muted); margin: 0 0 18px; }

/* Multi-city leg builder on the search form */
.mc-legs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.mc-leg-row { display: grid; grid-template-columns: 34px 1fr 1fr 1fr auto; gap: 10px; align-items: end; background: #f8faff; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; transition: border-color .15s var(--ease); }
.mc-leg-row:hover { border-color: #c7d9ff; }
.mc-leg-num { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.mc-leg-row .field label { font-size: 0.7rem; }
.mc-leg-remove { background: #fdeaea; color: var(--error); border: none; border-radius: 8px; width: 38px; height: 38px; cursor: pointer; font-weight: 800; font-size: 1rem; transition: background .15s var(--ease); }
.mc-leg-remove:hover { background: #f6c6c6; }
.mc-leg-remove:disabled { opacity: 0.35; cursor: not-allowed; }
.btn-add-leg { display: inline-flex; align-items: center; gap: 6px; background: none; border: 2px dashed #b9c8f0; color: var(--primary-dark); font-weight: 700; padding: 9px 16px; border-radius: 8px; cursor: pointer; font-size: 0.88rem; transition: all .15s var(--ease); }
.btn-add-leg:hover { border-color: var(--primary); background: var(--primary-light); }
.btn-add-leg:disabled { opacity: 0.4; cursor: not-allowed; }
@media (max-width: 900px) {
    .mc-leg-row { grid-template-columns: 1fr 1fr; }
    .mc-leg-num { grid-column: 1 / -1; margin-bottom: 0; }
}

/* Multi-city results: per-leg selection panel */
.mc-leg-panel { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 18px; overflow: hidden; background: #fff; }
.mc-leg-panel-header { background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.mc-leg-panel-header .mc-leg-num { background: rgba(255,255,255,0.2); }
.mc-leg-panel-body { padding: 14px 18px; }
.mc-option { display: flex; justify-content: space-between; align-items: center; padding: 12px; border: 2px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; cursor: pointer; transition: all .15s var(--ease); }
.mc-option:hover { border-color: #b9c8f0; }
.mc-option.selected { border-color: var(--primary); background: var(--primary-light); }
.mc-summary-bar { position: sticky; bottom: 0; background: #101828; color: #fff; padding: 16px 20px; border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; margin-top: 16px; box-shadow: var(--shadow-lg); flex-wrap: wrap; gap: 12px; }
.mc-summary-bar .mc-total { font-size: 1.3rem; font-weight: 800; }
.mc-summary-bar .mc-total small { display: block; font-size: 0.7rem; font-weight: 500; color: #9aa7bd; text-transform: uppercase; }

/* Travellers picker (Adults / Children / Infants popover) */
.travellers-field { position: relative; }
.travellers-toggle { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: #fff; cursor: pointer; font-size: 0.95rem; color: var(--text); transition: border-color .15s var(--ease); }
.travellers-toggle:hover { border-color: #c7cfdd; }
.travellers-toggle .tf-icon { color: var(--muted); }
.travellers-toggle .tf-chevron { margin-left: auto; color: var(--muted); font-size: 0.75rem; transition: transform .15s var(--ease); }
.travellers-toggle.open .tf-chevron { transform: rotate(180deg); }
.travellers-panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; width: 280px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px; }
.travellers-panel h4 { margin: 0 0 14px; font-size: 0.95rem; }
.tp-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.tp-row:last-of-type { border-bottom: none; }
.tp-row-label { font-weight: 700; font-size: 0.9rem; }
.tp-row-sub { font-size: 0.75rem; color: var(--muted); font-weight: 400; margin-top: 1px; }
.tp-counter { display: flex; align-items: center; gap: 12px; }
.tp-counter button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--primary); font-weight: 800; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .15s var(--ease); line-height: 1; }
.tp-counter button:hover:not(:disabled) { background: var(--primary); color: #fff; border-color: var(--primary); }
.tp-counter button:disabled { opacity: 0.35; cursor: not-allowed; }
.tp-counter .tp-count { width: 20px; text-align: center; font-weight: 800; }
.tp-done-btn { width: 100%; margin-top: 14px; }
@media (max-width: 900px) {
    .travellers-panel { left: auto; right: 0; width: 260px; }
}

/* Homepage: colored feature cards + decorative section header */
.feature-card { border-top: 4px solid var(--accent-color, var(--primary)); cursor: default; box-shadow: 0 4px 16px var(--accent-glow, rgba(11,95,255,0.14)); transition: all .2s var(--ease); }
.feature-card:hover { box-shadow: 0 10px 28px var(--accent-glow, rgba(11,95,255,0.28)); transform: translateY(-4px); border-color: var(--border); border-top-color: var(--accent-color, var(--primary)); }
.feature-card .card-header h3 { font-size: 1rem; }

.section-heading { display: flex; align-items: center; gap: 12px; margin: 44px 0 20px; }
.section-heading .sh-badge { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; box-shadow: 0 4px 12px rgba(11,95,255,0.25); }
.section-heading h2 { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; }
.section-heading p { margin: 2px 0 0; color: var(--muted); font-size: 0.88rem; }

.search-card-wrap { position: relative; }
.search-card-wrap .card { border-top: 4px solid #0d8a52; }
.search-card-wrap .btn { background: linear-gradient(135deg, #14a866 0%, #0a6b3f 100%); box-shadow: 0 3px 10px rgba(10,107,63,0.3); }
.search-card-wrap .btn:hover { background: linear-gradient(135deg, #0f9a5c 0%, #085633 100%); box-shadow: 0 5px 14px rgba(10,107,63,0.4); }

.popular-routes-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.popular-routes-strip .prs-label { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; color: var(--muted); margin-right: 4px; }
.route-chip { text-decoration: none; margin: 0; display: inline-flex; align-items: center; gap: 5px; padding: 7px 14px; font-size: 0.8rem; border-radius: 20px; transition: all .15s var(--ease); }
.route-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); text-decoration: none; }

/* Trip-type segmented control (replaces plain radios) */
.trip-type-tabs { display: inline-flex; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 4px; gap: 2px; margin-bottom: 6px; }
.trip-type-tabs label { position: relative; display: flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; font-weight: 700; font-size: 0.85rem; color: var(--muted); cursor: pointer; white-space: nowrap; transition: all .18s var(--ease); }
.trip-type-tabs label:has(input:checked) { background: linear-gradient(135deg, #14a866 0%, #0a6b3f 100%); color: #fff; box-shadow: 0 2px 8px rgba(10,107,63,0.35); }
.trip-type-tabs label:hover:not(:has(input:checked)) { background: #fff; color: var(--text); }
.trip-type-tabs input { position: absolute; opacity: 0; width: 0; height: 0; }

/* Colored icon prefix for search fields */
.search-field-icon { position: relative; }
.search-field-icon .sfi { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; pointer-events: none; z-index: 1; }
.search-field-icon select, .search-field-icon input { padding-left: 40px; }

/* Searchable airport picker (type-ahead by code, city, or country) */
.airport-picker { position: relative; }
.airport-picker-input.is-invalid { border-color: var(--error); box-shadow: 0 0 0 3px rgba(214,69,69,0.12); }
.airport-picker-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-md); max-height: 280px; overflow-y: auto; z-index: 60; padding: 6px; }
.airport-picker-item { display: flex; align-items: center; gap: 10px; padding: 8px 9px; border-radius: 8px; cursor: pointer; }
.airport-picker-item:hover, .airport-picker-item.active { background: #f1f4fa; }
.airport-picker-item .apc-code { flex-shrink: 0; width: 42px; text-align: center; font-weight: 800; font-size: 0.7rem; letter-spacing: 0.03em; background: #e3f5ec; color: #0a6b3f; border-radius: 6px; padding: 4px 0; }
.airport-picker-item .apc-info { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.airport-picker-item .apc-city { font-weight: 700; font-size: 0.88rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.airport-picker-item .apc-country { font-size: 0.74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.airport-picker-empty { padding: 16px 10px; text-align: center; color: var(--muted); font-size: 0.85rem; }
.mc-leg-row .airport-picker-list { z-index: 70; }
.search-form label { display: flex; align-items: center; gap: 5px; }
.search-form label .fl-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
