/* FlightBook website style */
:root {
    --red: #c8102e;
    --red-dark: #9e0c24;
    --ink: #17202a;
    --muted: #6b7280;
    --line: #b6bcc6; /* sabai line: halka kalo */
    --bg: #f6f7f9;
    --card: #ffffff;
    --green: #16a34a;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(17, 24, 39, .08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }

/* Topbar (office info) */
.topbar { background: var(--ink); color: #e5e7eb; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; padding: 7px 16px; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }

/* Header */
.header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand img { height: 42px; width: auto; }
.brand-mark {
    width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff;
    display: grid; place-items: center; font-size: 18px;
}
.nav { display: flex; gap: 22px; align-items: center; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--red); }
.nav-cta { background: var(--red); color: #fff !important; padding: 8px 16px; border-radius: 999px; }

/* Hero + search */
.hero {
    --hero-img: none;
    background:
        linear-gradient(120deg, rgba(158, 12, 36, .88), rgba(23, 32, 42, .78)),
        var(--hero-img) center / cover no-repeat,
        linear-gradient(120deg, var(--red-dark), #1f2937);
    color: #fff;
    padding: 56px 0 64px;
}
.hero-sm { padding: 24px 0; }
.hero-text { max-width: 640px; margin-bottom: 26px; }
.hero h1 { font-size: clamp(28px, 4.5vw, 44px); line-height: 1.15; margin: 0 0 10px; letter-spacing: -.02em; }
.hero p { margin: 0; font-size: 17px; opacity: .9; }

.search-card {
    background: var(--card); color: var(--ink); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 18px;
}
.search-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.search-tab { font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: #fdecef; color: var(--red); }
.search-grid {
    display: grid;
    grid-template-columns: 1.4fr auto 1.4fr 1.1fr .6fr .6fr .6fr 1fr auto;
    gap: 10px; align-items: end;
}
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field span { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.field input, .field select {
    height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px;
    font: inherit; font-size: 15px; background: #fff; color: var(--ink); width: 100%; min-width: 0;
}
.field input:focus, .field select:focus { outline: 2px solid rgba(200, 16, 46, .25); border-color: var(--red); }
.swap {
    height: 46px; width: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px;
    font-size: 18px; cursor: pointer; color: var(--red);
}
.btn-search {
    height: 46px; border: 0; border-radius: 10px; background: var(--red); color: #fff;
    font: inherit; font-weight: 700; padding: 0 22px; cursor: pointer; white-space: nowrap;
}
.btn-search:hover { background: var(--red-dark); }
.form-errors { margin-top: 12px; background: #fef2f2; color: #b91c1c; padding: 10px 14px; border-radius: 10px; font-size: 14px; }

/* Sections */
.section { padding: 44px 0; }
.section-alt { background: #fff; }
.section-title { font-size: 24px; margin: 0 0 18px; letter-spacing: -.01em; }

.sector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.sector-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
    display: flex; flex-direction: column; gap: 4px; transition: .15s;
}
.sector-card:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow); }
.sector-codes { font-weight: 800; font-size: 20px; }
.sector-codes b { color: var(--red); }
.sector-cities { color: var(--muted); font-size: 14px; }

.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.offer-card { background: var(--bg); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.offer-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.offer-body { padding: 14px 16px; }
.offer-body h3 { margin: 0 0 6px; font-size: 17px; }
.offer-body p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.offer-until { font-size: 12px; font-weight: 600; color: var(--red); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.why b { font-size: 17px; }
.why span { color: var(--muted); font-size: 14px; }

/* Results */
.results-head { margin-bottom: 16px; }
.results-head h1 { font-size: 24px; margin: 0; }
.results-head p { margin: 4px 0 0; color: var(--muted); }

.flight {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px; margin-bottom: 12px;
    display: grid; grid-template-columns: 1.2fr 2fr 1.2fr 1fr; gap: 16px; align-items: center;
}
.flight:hover { box-shadow: var(--shadow); }
.flight-airline { display: flex; gap: 10px; align-items: center; }
.flight-airline img { width: 44px; height: 44px; object-fit: contain; }
.airline-badge {
    width: 44px; height: 44px; border-radius: 10px; background: #fdecef; color: var(--red);
    display: grid; place-items: center; font-weight: 800;
}
.airline-name { font-weight: 700; }
.flight-times { display: flex; align-items: center; gap: 12px; }
.t { display: flex; flex-direction: column; align-items: center; }
.t b { font-size: 22px; }
.t span { color: var(--muted); font-weight: 600; font-size: 13px; }
.t-mid { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; }
.line { width: 100%; height: 2px; background: var(--line); position: relative; }
.line::after { content: "\2708"; position: absolute; right: -4px; top: -9px; color: var(--red); font-size: 13px; }
.stop { font-weight: 600; color: #b45309; }
.stop-direct { color: var(--green); }
.flight-info { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.tag-fd { background: #eef2ff; color: #4338ca; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.seats-low { color: var(--red); font-weight: 600; }
.flight-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.price { font-size: 24px; font-weight: 800; color: var(--ink); }
.btn-book {
    display: inline-block; margin-top: 8px; background: var(--red); color: #fff; font-weight: 700;
    padding: 10px 20px; border-radius: 10px; text-align: center;
}
.btn-book:hover { background: var(--red-dark); }

.empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px; text-align: center; }
.empty h2 { margin: 0 0 6px; }
.date-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 12px 0; }
.date-chips a { border: 1px solid var(--red); color: var(--red); padding: 6px 14px; border-radius: 999px; font-weight: 600; }
.date-chips a:hover { background: var(--red); color: #fff; }

/* Footer */
.footer { background: var(--ink); color: #cbd5e1; padding: 32px 0 18px; margin-top: 30px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.footer-copy { margin-top: 20px; padding-top: 14px; border-top: 1px solid #334155; font-size: 13px; }

/* WhatsApp button */
.wa-float {
    position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); z-index: 50;
}
.wa-float:hover { transform: scale(1.06); }

/* Mobile */
@media (max-width: 960px) {
    .search-grid { grid-template-columns: 1fr auto 1fr; }
    .search-grid .field:not(.field-from):not(.field-to) { grid-column: span 3; }
    .search-grid .field-sm { grid-column: span 1 !important; }
    .btn-search { grid-column: span 3; }
    .flight { grid-template-columns: 1fr; }
    .flight-price { text-align: left; align-items: flex-start; }
    .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .nav-hide-sm { display: none; }
    .topbar-right { display: none; }
    .hero { padding: 32px 0 40px; }
}

/* ---- Part 2: auth, booking, account ---- */
.nav-form { display: inline; margin: 0; }
.nav-link-btn { background: none; border: 0; font: inherit; font-weight: 500; font-size: 15px; cursor: pointer; color: var(--ink); padding: 0; }
.nav-link-btn:hover { color: var(--red); }
.nav-wallet { background: #ecfdf5; color: #047857 !important; padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; }

.flash { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; font-weight: 500; }
.flash-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.flash-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.flash-warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

.narrow, .wrap.narrow { max-width: 560px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.panel-title { font-size: 24px; margin: 0 0 4px; }
.panel-title-sm { font-size: 17px; margin: 0 0 10px; }
.panel-title-sm:not(:first-child) { margin-top: 18px; }
.panel-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.panel-foot a, .link { color: var(--red); font-weight: 600; }
.page-title { font-size: 26px; margin: 8px 0 14px; }

.form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-sub { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 10px 0 0; }
.field textarea, .reply textarea {
    border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 15px; width: 100%; resize: vertical;
}
.field input[type=file] { height: auto; padding: 8px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 3px; }
.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 46px; border: 0; border-radius: 10px; background: var(--red); color: #fff;
    font: inherit; font-weight: 700; padding: 0 22px; cursor: pointer;
}
.btn-primary:hover { background: var(--red-dark); }
.btn-primary:disabled { background: #d1d5db; cursor: not-allowed; }
.btn-lg { width: 100%; height: 52px; font-size: 16px; margin-top: 12px; }
.btn-small { height: 36px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font: inherit; font-weight: 600; padding: 0 16px; cursor: pointer; }
.wa-link { font-size: 13px; color: #15803d; font-weight: 600; margin-top: 6px; }

/* Booking page */
.book-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.sticky { position: sticky; top: 80px; }
.pax { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-top: 12px; }
.pax-head { font-weight: 700; margin-bottom: 10px; }
.pax-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.pay-box { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--bg); font-size: 14px; }
.pay-short { background: #fef2f2; color: #991b1b; }
.side-flight { display: flex; flex-direction: column; gap: 6px; }
.side-route { display: flex; justify-content: space-between; align-items: center; text-align: center; margin: 6px 0; }
.side-route b { font-size: 20px; display: block; }
.side-route span { color: var(--muted); font-weight: 600; font-size: 13px; }
.price-rows { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.price-rows > div { display: flex; justify-content: space-between; gap: 10px; }
.price-rows .total { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 800; font-size: 18px; }
.green { color: var(--green); }
.red { color: var(--red); }
.right { text-align: right; }
.nowrap { white-space: nowrap; }

/* Account */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fafafa; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table-sm td, .table-sm th { padding: 8px 6px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #f3f4f6; color: #374151; white-space: nowrap; }
.badge-lg { font-size: 14px; padding: 6px 14px; }
.badge-success { background: #dcfce7; color: #166534; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-info { background: #dbeafe; color: #1e40af; }
.pager { margin-top: 14px; }
.pager nav { display: flex; gap: 10px; }
.pager a, .pager span { padding: 6px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 14px; }

.booking-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 6px 0 4px; }
.booking-head-right { display: flex; gap: 12px; align-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.seg { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.refund-box { margin-top: 12px; padding: 10px 12px; background: #fff7ed; border-radius: 10px; font-size: 14px; }

.thread { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; }
.thread-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.msg { padding: 10px 12px; border-radius: 10px; margin-bottom: 8px; max-width: 85%; font-size: 14px; }
.msg-me { background: #fdecef; margin-left: auto; }
.msg-staff { background: #eff6ff; }
.msg-meta { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.reply { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.reply-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.new-request summary { cursor: pointer; font-weight: 700; color: var(--red); padding: 8px 0; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.stat span { font-size: 13px; color: var(--muted); }
.stat b { font-size: 22px; }

@media (max-width: 960px) {
    .book-layout, .grid-2 { grid-template-columns: 1fr; }
    .sticky { position: static; }
    .form-row { grid-template-columns: 1fr; }
    .stat-row { grid-template-columns: 1fr; }
    .nav { gap: 12px; font-size: 14px; }
}

/* ---- Agent settings ---- */
.logo-row { display: flex; gap: 14px; align-items: center; }
.logo-preview { width: 120px; height: 70px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 6px; }
.logo-empty { display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.inline { display: inline; }
.btn-tiny { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 3px 8px; font: inherit; font-size: 12px; cursor: pointer; }
.btn-tiny-red { color: var(--red); border-color: #fecaca; }
.row-off td { opacity: .45; }

/* ---- Fare rules ---- */
.flight-rules { grid-column: 1 / -1; border-top: 1px dashed var(--line); padding-top: 10px; }
.flight-rules summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--red); list-style: none; }
.flight-rules summary::-webkit-details-marker { display: none; }
.flight-rules summary::before { content: "\25B8  "; }
.flight-rules[open] summary::before { content: "\25BE  "; }
.rules { margin-top: 10px; }
.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.rules h4 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.rules ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.7; }
.rules-note { font-size: 12px; color: var(--muted); margin: 6px 0 0; }
.rules-price { width: 100%; border-collapse: collapse; font-size: 13px; }
.rules-price td { padding: 3px 0; }
.rules-price td:last-child { text-align: right; white-space: nowrap; }
.rules-sub td { border-top: 1px solid var(--line); font-weight: 600; }
.rules-total td { border-top: 1px solid var(--line); font-weight: 800; font-size: 14px; }
.flight-rules-side { margin: 6px 0 14px; }
.flight-rules-side .rules-grid { grid-template-columns: 1fr; }

/* ---- Session expire ---- */
.idle-warn {
    position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60;
    background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px;
    display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); font-size: 14px; max-width: calc(100% - 32px);
}
.idle-warn[hidden] { display: none; }
.idle-warn button { background: var(--red); color: #fff; border: 0; border-radius: 8px; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer; }
.idle-countdown { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; padding: 8px 12px; border-radius: 10px; font-size: 13px; margin-bottom: 12px; }

/* ---- Passport / Nagarikta scan ---- */
.pax-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.scan-btn { font-size: 13px; font-weight: 600; color: var(--red); border: 1px dashed var(--red); padding: 6px 12px; border-radius: 999px; cursor: pointer; background: #fff; }
.scan-btn:hover { background: #fdecef; }
.scan-status { font-size: 13px; margin: 0 0 8px; min-height: 0; }
.scan-status:empty { display: none; }
.scan-busy { color: #1d4ed8; }
.scan-ok { color: #047857; font-weight: 600; }
.scan-err { color: #b91c1c; }
.field input.scanned, .field select.scanned { border-color: #10b981; background: #f0fdf4; }

/* ---------- Confirm popup ---------- */
.modal { position: fixed; inset: 0; background: rgba(17, 24, 39, .55); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 100; }
.modal[hidden] { display: none; }
.modal-card { background: #fff; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.25); width: 100%; max-width: 620px; max-height: 90vh; overflow: auto; padding: 24px; animation: pop .18s ease-out; }
.modal-card h2 { margin: 0 0 4px; font-size: 22px; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.pc-flight { display: flex; flex-direction: column; gap: 2px; background: var(--bg); border-radius: 10px; padding: 12px 14px; margin: 14px 0; }
.pc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pc-table th { text-align: left; font-size: 12px; color: var(--muted); text-transform: uppercase; padding: 6px; border-bottom: 1px solid var(--line); }
.pc-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); }
.pc-contact { font-size: 14px; margin: 12px 0; }
.pc-total { display: flex; justify-content: space-between; align-items: center; font-size: 18px; border-top: 2px solid var(--ink); padding-top: 10px; }
.pc-total b { color: var(--red); font-size: 22px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.modal-actions .btn-primary { height: 46px; padding: 0 22px; }
.btn-ghost { height: 46px; padding: 0 18px; border: 1px solid var(--line); background: #fff; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.steps-mini { display: flex; gap: 8px; font-size: 13px; margin-top: 14px; color: var(--muted); }
.steps-mini span { padding: 4px 10px; border-radius: 999px; background: var(--bg); }
.steps-mini .done { color: var(--green); }
.steps-mini .now { background: #fdecef; color: var(--red); font-weight: 600; }

/* ---------- Payment page ---------- */
.steps { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.step { flex: 1; min-width: 110px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; }
.step i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-size: 12px; }
.step.done { color: var(--green); }
.step.done i { background: #dcfce7; }
.step.now { border-color: var(--red); color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.08); }
.step.now i { background: var(--red); color: #fff; }
.pay-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.hold-timer { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; padding: 6px 12px; border-radius: 999px; font-size: 14px; }
.hold-timer.hold-low { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.pm-list { display: flex; flex-direction: column; gap: 12px; margin: 16px 0 6px; }
.pm { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, box-shadow .15s; background: #fff; }
.pm input { position: absolute; opacity: 0; pointer-events: none; }
.pm:hover { border-color: #f3a5b1; }
.pm:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,16,46,.08); background: #fffafb; }
.pm-off { cursor: not-allowed; opacity: .6; }
.pm-off:hover { border-color: var(--line); }
.pm-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.pm-icon-wallet { background: #fdecef; }
.pm-icon-ips { background: #e0f2fe; color: #075985; font-weight: 800; font-size: 14px; }
.pm-icon-card { background: #f3f4f6; }
.pm-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.pm-body b { font-size: 16px; }
.pm-body small { color: var(--muted); font-size: 13px; }
.pm-check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; }
.pm:has(input:checked) .pm-check { border: 7px solid var(--red); }
.pm-soon { font-size: 12px; font-weight: 600; background: var(--bg); color: var(--muted); padding: 4px 10px; border-radius: 999px; }
.pay-pax { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.center { text-align: center; }
.pay-loading { position: fixed; inset: 0; background: rgba(255,255,255,.85); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.pay-loading[hidden] { display: none; }
.pay-loading-card { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; max-width: 340px; }
.spinner { width: 46px; height: 46px; border: 4px solid #fdecef; border-top-color: var(--red); border-radius: 50%; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
    .step { min-width: 0; flex: 0 0 auto; padding: 8px; }
    .step.now { flex: 1; }
    .step:not(.now) span { display: none; }
    .modal-card { padding: 18px; }
    .modal-actions button { flex: 1; }
}
.pager-nav { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pager-off { opacity: .45; }
.pager .pager-info { border: 0; background: none; color: var(--muted); }
.flash-welcome { background: linear-gradient(120deg, var(--red), var(--red-dark)); color: #fff; border: 0; font-size: 26px; font-weight: 800; letter-spacing: .02em; text-align: center; padding: 20px 16px; box-shadow: var(--shadow); }
@media (max-width: 640px) { .flash-welcome { font-size: 18px; padding: 14px 12px; } }

/* Mountain flight tab */
button.search-tab { border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; background: transparent; color: var(--muted); }
button.search-tab.active { background: #fdecef; color: var(--red); }
.mtn-note { display: none; background: #eff6ff; color: #1e3a8a; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 12px; }
.is-mountain .mtn-note { display: block; }
.is-mountain .route-field { display: none !important; }
.is-mountain .search-grid { grid-template-columns: 1.1fr .6fr .6fr .6fr 1fr auto; }
@media (max-width: 960px) { .is-mountain .search-grid { grid-template-columns: 1fr 1fr 1fr; } .is-mountain .search-grid .btn-search { grid-column: span 3; } }

/* Round trip */
.field-ret { display: none; }
.is-round .field-ret { display: flex; }
.is-round .search-grid { grid-template-columns: 1.3fr auto 1.3fr 1fr 1fr .55fr .55fr .55fr .9fr auto; }
@media (max-width: 960px) { .is-round .search-grid { grid-template-columns: 1fr auto 1fr; } }
.rt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; padding-bottom: 90px; }
.rt-col-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.rt-col-head b { font-size: 18px; }
.rt-col-head span { color: var(--muted); font-size: 14px; }
.rt-flight { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 10px; cursor: pointer; position: relative; }
.rt-flight input { position: absolute; opacity: 0; pointer-events: none; }
.rt-flight:hover { border-color: #f3a5b1; }
.rt-flight:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,16,46,.08); }
.rt-flight:has(input:checked) .pm-check { border: 7px solid var(--red); }
.rt-main { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.rt-time { font-size: 17px; }
.rt-price { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.rt-price b { font-size: 17px; color: var(--red); }
.empty-sm { padding: 18px; font-size: 14px; }
.rt-bar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(17,24,39,.08); z-index: 30; }
.rt-bar-in { display: flex; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.rt-sel { display: flex; gap: 18px; flex: 1; flex-wrap: wrap; font-size: 14px; }
.rt-total { display: flex; flex-direction: column; align-items: flex-end; }
.rt-total b { font-size: 22px; color: var(--red); }
@media (max-width: 760px) {
    .rt-grid { grid-template-columns: 1fr; }
    .rt-bar-in { flex-wrap: wrap; gap: 8px; }
    .rt-sel { flex-basis: 100%; gap: 10px; }
    .rt-total { align-items: flex-start; flex: 1; }
}
.pay-sub { font-size: 15px; margin: 18px 0 0; color: var(--ink); }
.pm-icon-now { background: #dcfce7; }
.pm-icon-later { background: #fef3c7; }
.pm-amt { display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; white-space: nowrap; }
.pm-amt small { font-weight: 600; font-size: 12px; }

/* Login gareko user ko naam */
.nav-user { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.nav-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.nav-user-text { display: flex; flex-direction: column; line-height: 1.15; max-width: 160px; }
.nav-user-text b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-user-text small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .nav-user-text { display: none; } .nav-user { padding: 3px; } }

/* Wallet top-up */
.tu-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 12px; }
.tu-method { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; text-align: center; font-size: 14px; position: relative; }
.tu-method input { position: absolute; opacity: 0; pointer-events: none; }
.tu-method:has(input:checked) { border-color: var(--red); background: #fffafb; box-shadow: 0 0 0 3px rgba(200,16,46,.08); }
.tu-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; font-size: 18px; font-weight: 800; color: #075985; }
.tu-panel[hidden] { display: none; }
.tu-help { background: #eff6ff; color: #1e3a8a; border-radius: 10px; padding: 12px; font-size: 14px; margin-bottom: 12px; }
.bank-box { border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; font-size: 14px; }
.bank-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.bank-row span { color: var(--muted); width: 110px; flex-shrink: 0; }
.qr-box { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.qr-img img { width: 170px; height: 170px; object-fit: contain; display: block; background: #fff; }
.qr-info { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.qr-remark { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 6px 8px; }
.stmt-form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; align-items: end; }
.stmt-btns { grid-column: span 3; display: flex; gap: 8px; }
.btn-ghost-sm { background: #fff !important; color: var(--ink) !important; border: 1px solid var(--line) !important; }
@media (max-width: 640px) {
    .qr-box { flex-direction: column; align-items: flex-start; }
    .stmt-form { grid-template-columns: 1fr 1fr; }
    .stmt-btns { grid-column: span 2; }
}
.tu-method small { font-size: 12px; }
.tu-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 6px 0 16px; }
.tu-steps { margin: 0; min-width: 320px; }
.tu-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start; }
.poster-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.poster { max-width: 100%; max-height: 520px; width: auto; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.poster[hidden] { display: none; }
.tu-steps-list { margin: 0 0 12px; padding-left: 20px; font-size: 14px; line-height: 1.9; }
.tu-amount { display: flex; justify-content: space-between; align-items: center; background: var(--bg); border-radius: 10px; padding: 12px 14px; margin-bottom: 4px; }
.tu-amount b { font-size: 20px; color: var(--red); }
@media (max-width: 760px) { .tu-layout { grid-template-columns: 1fr; } .tu-steps { min-width: 0; width: 100%; } }
.qr-expired { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 20px; border: 2px dashed #fecaca; border-radius: 12px; background: #fef2f2; color: #991b1b; text-align: center; width: 100%; }
.qr-expired[hidden] { display: none; }
.qr-expired b { font-size: 18px; }
.tu-page-timer { align-self: center; }
.tu-page-expired { margin-top: 10px; padding: 50px 20px; }

/* =========================================================
   Naya homepage design (UdanTicket)
   ========================================================= */
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.brand-name em { font-style: normal; color: var(--red); }
.brand-tag { font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.nav-outline { border: 1.5px solid var(--line); padding: 7px 18px; border-radius: 999px; }
.nav-active { color: var(--red) !important; position: relative; }

/* Home: header photo mathi pardarshi */
.page-home .header { position: absolute; top: 0; left: 0; right: 0; background: transparent; border: 0; z-index: 30; }
.page-home .header-inner { padding-top: 14px; padding-bottom: 14px; }
.page-home .brand-name { color: #fff; font-size: 30px; }
.page-home .brand-tag { color: rgba(255,255,255,.85); font-size: 14px; }
.page-home .brand-logo { height: 58px; }
.page-home .nav a, .page-home .nav-link-btn { color: rgba(255,255,255,.88); font-weight: 600; }
.page-home .nav a:hover { color: #fff; }
.page-home .nav-active { color: #fff !important; }
.page-home .nav-active::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: -8px; height: 3px; border-radius: 3px; background: var(--red); }
.page-home .nav-outline { border-color: rgba(255,255,255,.55); color: #fff !important; }
.page-home .nav-cta { box-shadow: 0 8px 22px rgba(200,16,46,.45); }
.page-home .nav-wallet { background: rgba(255,255,255,.14) !important; color: #fff !important; }
.page-home .nav-user { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.page-home .nav-user-text b { color: #fff; }
.page-home .nav-user-text small { color: rgba(255,255,255,.75); }
.page-home .flash-zone { position: absolute; top: 96px; left: 0; right: 0; z-index: 25; }

.h-hero {
    --hero-img: none;
    position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff;
    background:
        linear-gradient(180deg, rgba(10,12,20,.55) 0%, rgba(10,12,20,.35) 40%, rgba(10,12,20,.75) 100%),
        var(--hero-img) center / cover no-repeat,
        linear-gradient(135deg, #7a0f1e, #1f2937);
    padding: 130px 0 70px;
}
.h-hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; }
.h-badge { display: inline-flex; gap: 6px; align-items: center; padding: 8px 18px; border-radius: 999px; background: rgba(20,20,28,.55); border: 1px solid rgba(255,255,255,.18); font-size: 14px; font-weight: 600; backdrop-filter: blur(6px); }
.h-title { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; margin: 22px 0 14px; font-weight: 800; letter-spacing: -.02em; text-shadow: 0 6px 30px rgba(0,0,0,.45); }
.h-title span { display: block; color: #ef2b3c; }
.h-sub { display: inline-block; padding: 8px 22px; border-radius: 999px; background: rgba(20,20,28,.45); font-size: 18px; font-weight: 500; margin: 0 0 30px; backdrop-filter: blur(4px); }
.h-stats { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 42px; }
.h-stat { min-width: 150px; padding: 18px 22px; border-radius: 16px; background: rgba(15,15,22,.6); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); display: flex; flex-direction: column; gap: 4px; }
.h-stat b { font-size: 30px; font-weight: 800; }
.h-stat span { font-size: 14px; color: rgba(255,255,255,.8); font-weight: 600; }
.h-scroll { margin-top: 34px; width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; display: flex; justify-content: center; }
.h-scroll span { width: 4px; height: 8px; background: #fff; border-radius: 2px; margin-top: 7px; animation: hscroll 1.6s infinite; }
@keyframes hscroll { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* Search form (segment bar) */
.sform { width: 100%; max-width: 1150px; text-align: left; color: var(--ink); position: relative; }
.stabs { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.stab { border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 16px; padding: 11px 22px; border-radius: 12px; background: rgba(30,30,40,.55); color: #fff; backdrop-filter: blur(6px); }
.stab.active { background: #fff; color: var(--red); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.sbar { display: flex; align-items: stretch; background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.28); position: relative; flex-wrap: wrap; }
.sseg { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; border-right: 1px solid var(--line); cursor: text; position: relative; }
.sseg:focus-within { box-shadow: inset 0 0 0 2px #fbc6cd; border-radius: 14px; }
.slabel { font-size: 13px; color: var(--muted); font-weight: 600; }
.sseg input, .sseg select { border: 0; outline: 0; padding: 0; font: inherit; font-size: 17px; font-weight: 700; color: var(--ink); background: transparent; width: 100%; min-width: 0; height: 28px; }
.sseg input::placeholder { color: #9ca3af; font-weight: 500; }
.sseg select { cursor: pointer; appearance: none; }
.shint { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sseg-from, .sseg-to { flex-grow: 1.4; }
.sswap { align-self: center; width: 42px; height: 42px; margin: 0 -21px; z-index: 2; border-radius: 50%; border: 2px solid var(--red); background: #fff; color: var(--red); font-size: 18px; cursor: pointer; flex-shrink: 0; }
.sseg-from { padding-right: 28px; }
.sseg-to { padding-left: 32px; }
.sseg-pax { cursor: default; border-right: 0; }
.spax-btn { border: 0; background: none; padding: 0; text-align: left; font: inherit; font-size: 17px; cursor: pointer; color: var(--ink); height: 28px; }
.spax-pop { position: absolute; top: calc(100% + 8px); right: 0; width: 280px; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.2); padding: 14px; z-index: 40; }
.spax-pop[hidden] { display: none; }
.spax-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spax-row small { display: block; color: var(--muted); font-size: 12px; }
.spax-step { display: flex; align-items: center; gap: 12px; }
.spax-step button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--red); background: #fff; color: var(--red); font-size: 18px; cursor: pointer; line-height: 1; }
.spax-step span { min-width: 16px; text-align: center; font-weight: 700; }
.spax-done { width: 100%; margin-top: 12px; height: 42px; }
.ssearch { flex: 0 0 135px; border: 0; background: var(--red); color: #fff; font: inherit; font-weight: 700; font-size: 17px; border-radius: 0 18px 18px 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.ssearch:hover { background: var(--red-dark); }
.ssearch-ico { font-size: 22px; }
.sform .field-ret { display: none; }
.sform.is-round .field-ret { display: flex; }
.sform .mtn-note { display: none; flex-basis: 100%; padding: 12px 18px; margin: 0; border-radius: 18px 18px 0 0; background: #eff6ff; color: #1e3a8a; font-size: 14px; }
.sform.is-mountain .mtn-note { display: block; }
.sform.is-mountain .ssearch { border-radius: 0 0 18px 0; }
.sform.is-mountain .route-field { display: none !important; }
.sform .form-errors { margin-top: 10px; background: #fef2f2; color: #991b1b; border-radius: 10px; padding: 10px 14px; font-size: 14px; }

/* Result page ma pani yahi form */
.hero-sm .sform { margin: 0 auto; }

@media (max-width: 980px) {
    .page-home .header { position: absolute; }
    .page-home .brand-name { font-size: 22px; }
    .page-home .brand-tag { display: none; }
    .page-home .nav-hide-sm { display: none; }
    .h-hero { padding-top: 110px; min-height: auto; }
    .sbar { flex-direction: column; }
    .sseg { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; }
    .sseg-from { padding-right: 16px; }
    .sseg-to { padding-left: 16px; }
    .sswap { position: absolute; right: 18px; top: 52px; margin: 0; transform: rotate(90deg); }
    .sform.is-round .sswap, .sform .sswap { top: 50px; }
    .ssearch { flex-basis: auto; border-radius: 0 0 18px 18px; padding: 14px; flex-direction: row; }
    .sform.is-mountain .ssearch { border-radius: 0 0 18px 18px; }
    .spax-pop { left: 0; right: 0; width: auto; }
    .h-stat { min-width: 130px; padding: 14px 16px; }
    .h-stat b { font-size: 24px; }
}

/* About Us */
.about { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.about-main p { font-size: 16px; line-height: 1.75; color: #374151; }
.about-tag { color: var(--red) !important; font-weight: 700; margin-top: -6px; }
.about-stats { justify-content: flex-start; }
.about-stats .h-stat { background: var(--ink); color: #fff; }
.about-contact p { margin: 8px 0; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* Mobile header: page bahira najaos */
html, body { overflow-x: hidden; }
@media (max-width: 640px) {
    .header-inner { flex-wrap: wrap; gap: 8px; }
    .nav { flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
    .nav-hide-sm { display: none !important; }
    .brand-name { font-size: 20px !important; }
    .brand-logo, .brand-mark { height: 36px; width: 36px; }
    .nav-outline, .nav-cta { padding: 6px 12px; font-size: 14px; }
    .page-home .h-hero { padding-top: 120px; }
}

/* ---- Search filters (v20) ---- */
.res-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 22px; align-items: start; }
.res-layout.res-single { grid-template-columns: minmax(0, 1fr); }
.res-main { min-width: 0; }
[hidden] { display: none !important; }

.filters {
    position: sticky; top: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 6px 18px 18px; box-shadow: 0 4px 18px rgba(17, 24, 39, .04);
}
.filters-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.filters-head b { font-size: 17px; }
.f-reset { background: none; border: 0; color: var(--red); font-weight: 600; font-size: 13px; cursor: pointer; padding: 0; }
.f-reset:hover { text-decoration: underline; }
.f-close { display: none; }
.f-block { padding: 16px 0; border-bottom: 1px solid var(--line); }
.f-block:last-of-type { border-bottom: 0; }
.f-block h4 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.f-val { text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 700; font-size: 13px; }

.f-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.f-slot input { position: absolute; opacity: 0; pointer-events: none; }
.f-slot span {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1px;
    border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 6px; cursor: pointer;
    transition: border-color .15s, background .15s, transform .1s;
}
.f-slot span:hover { border-color: #f1a7b3; }
.f-slot i { font-style: normal; font-size: 20px; line-height: 1.2; }
.f-slot b { font-size: 13px; }
.f-slot small { font-size: 11px; color: var(--muted); }
.f-slot input:checked + span { border-color: var(--red); background: #fff1f3; box-shadow: inset 0 0 0 1px var(--red); }
.f-slot input:checked + span b { color: var(--red); }
.f-slot input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.f-check { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: 14px; }
.f-check input { position: absolute; opacity: 0; pointer-events: none; }
.f-box {
    flex: none; width: 18px; height: 18px; border: 1.5px solid #9aa1ab; border-radius: 5px; display: grid; place-items: center;
    transition: background .15s, border-color .15s;
}
.f-check input:checked + .f-box { background: var(--red); border-color: var(--red); }
.f-check input:checked + .f-box::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.f-check input:focus-visible + .f-box { outline: 2px solid var(--red); outline-offset: 2px; }
.f-name { flex: 1; font-weight: 600; }
.f-name small { color: var(--muted); font-weight: 500; }
.f-min { font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }

.f-range { --pct: 100%; width: 100%; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 999px; outline: none;
    background: linear-gradient(to right, var(--red) 0, var(--red) var(--pct), var(--line) var(--pct), var(--line) 100%); }
.f-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--red); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.f-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--red); cursor: pointer; }
.f-range-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
.f-apply { display: none; }

.sortbar { display: flex; gap: 10px; align-items: stretch; margin-bottom: 8px; }
.sort-tabs { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sort-tabs button {
    background: none; border: 0; border-right: 1px solid var(--line); padding: 10px 8px; cursor: pointer; font: inherit;
    font-weight: 700; font-size: 14px; color: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 1px;
    position: relative; transition: background .15s;
}
.sort-tabs button:last-child { border-right: 0; }
.sort-tabs button small { font-weight: 500; font-size: 12px; color: var(--muted); }
.sort-tabs button:hover { background: #fafafa; }
.sort-tabs button.on { color: var(--red); background: #fff6f7; }
.sort-tabs button.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); }
.f-open {
    display: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 14px;
    font: inherit; font-weight: 700; cursor: pointer; align-items: center; gap: 6px; white-space: nowrap;
}
.f-badge { background: var(--red); color: #fff; border-radius: 999px; font-size: 11px; min-width: 18px; height: 18px; display: inline-grid; place-items: center; padding: 0 5px; }
.res-count { margin: 0 0 10px 2px; }
.res-count b { color: var(--ink); }
.f-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 90; }
body.f-lock { overflow: hidden; }

@media (max-width: 1024px) {
    .res-layout { grid-template-columns: minmax(0, 1fr); }
    .f-open { display: inline-flex; }
    .filters {
        position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 100; max-height: 85vh; overflow-y: auto;
        border-radius: 20px 20px 0 0; transform: translateY(105%); transition: transform .25s ease; padding-bottom: 20px;
    }
    .filters.open { transform: none; }
    .filters-head { position: sticky; top: 0; background: #fff; z-index: 1; }
    .f-close { display: block; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 0 0 12px; }
    .filters-head b { flex: 1; }
    .f-slots { grid-template-columns: repeat(4, 1fr); }
    .f-apply { display: block; width: 100%; border: 0; font: inherit; font-weight: 700; cursor: pointer; padding: 13px; margin-top: 4px; }
}
@media (max-width: 600px) {
    .f-slots { grid-template-columns: 1fr 1fr; }
    .sort-tabs button { font-size: 13px; padding: 8px 4px; }
    .f-open { padding: 0 10px; }
}

/* ---- Airline logo bigger (v21) ---- */
.flight-airline { flex-direction: column; align-items: flex-start; gap: 6px; }
.flight-airline img {
    width: 140px; height: 54px; object-fit: contain; object-position: left center;
    background: #fff; border-radius: 8px;
}
.flight-airline .airline-badge { width: 46px; height: 46px; }
.flight-airline .airline-name { font-size: 15px; }
@media (max-width: 960px) {
    .flight-airline { flex-direction: row; align-items: center; gap: 12px; }
    .flight-airline img { width: 120px; height: 46px; }
}

/* ---- Credit / due box (v22) ---- */
.due-box {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    background: linear-gradient(135deg, #fff7ed, #fffbeb); border: 1px solid #fed7aa; border-left: 5px solid #f59e0b;
    border-radius: var(--radius); padding: 16px 20px; margin: 16px 0;
}
.due-box.due-over { background: linear-gradient(135deg, #fef2f2, #fff1f2); border-color: #fecaca; border-left-color: var(--red); }
.due-info { display: flex; flex-direction: column; gap: 2px; }
.due-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #b45309; }
.due-over .due-label { color: var(--red); }
.due-amt { font-size: 24px; font-weight: 800; color: var(--ink); }
.due-box form { margin: 0; }

/* ---- Pay options on booking (v23) ---- */
.due-pending { background: #fff; border: 1px solid #fde68a; border-radius: 12px; padding: 10px 14px; font-size: 14px; max-width: 420px; }
.pay-opts { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0; margin: -6px 0 16px; overflow: hidden; }
.pay-opts summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style: none; color: var(--red); }
.pay-opts summary::-webkit-details-marker { display: none; }
.pay-opts summary::before { content: "\25B8  "; }
.pay-opts[open] summary::before { content: "\25BE  "; }
.pay-opts-form { padding: 0 18px 18px; }
.pay-amt { max-width: 260px; }
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.pay-m { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; font: inherit; transition: border-color .15s, box-shadow .15s; }
.pay-m:hover { border-color: var(--red); box-shadow: 0 6px 16px rgba(200, 16, 46, .08); }
.pay-m b { font-size: 14px; }
.pay-m small { color: var(--muted); font-size: 12px; }
@media (max-width: 600px) { .pay-methods { grid-template-columns: 1fr; } }
/* Top-up: screenshot check */
.tu-check { border: 1.5px dashed var(--line); border-radius: 12px; padding: 12px 14px; margin: 4px 0 6px; background: #fafafa; }
.tu-check.is-ok { border: 1.5px solid #16a34a; background: #f0fdf4; }
.tu-check.is-bad { border-color: #f87171; background: #fef2f2; }
.tu-check-head { display: flex; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.tu-check ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.tu-check li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px solid rgba(0,0,0,.06); }
.tu-check li em { font-style: normal; color: #6b7280; white-space: nowrap; }
.tu-check li.ok em { color: #15803d; font-weight: 700; }
.tu-check li.no em { color: #b91c1c; font-weight: 700; }
.tu-check li.soft.no em { color: #b45309; }
.tu-check-bar { height: 6px; background: rgba(127,127,127,.2); border-radius: 999px; overflow: hidden; margin: 6px 0; }
.tu-check-bar i { display: block; height: 100%; width: 5%; background: var(--red); transition: width .2s; }
#send-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
#send-btn.btn-ready { background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.2); animation: tuPulse 1.6s ease-in-out 3; }
@keyframes tuPulse { 50% { box-shadow: 0 0 0 8px rgba(22,163,74,.12); } }
/* Home header: thorai tala, naam ek line ma, sano screen ma aafai sano (mathi katine samasya) */
.page-home .header-inner { height: auto; min-height: 84px; padding-top: 26px; padding-bottom: 14px; gap: 18px; }
.page-home .brand-name { white-space: nowrap; }
.nav a, .nav-wallet, .nav-link-btn { white-space: nowrap; }
@media (max-width: 1180px) {
    .page-home .brand-name { font-size: 24px; }
    .page-home .brand-tag { font-size: 12px; }
    .page-home .brand-logo { height: 48px; }
    .page-home .nav { gap: 14px; font-size: 14px; }
}
@media (max-width: 980px) {
    .page-home .brand-name { font-size: 20px; }
    .page-home .header-inner { padding-top: 18px; }
}
@media (max-width: 640px) { .h-hero { padding-top: 150px; } }

/* Round trip: one-way jastai pura detail card */
.rt-tabs { display: none; }
.rt-col-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; position: sticky; top: 64px; background: var(--bg); padding: 8px 0; z-index: 5; }
.rt-col-head > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.rt-sort { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.rt-sort button { border: 0; background: none; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--muted); }
.rt-sort button.on { background: #fff6f7; color: var(--red); }
.rt-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 10px; }
.rt-chips button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.rt-chips button small { color: var(--muted); font-weight: 500; }
.rt-chips button.on { border-color: var(--red); color: var(--red); background: #fff6f7; }
.flight.flight-rt { grid-template-columns: 1fr; gap: 12px; cursor: pointer; border-width: 2px; position: relative; padding: 16px; }
.flight-rt .rt-radio { position: absolute; opacity: 0; pointer-events: none; }
.flight-rt:hover { border-color: #f3a5b1; }
.flight-rt.is-sel { border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,16,46,.08); }
.flight-rt.is-other { opacity: .62; }
.flight-rt.is-other.is-sel { opacity: 1; }
.rt-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.flight-rt .flight-price { gap: 0; }
.flight-rt .price { font-size: 21px; }
.flight-rt .t b { font-size: 20px; }
.rt-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.rt-pick { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px 6px 8px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.flight-rt.is-sel .rt-pick { border-color: var(--red); color: var(--red); background: #fff6f7; }
.flight-rt.is-sel .pm-check { border: 7px solid var(--red); }
.rt-warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 600; }
.flight-rt .flight-rules { padding-top: 8px; }
.empty-sm { padding: 20px; }
.empty-sm .btn-book { margin-top: 10px; }
.rt-sel-leg { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rt-sel-leg > div { display: flex; flex-direction: column; min-width: 0; }
.rt-sel-leg b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-sel-logo img, .rt-sel-logo .airline-badge { width: 34px; height: 34px; object-fit: contain; font-size: 12px; border-radius: 8px; }
#rt-book.is-off { opacity: .5; pointer-events: none; }
@media (max-width: 760px) {
    .rt-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; position: sticky; top: 60px; z-index: 6; }
    .rt-tabs button { border: 0; background: none; padding: 10px; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 2px; border-bottom: 3px solid transparent; }
    .rt-tabs button small { color: var(--muted); font-size: 12px; }
    .rt-tabs button.on { border-bottom-color: var(--red); background: #fff6f7; color: var(--red); }
    .rt-col { display: none; }
    .rt-col.on { display: block; }
    .rt-col-head { position: static; }
    .rt-sel-leg b { max-width: 42vw; }
}
.flight-rt .flight-airline { flex-direction: row; text-align: left; }
/* Round trip page ma WhatsApp button lai Book bar mathi */
body:has(.rt-bar) .wa-float { bottom: 96px; }
@media (max-width: 760px) {
    /* Bhitri page ko header: menu dui line bhaye pani tala ko section ma nachhirne */
    .header-inner { height: auto; min-height: 60px; flex-wrap: wrap; row-gap: 6px; padding-top: 8px; padding-bottom: 8px; }
    .header-inner .nav { flex-wrap: wrap; row-gap: 6px; }
    /* Book bar sano: dui line ko saransh + total + button */
    .rt-bar-in { padding-top: 8px; padding-bottom: 8px; }
    .rt-sel { gap: 2px; }
    .rt-sel-logo { display: none; }
    .rt-sel-leg b { font-size: 13px; max-width: 70vw; }
    .rt-bar .btn-book { margin-top: 0; padding: 10px 14px; }
    body:has(.rt-bar) .wa-float { bottom: 150px; width: 48px; height: 48px; }
}
/* Login with Google */
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-weight: 700; font-size: 15px; color: var(--ink); margin-top: 14px; }
.btn-google:hover { border-color: #c7cbd1; box-shadow: 0 2px 8px rgba(17,24,39,.08); }
.or-line { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 14px 0 4px; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* Mobile: grid bhitra ko kura le page chaudā nabanaos (wallet page) */
.grid-2 > *, .tu-methods > *, .stmt-form > *, .panel { min-width: 0; }
.stmt-form input, .stmt-form select { width: 100%; min-width: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .table td.nowrap, .table-scroll .table .nowrap { white-space: nowrap; }
@media (max-width: 480px) {
    .tu-methods { gap: 6px; }
    .tu-method { padding: 10px 4px; font-size: 13px; }
    .tu-method small { display: none; }
    .stmt-form { grid-template-columns: 1fr 1fr; }
    .stmt-form .field:nth-child(3) { grid-column: span 2; }
}

/* Mobile: logged-in nav eutai line maa (Logout badge mathi naparos) */
@media (max-width: 480px) {
    .nav { flex-wrap: nowrap; gap: 10px; font-size: 13px; }
    .nav-link-btn { font-size: 13px; }
    .nav-wallet { padding: 5px 9px; font-size: 12.5px; white-space: nowrap; }
    .nav > * { flex-shrink: 0; }
    .wa-float { width: 48px; height: 48px; right: 14px; bottom: 14px; }
    .wa-float svg { width: 24px; height: 24px; }
    .footer { padding-bottom: 76px; }
}

/* Fare alert (Track this fare) */
.fa-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 0 0 14px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.fa-box summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; }
.fa-box summary::-webkit-details-marker { display: none; }
.fa-box summary > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fa-box summary small { color: var(--muted); font-size: 13px; }
.fa-bell { width: 38px; height: 38px; border-radius: 50%; background: #fff1f2; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.fa-chev { color: var(--muted); transition: transform .2s; }
.fa-box[open] .fa-chev { transform: rotate(180deg); }
.fa-form, .fa-login { padding: 4px 16px 16px; border-top: 1px solid var(--line); margin: 0; }
.fa-modes { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.fa-modes label { display: flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; cursor: pointer; }
.fa-modes label:has(input:checked) { border-color: var(--red); background: #fff1f2; color: var(--red); font-weight: 600; }
.fa-modes input { accent-color: var(--red); margin: 0; }
.fa-target { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.fa-target[hidden] { display: none; }
.fa-target input { width: 160px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
.fa-err { color: #b91c1c; font-size: 13px; margin: -4px 0 8px; }
.fa-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fa-foot .btn-book, .fa-login .btn-book { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.fa-login { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 14px; }
.fa-list .fa-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.fa-list .fa-row:last-child { border-bottom: 0; }
.fa-row .fa-fare b { font-size: 17px; }
.fa-up { color: #b91c1c; } .fa-down { color: #047857; }
.fa-actions { display: flex; gap: 8px; }
.fa-actions form { margin: 0; }
.fa-actions button { background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.fa-actions button.del { color: #b91c1c; }
.fa-off { opacity: .55; }
@media (max-width: 640px) {
    .fa-list .fa-row { grid-template-columns: minmax(0, 1fr) auto; }
    .fa-list .fa-rule { grid-column: 1 / -1; order: 3; }
    .fa-actions { grid-column: 1 / -1; order: 4; }
    .fa-target input { width: 100%; }
    .fa-target { flex-direction: column; align-items: stretch; gap: 4px; }
}
.fa-track { margin: 6px 0 0; }
.fa-track button, .fa-track-link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--red); cursor: pointer; margin-top: 6px; display: inline-block; }
.fa-track button:hover, .fa-track-link:hover { text-decoration: underline; }
.fa-on { display: inline-block; white-space: nowrap; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: #047857; background: #ecfdf5; border-radius: 999px; padding: 3px 10px; }
.save-tag { display: inline-block; font-size: 12px; font-weight: 700; color: #047857; background: #ecfdf5; border-radius: 6px; padding: 2px 8px; margin-top: 2px; white-space: nowrap; }

/* ===== Search results: boarding-pass cards (v34) ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Route header */
.rh { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin: 4px 0 14px; }
.rh-route { display: flex; align-items: center; gap: 14px; min-width: 0; }
.rh-title { margin: 0; font-size: 26px; }
.rh-end b { display: block; font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.rh-end span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); font-weight: 500; }
.rh-end-to { text-align: right; }
.rh-path { display: flex; align-items: center; gap: 6px; width: clamp(60px, 12vw, 150px); color: var(--red); margin-bottom: 18px; }
.rh-path i { flex: 1; border-top: 2px dashed #a3aab4; }
.rh-path span { font-size: 20px; line-height: 1; }
.rh-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; justify-content: flex-end; }
.rh-meta span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; color: var(--ink); }
.rh-meta .rh-date { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }

/* Date strip */
.dstrip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(64px, 1fr); gap: 6px; margin: 0 0 18px; overflow-x: auto; scrollbar-width: none; }
.dstrip::-webkit-scrollbar { display: none; }
.dstrip a { display: flex; flex-direction: column; align-items: center; padding: 8px 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); line-height: 1.15; transition: border-color .15s; }
.dstrip a:hover { border-color: #9aa1ab; }
.dstrip a small { font-size: 11.5px; color: var(--muted); }
.dstrip a b { font-size: 19px; font-variant-numeric: tabular-nums; }
.dstrip a.on { background: var(--red); border-color: var(--red); color: #fff; }
.dstrip a.on small { color: rgba(255,255,255,.85); }
.dstrip a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* Card */
.bp {
    --notch: var(--bg);
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 230px;
    background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 14px;
    transition: border-color .15s, box-shadow .15s;
}
.bp:hover { border-color: #9aa1ab; box-shadow: 0 8px 24px rgba(23, 32, 42, .06); }
.bp-main { padding: 18px 22px 14px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.bp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bp-air { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bp-air img { width: 112px; height: 38px; object-fit: contain; object-position: left center; }
.bp-air .airline-badge { width: 40px; height: 40px; border-radius: 10px; }
.bp-airname { font-weight: 700; font-size: 15px; }
.bp-no { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bp-no span { margin-left: 8px; }
.bp-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.bp-tag { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #f1f3f6; color: #374151; }
.bp-tag-best { background: #e9f7ef; color: #0f7b4b; }

.bp-route { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; }
.bp-pt b { display: block; font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bp-pt span { display: block; margin-top: 5px; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.bp-pt-to { text-align: right; }
.bp-line { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.bp-dur { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.bp-track { position: relative; width: 100%; height: 12px; display: block; }
.bp-track i { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed #a3aab4; }
.bp-track i::before, .bp-track i::after { content: ""; position: absolute; top: -5px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid #9aa1ab; background: #fff; }
.bp-track i::before { left: -2px; }
.bp-track i::after { right: -2px; background: var(--ink); border-color: var(--ink); }
.bp-track em { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); font-style: normal; color: var(--red); background: #fff; padding: 0 6px; font-size: 15px; line-height: 1; }
.bp-stop { font-size: 12.5px; font-weight: 700; color: #b45309; }
.bp-stop.is-direct { color: #0f7b4b; }

.bp-facts { display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.bp-low { color: var(--red); font-weight: 600; }

/* Tear-off stub */
.bp-stub {
    position: relative; padding: 18px 20px; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 2px;
    background: #fdf6f7; border-left: 2px dashed #a3aab4; border-radius: 0 16px 16px 0; text-align: center;
}
.bp-stub::before, .bp-stub::after {
    content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--notch); border: 1px solid var(--line);
}
.bp-stub::before { top: -12px; border-top-color: transparent; border-left-color: transparent; border-right-color: transparent; }
.bp-stub::after { bottom: -12px; border-bottom-color: transparent; border-left-color: transparent; border-right-color: transparent; }
.bp-stub s { color: var(--muted); font-size: 13.5px; }
.bp-price { font-size: 27px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1.1; }
.bp-stub .save-tag { align-self: center; margin: 3px 0 1px; }
.bp-for { font-size: 12px; color: var(--muted); }
.bp-cust { font-size: 12.5px; color: #0f7b4b; font-weight: 600; }
.bp-book { margin-top: 10px; padding: 11px 16px; border-radius: 12px; font-size: 15px; }
.bp-stub .fa-track, .bp-stub .fa-track-link, .bp-stub .fa-on { align-self: center; }

.bp-rules { grid-column: 1 / -1; margin: 0; padding: 10px 22px 12px; border-top: 1px solid var(--line); }
.bp-rules[open] { background: #fcfcfd; border-radius: 0 0 16px 16px; }

@media (max-width: 760px) {
    .rh-end b { font-size: 32px; }
    .rh-meta { justify-content: flex-start; }
    .bp { grid-template-columns: minmax(0, 1fr); }
    .bp-main { padding: 16px 16px 14px; }
    .bp-pt b { font-size: 26px; }
    .bp-route { gap: 12px; }
    .bp-stub {
        border-left: 0; border-top: 2px dashed #a3aab4; border-radius: 0; padding: 14px 16px;
        display: grid; grid-template-columns: 1fr auto; text-align: left; align-items: center; gap: 0 12px;
    }
    .bp-stub > * { grid-column: 1; }
    .bp-stub .bp-book { grid-column: 2; grid-row: 1 / span 4; margin: 0; align-self: center; }
    .bp-stub .save-tag { justify-self: start; align-self: auto; }
    .bp-stub .fa-track, .bp-stub .fa-track-link, .bp-stub .fa-on { grid-column: 1 / -1; justify-self: start; }
    .bp-stub::before, .bp-stub::after { top: -12px; bottom: auto; border-color: var(--line); }
    .bp-stub::before { left: -12px; border-left-color: transparent; border-bottom-color: transparent; border-top-color: transparent; }
    .bp-stub::after { left: auto; right: -12px; border-right-color: transparent; border-bottom-color: transparent; border-top-color: transparent; }
    .bp-rules { padding: 10px 16px 12px; }
}

/* ===== Search loading screen ===== */
.ld { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px;
    background: radial-gradient(1200px 600px at 50% 110%, #7a1325, #2a0910 60%); color: #fff; text-align: center; }
.ld-box { width: min(520px, 100%); }
.ld-codes { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ld-codes b { font-size: 44px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.ld-codes small { display: block; font-size: 13px; opacity: .75; margin-top: 6px; font-weight: 500; }
.ld-sky { position: relative; height: 90px; margin: 6px 0 22px; }
.ld-sky svg { width: 100%; height: 100%; overflow: visible; }
.ld-arc { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 2; stroke-dasharray: 4 7; vector-effect: non-scaling-stroke; }
.ld-plane { fill: #fff; font-size: 26px; }
.ld-title { font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.ld-sub { margin: 0; opacity: .8; font-size: 14.5px; min-height: 1.4em; }
.ld-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.15); overflow: hidden; margin: 22px auto 0; width: 70%; }
.ld-bar i { display: block; height: 100%; width: 35%; background: #fff; border-radius: 4px; animation: ld-bar 1.6s ease-in-out infinite; }
@keyframes ld-bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(290%); } }
@media (prefers-reduced-motion: reduce) {
    .ld-bar i { animation: none; width: 100%; opacity: .5; }
}

/* ===== Fare rules panel (v35) ===== */
.bp-rules { padding: 0; border-top: 1px solid var(--line); }
.bp-rules > summary {
    display: flex; align-items: center; gap: 8px; padding: 12px 22px; font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none;
}
.bp-rules > summary::-webkit-details-marker { display: none; }
.bp-rules > summary::before, .bp-rules[open] > summary::before { content: none; display: none; }
.bp-rules > summary::after {
    content: ""; width: 7px; height: 7px; border: solid var(--red); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px);
    margin-left: 2px; transition: transform .2s;
}
.bp-rules[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.bp-rules > summary:hover { color: var(--red); }
.bp-rules > summary:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; border-radius: 8px; }
.bp-rules[open] { background: #fafbfc; border-radius: 0 0 16px 16px; }
.bp-rules .rules { padding: 0 22px 18px; }

.rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.rl-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.rl-card h4 { margin: 0 0 10px; font-size: 14.5px; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--ink); }
.rl-card h4 small { font-weight: 500; color: var(--muted); font-size: 12.5px; margin-left: 4px; }
.rl-facts { margin: 0; display: grid; gap: 8px; }
.rl-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; }
.rl-facts dt { color: var(--muted); }
.rl-facts dd { margin: 0; font-weight: 700; text-align: right; }
.rl-pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.rl-ok { background: #e9f7ef; color: #0f7b4b; }
.rl-no { background: #fdecee; color: #b4142f; }
.rules .rl-cancel { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rl-cancel li { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; padding: 8px 10px; background: #f7f8fa; border-radius: 9px; }
.rl-cancel li b { white-space: nowrap; color: #9a4b00; background: #fff4e5; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; }
.rl-cancel li.rl-text { display: block; background: none; padding: 0; }
.rl-text { font-size: 13px; color: #374151; margin: 0; line-height: 1.5; }
.rl-card .rules-note { margin-top: 10px; font-size: 12px; line-height: 1.45; }

.rl-receipt .rules-price { font-size: 13.5px; }
.rl-receipt .rules-price td { padding: 4px 0; vertical-align: top; }
.rl-receipt .rules-price td small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.rl-receipt .rules-price td:last-child { font-variant-numeric: tabular-nums; }
.rl-receipt .rules-sub td { border-top: 1px solid var(--line); padding-top: 7px; font-weight: 600; }
.rl-receipt .rl-disc td { color: #0f7b4b; font-weight: 600; }
.rl-receipt .rl-disc td small { color: #0f7b4b; opacity: .8; }
.rl-receipt .rules-total td { border-top: 2px dashed #a3aab4; padding-top: 9px; font-size: 15.5px; font-weight: 800; }

@media (max-width: 760px) {
    .bp-rules > summary { padding: 12px 16px; }
    .bp-rules .rules { padding: 0 12px 14px; }
}

/* Yeti hold: pay later */
.btn-hold-later { display: block; margin-top: 12px; padding: 12px 14px; border: 1.5px dashed #a3aab4; border-radius: 12px; text-align: center; font-weight: 700; color: var(--red); background: #fff; }
.btn-hold-later small { display: block; margin-top: 3px; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.btn-hold-later:hover { background: #fff6f7; }
.btn-sm { padding: 7px 14px; font-size: 13.5px; margin-top: 0; }
.held-box { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 18px; padding: 14px 16px; border-radius: 14px; background: #ecf8f1; border: 1px solid #bfe6cf; }
.held-ico { width: 34px; height: 34px; border-radius: 50%; background: #0f7b4b; color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.held-txt { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: #1f3b2c; }
.held-txt b { font-size: 15.5px; color: #0f5132; }
.held-later { padding: 9px 14px; border-radius: 10px; border: 1.5px solid #0f7b4b; color: #0f7b4b; font-weight: 700; font-size: 14px; white-space: nowrap; background: #fff; }
.held-later:hover { background: #0f7b4b; color: #fff; }

/* My Bookings: tabs + search (v38) */
.bk-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 12px; }
.bk-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink); }
.bk-tabs a span { min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: #f1f3f6; display: inline-grid; place-items: center; font-size: 12px; color: var(--muted); }
.bk-tabs a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.bk-tabs a.on span { background: rgba(255,255,255,.18); color: #fff; }
.bk-filter { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.bk-f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bk-f span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.bk-f input, .bk-f select { height: 40px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; background: #fff; min-width: 0; }
.bk-f input:focus, .bk-f select:focus { outline: 2px solid rgba(200,16,46,.2); border-color: var(--red); }
.bk-f-btns { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bk-f-btns .btn-book { border: 0; cursor: pointer; font: inherit; font-weight: 700; height: 40px; }
.bk-dl { font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; }
.bk-dl:hover { color: var(--red); }
.bk-pnr { margin-top: 3px; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; color: var(--red); }
.bk-act { white-space: nowrap; }
.bk-act > * { margin-right: 8px; }
@media (max-width: 760px) {
    .bk-filter { grid-template-columns: 1fr 1fr; }
    .bk-f-q, .bk-f-btns { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .bk-table, .bk-table tbody, .bk-table tr, .bk-table td { display: block; width: 100%; }
    .table-wrap:has(.bk-table) { overflow: visible; border: 0; background: none; }
    .bk-table thead { display: none; }
    .bk-table tr { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
    .bk-table td { padding: 0; border: 0; }
    .bk-table td[data-label="Booking"] { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
    .bk-table td[data-label="Booking"] .bk-pnr { margin: 0; }
    .bk-table td[data-label]:not([data-label="Booking"])::before { content: attr(data-label); display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; margin-bottom: 1px; }
    .bk-table td.bk-act { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding-top: 8px; border-top: 1px dashed var(--line); white-space: normal; }
    .bk-table td.bk-act > * { margin: 0; }
}
.fa-hint { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 16px 0; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 14.5px; }
.held-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.held-cancel { padding: 9px 14px; border-radius: 10px; border: 1.5px solid #e5b4bc; color: #b4142f; font: inherit; font-weight: 700; font-size: 14px; background: #fff; cursor: pointer; }
.held-cancel:hover { background: #fdecee; }
.held-blocked { margin: 6px 0 16px; }
.bk-cancel { display: inline; margin: 0; }
.bk-cancel button { background: none; border: 0; padding: 0; font: inherit; font-size: 13.5px; font-weight: 600; color: #b4142f; cursor: pointer; }
.bk-cancel button:hover { text-decoration: underline; }
.hold-offer { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 6px 0 18px; padding: 14px 16px; border-radius: 14px; background: #f6f8fb; border: 1px dashed #c9d1dc; }
.hold-offer .held-txt { color: var(--ink); }
.hold-offer .held-txt b { color: var(--ink); }
.hold-offer .held-later { cursor: pointer; font: inherit; font-weight: 700; font-size: 14px; }
.shint-today { color: var(--red) !important; font-weight: 700; }
/* Card ko border ali mota (v44) */
.bp, .rl-card, .filters, .sort-tabs, .bk-filter, .fa-box, .panel, .dstrip a, .rh-meta span, .bk-tabs a { border-width: 2px; }
@media (max-width: 760px) { .bk-table tr { border-width: 2px; } }
/* International filter: stops */
.f-stops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.f-stop input { position: absolute; opacity: 0; pointer-events: none; }
.f-stop span { display: flex; flex-direction: column; align-items: center; gap: 1px; border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 4px; cursor: pointer; text-align: center; }
.f-stop b { font-size: 13px; }
.f-stop small { font-size: 11.5px; color: var(--muted); }
.f-stop input:checked + span { border-color: var(--red); background: #fff1f3; box-shadow: inset 0 0 0 1px var(--red); }
.f-stop input:checked + span b { color: var(--red); }
.f-stop input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
/* Airport code thulo, muni shahar (v47) */
.bp-pt span { margin-top: 6px; font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: .06em; }
.bp-pt small { display: block; margin-top: 1px; font-size: 12px; color: var(--muted); font-weight: 500; white-space: nowrap; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.bp-pt-to small { margin-left: auto; }
@media (max-width: 760px) { .bp-pt span { font-size: 15px; } .bp-pt small { max-width: 90px; } }

/* Wide screens: use more width + Himalaya silhouette in hero */
@media (min-width: 1440px) {
    .wrap { max-width: 1320px; }
    .hero-sm .sform { max-width: 100%; }
    .res-layout { grid-template-columns: 290px minmax(0, 1fr); gap: 26px; }
}
@media (min-width: 1800px) {
    .wrap { max-width: 1440px; }
}
.hero { position: relative; isolation: isolate; }
.hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70%;
    z-index: -1; pointer-events: none; opacity: .16;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 200V150l60-28 50 20 70-62 40 30 60-70 45 40 35-25 80 75 55-35 70 48 90-104 40 38 30-20 75 72 60-40 50 26 85-90 45 42 40-30 70 60 50-24 65 46 80-96 50 52 35-22 70 56 55-30 60 40 70-60 45 28V200z'/%3E%3Cpath fill='%23ffffff' fill-opacity='.55' d='M0 200v-30l90-22 80 30 110-40 90 34 120-46 100 40 90-18 120 36 110-42 100 30 90-24 120 40 110-30 90 22 100-34 90 26V200z'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
}
.hero > * { position: relative; }
@media (max-width: 760px) { .hero::after { height: 40%; opacity: .12; } }

/* Flight card: WhatsApp ma sodhne */
.wa-ask { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 13px; font-weight: 600; color: #128c4a; text-decoration: none; }
.wa-ask:hover { text-decoration: underline; }
.bp-stub .wa-ask { align-self: center; }
@media (max-width: 760px) { .bp-stub .wa-ask { grid-column: 1 / -1; justify-self: start; margin-top: 2px; } }

/* Footer (purano site jasto: 4 column) */
.ft { background: #0f1e36; color: #c3cad6; padding: 56px 0 0; font-size: 15px; }
.ft-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 36px; }
.ft-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; margin-bottom: 16px; }
.ft-brand b { display: block; font-size: 21px; font-weight: 800; }
.ft-brand small { display: block; color: #ff5a6a; font-size: 13px; }
.ft-logo { height: 46px; width: auto; }
.ft-about p { line-height: 1.65; margin: 0; max-width: 320px; }
.ft h4 { color: #f5b800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 4px 0 18px; font-weight: 800; }
.ft-links, .ft-contact { list-style: none; margin: 0; padding: 0; }
.ft-links li { margin-bottom: 12px; padding-left: 18px; position: relative; }
.ft-links li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.ft a { color: #e5e9f0; text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; }
.ft-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; line-height: 1.5; }
.ft-contact svg { flex: none; margin-top: 3px; color: #8b96a8; }
.ft-follow { margin-top: 26px !important; color: #9aa4b5 !important; }
.ft-social { display: flex; gap: 10px; }
.ft-social a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid #3a4a66; display: grid; place-items: center; color: #e5e9f0; }
.ft-social a:hover { background: #25324a; text-decoration: none; }
.ft-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding: 20px 16px 26px; border-top: 1px solid #263552; font-size: 13px; color: #8b96a8; }
.ft-heart { color: #ef4444; }
@media (max-width: 960px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ft-grid { grid-template-columns: 1fr; gap: 26px; } .ft { padding-top: 40px; } .ft-bottom { flex-direction: column; } }

/* Policy / help pages */
.legal { max-width: 860px; }
.legal-body { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 22px 26px; line-height: 1.7; }
.legal-body h2 { font-size: 18px; margin: 20px 0 6px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 8px; }
.legal-li { padding-left: 10px; }
.legal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.btn-wa { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 10px; background: #25d366; color: #fff; font-weight: 700; text-decoration: none; }
@media (max-width: 560px) { .ft-bottom { padding-right: 84px; } }

/* Home: Why choose + How it works (purano site jasto) */
.wc { background: #fdeef0; padding: 52px 0; }
.wc-title { text-align: center; font-size: clamp(24px, 3vw, 30px); margin: 0 0 6px; letter-spacing: -.01em; }
.wc-sub { text-align: center; color: var(--muted); margin: 0 0 30px; }
.wc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 980px; margin: 0 auto; }
.wc-card { background: #fff; border: 2px solid #f3c9cf; border-radius: 16px; padding: 26px 22px; text-align: center; }
.wc-card b { display: block; font-size: 16px; margin: 14px 0 8px; }
.wc-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.wc-ico { width: 48px; height: 48px; border-radius: 14px; display: inline-grid; place-items: center; }
.wc-green { background: #e8f8ee; color: #16a34a; }
.wc-yellow { background: #fff7d6; color: #d99a00; }
.wc-blue { background: #e8f0ff; color: #2563eb; }
.hw { background: #fff7f8; padding: 52px 0 60px; }
.hw-steps { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1000px; }
.hw-steps li { text-align: center; position: relative; }
.hw-steps li:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: calc(50% + 34px); right: calc(-50% + 34px); border-top: 2px dashed #f0b8c0; }
.hw-ico { position: relative; width: 52px; height: 52px; border-radius: 16px; background: #fde4e8; color: var(--red); display: inline-grid; place-items: center; }
.hw-ico i { position: absolute; top: -9px; right: -10px; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font-style: normal; font-size: 10px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.hw-steps b { display: block; margin: 14px 0 4px; font-size: 15px; }
.hw-steps small { color: var(--muted); font-size: 13px; line-height: 1.5; }
@media (max-width: 860px) { .wc-grid { grid-template-columns: 1fr; max-width: 460px; } .hw-steps { grid-template-columns: 1fr 1fr; row-gap: 30px; } .hw-steps li::after { display: none; } }

/* Home tabs: Popular sector | Fixed Departure | Offers */
.ht-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.ht-tab { border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 18px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.ht-tab em { font-style: normal; font-size: 12px; background: #eef1f5; color: var(--muted); border-radius: 999px; padding: 1px 8px; }
.ht-tab.on { background: var(--red); border-color: var(--red); color: #fff; }
.ht-tab.on em { background: rgba(255,255,255,.22); color: #fff; }
.fd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.fd-card { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); transition: .15s; }
.fd-card:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow); }
.fd-top { display: flex; align-items: center; gap: 10px; }
.fd-logo { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; }
.fd-code { display: grid; place-items: center; background: #fdecee; color: var(--red); font-weight: 800; font-size: 13px; }
.fd-air { font-weight: 700; font-size: 14px; line-height: 1.2; flex: 1; }
.fd-air small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.fd-tag { background: #fff4d6; color: #a16207; font-size: 11px; font-weight: 800; border-radius: 6px; padding: 2px 7px; }
.fd-route { font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.fd-route b { color: var(--red); }
.fd-when { color: var(--muted); font-size: 13px; }
.fd-bottom { display: flex; justify-content: space-between; align-items: baseline; border-top: 1.5px dashed var(--line); padding-top: 8px; }
.fd-price { font-weight: 800; font-size: 17px; color: var(--red); }
.fd-price small { color: var(--muted); font-weight: 500; font-size: 11px; }
.fd-seats { font-size: 12px; color: #15803d; font-weight: 600; }
.fd-seats.low { color: #b91c1c; }
.offer-grid-5 { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.offer-grid-5 .offer-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 14px; transition: .15s; }
.offer-grid-5 .offer-card:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow); }
.offer-grid-5 .offer-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.offer-grid-5 .offer-body b { font-size: 15px; }
.offer-desc { color: var(--muted); font-size: 13px; line-height: 1.45; }
.offer-until { color: var(--red); font-size: 12px; font-weight: 700; }
.offer-dlg { border: 0; border-radius: 16px; padding: 0 0 18px; max-width: 520px; width: calc(100% - 32px); }
.offer-dlg::backdrop { background: rgba(15, 23, 42, .55); }
.offer-dlg img { width: 100%; display: block; }
.offer-dlg h3, .offer-dlg p, .offer-dlg .legal-actions { margin-left: 20px; margin-right: 20px; }
.offer-dlg h3 { margin-top: 16px; margin-bottom: 6px; }
.offer-x { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 22px; cursor: pointer; }

/* Supplier FD portal */
.sfd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.narrow-wide { max-width: 900px; }
.sfd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
@media (max-width: 760px) { .sfd-grid { grid-template-columns: 1fr; } }
.sfd-stats { display: flex; gap: 12px; margin-bottom: 10px; }
.sfd-stats div { flex: 1; border: 2px solid var(--line); border-radius: 12px; padding: 10px; text-align: center; }
.sfd-stats b { display: block; font-size: 22px; }
.sfd-stats span { color: var(--muted); font-size: 12px; }
.sfd-inline { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-top: 14px; }
.sfd-inline .field { flex: 1; min-width: 150px; margin: 0; }
.sfd-bk { border-bottom: 1.5px dashed var(--line); padding: 10px 0; }
.sfd-bk ul { margin: 6px 0 0; padding-left: 18px; }
.btn-danger { background: #b91c1c; color: #fff; border: 0; border-radius: 10px; padding: 11px 18px; font-weight: 700; cursor: pointer; }
.form.sfd-inline { display: flex; flex-direction: row; align-items: flex-end; justify-content: flex-start; border-top: 1.5px dashed var(--line); padding-top: 14px; }
.form.sfd-inline .field { flex: 1 1 160px; }
.form.sfd-inline button { flex: none; }

/* Page down nagari error sandesh */
.app-error { line-height: 1.55; }
.app-error strong:first-child { display: block; margin-bottom: 2px; }
.app-error-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.app-error-actions a { display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px; border-radius: 8px; background: #fff; border: 1px solid #fecaca; color: #991b1b; font-weight: 600; text-decoration: none; font-size: 14px; }
.app-error-actions a:hover { background: #fee2e2; }
.app-error-tech { display: block; margin-top: 8px; font-size: 12px; color: #475569; font-weight: 400; word-break: break-word; }

/* Supplier FD: bulk / one, leg haru */
.sfd-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sfd-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.sfd-btn-bulk { background: #6ee7a0; color: #14532d; }
.sfd-btn-bulk:hover { background: #4ade80; }
.sfd-btn-one { background: #fbbf24; color: #422006; }
.sfd-btn-one:hover { background: #f59e0b; }
.sfd-tabs { display: flex; gap: 8px; margin: 12px 0 6px; flex-wrap: wrap; }
.sfd-tab { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; background: #fff; }
.sfd-tab.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.sfd-days { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.sfd-days .check { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 12px; }
.sfd-legs { border: 1.5px dashed var(--line); border-radius: 12px; padding: 14px; margin-bottom: 16px; }
.sfd-legs[hidden] { display: none; }
.sfd-leg { border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 12px; }
.sfd-leg-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sfd-leg-del { background: none; border: 0; color: #b91c1c; cursor: pointer; font: inherit; font-size: 13px; }
.sfd-route { display: grid; gap: 6px; margin-bottom: 14px; }
.sfd-history { margin-top: 16px; }
.sfd-h { display: grid; grid-template-columns: 170px 1fr 200px; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.sfd-h-time { color: var(--muted); }
.sfd-h-what { font-weight: 600; }
.sfd-h-who { color: var(--muted); text-align: right; }
@media (max-width: 700px) { .sfd-h { grid-template-columns: 1fr; gap: 2px; } .sfd-h-who { text-align: left; } }
.upg-summary { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; margin: 14px 0 0; }
.upg-summary dt { color: var(--muted); }
.upg-summary dd { margin: 0; font-weight: 600; }

/* UdanTicket logo + "A product of" + company popup */
.brand-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.brand { display: block; line-height: 0; }
.ut-logo { height: 50px; width: auto; display: block; }
.ut-logo-white { display: none; }
.page-home .ut-logo-dark { display: none; }
.page-home .ut-logo-white { display: block; height: 62px; }
.brand-by { background: none; border: 0; padding: 0; margin: 0; font: inherit; font-size: 11.5px; white-space: nowrap; color: var(--muted); cursor: pointer; text-align: left; line-height: 1.3; }
.brand-by b { font-weight: 600; color: var(--ink); }
.brand-by:hover b { color: var(--red); text-decoration: underline; }
.page-home .brand-by { color: rgba(255,255,255,.8); }
.page-home .brand-by b { color: #fff; }
.ft-logo { height: 48px; width: auto; display: block; }
.ft-brand { margin-bottom: 6px; }
.ft-by { color: rgba(255,255,255,.7); display: block; margin-bottom: 14px; }
.ft-by b { color: #fff; }
.co-dialog { border: 0; border-radius: 16px; padding: 22px 24px; width: min(460px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(15,23,42,.3); color: var(--ink); }
.co-dialog::backdrop { background: rgba(15,23,42,.55); }
.co-head { display: flex; justify-content: space-between; align-items: center; }
.co-logo { height: 40px; width: auto; }
.co-close { background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: var(--muted); }
.co-by { margin: 16px 0 2px; color: var(--muted); font-size: 13px; }
.co-name { margin: 0 0 8px; font-size: 20px; }
.co-about { color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.co-list { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; margin: 12px 0 18px; font-size: 14px; }
.co-list dt { color: var(--muted); }
.co-list dd { margin: 0; font-weight: 600; word-break: break-word; }
.co-list a { color: var(--red); }
.co-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 640px) {
    .ut-logo, .page-home .ut-logo-white { height: 36px; }
    .brand-by { font-size: 9.5px; letter-spacing: -.01em; }
    .co-list { grid-template-columns: 1fr; gap: 2px; }
    .co-list dd { margin-bottom: 8px; }
}

/* ---- Mobile menu (hamburger) ---- */
.m-actions { display: none; align-items: center; gap: 8px; margin-left: auto; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.page-home .nav-toggle { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
.page-home .nav-toggle span { background: #fff; }
.m-wallet { font-size: 13px; padding: 6px 10px; }
@media (max-width: 1100px) {
    .header-inner { position: relative; flex-wrap: nowrap !important; gap: 10px; }
    .m-actions { display: flex; }
    .header .nav {
        display: none; position: absolute; top: calc(100% + 6px); left: 12px; right: 12px; z-index: 60;
        flex-direction: column; align-items: stretch; flex-wrap: nowrap !important; gap: 2px !important;
        background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: 0 18px 40px rgba(15,23,42,.18);
        font-size: 15px !important;
    }
    .header.nav-open .nav { display: flex; }
    .header .nav > a, .header .nav .nav-hide-sm, .header .nav .nav-form .nav-link-btn {
        display: block !important; padding: 12px 14px; border-radius: 10px; color: var(--ink) !important; font-weight: 600; text-align: left; width: 100%;
    }
    .header .nav > a:hover, .header .nav .nav-form .nav-link-btn:hover { background: var(--bg); }
    .header .nav > a.nav-active { color: var(--red) !important; background: #fff1f3; }
    .header .nav > a.nav-active::after { display: none; }
    .header .nav .nav-wallet { display: none !important; }
    .header .nav .nav-user { order: -1; border: 0; background: var(--bg); padding: 10px 12px; border-radius: 12px; margin-bottom: 6px; }
    .header .nav .nav-user-text { display: flex !important; max-width: none; }
    .header .nav .nav-outline, .header .nav .nav-cta { text-align: center !important; margin-top: 6px; border-radius: 12px; }
    .header .nav .nav-outline { border: 1.5px solid var(--line) !important; }
    .header .nav .nav-cta { color: #fff !important; }
    .header .nav .nav-form { width: 100%; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
    .page-home .header .nav a, .page-home .header .nav .nav-link-btn { color: var(--ink) !important; }
    .page-home .header .nav .nav-cta { color: #fff !important; }
}

/* ---- Payment page: mobile cards ---- */
@media (max-width: 640px) {
    .pm { flex-wrap: wrap; padding: 14px 44px 14px 14px; gap: 10px 12px; }
    .pm-icon { width: 40px; height: 40px; font-size: 19px; }
    .pm-body { flex: 1 1 calc(100% - 56px); }
    .pm-amt, .pm-soon { margin-left: 52px; }
    .pm-amt { font-weight: 700; }
    .pm-check { position: absolute; top: 14px; right: 14px; }
    .issue-code-row { flex-direction: column; }
    .issue-code-row .btn-ghost { width: 100%; }
}
@media (max-width: 1100px) { .page-home .header .nav > a.nav-active { color: var(--red) !important; } }
@media (max-width: 1100px) {
    .header .nav .nav-user-text b { color: var(--ink) !important; }
    .header .nav .nav-user-text small { color: var(--muted) !important; }
}
@media (max-width: 640px) { .issue-code-row input { flex: 0 0 auto !important; height: 46px; } }
.brand-wrap { flex-shrink: 0; }

/* ---- Result page: mobile ma search form sano patti ---- */
.sx-bar { display: none; }
@media (max-width: 760px) {
    .sx.hero-sm { padding: 12px 0; }
    .sx-bar {
        display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
        background: #fff; border: 0; border-radius: 14px; padding: 12px 14px; font: inherit; color: var(--ink);
        text-align: left; cursor: pointer; box-shadow: 0 8px 24px rgba(15,23,42,.18);
    }
    .sx-route { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
    .sx-route b { font-size: 18px; font-weight: 800; letter-spacing: .01em; }
    .sx-route small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .sx-edit { flex-shrink: 0; font-weight: 700; font-size: 14px; color: var(--red); border: 1.5px solid #f6c3cb; border-radius: 999px; padding: 7px 12px; }
    .sx-edit-close { display: none; }
    .sx-open .sx-edit-open { display: none; }
    .sx-open .sx-edit-close { display: inline; }
    .sx-form { display: none; margin-top: 12px; }
    .sx-open .sx-form { display: block; }
}
@media (max-width: 760px) { .sx ~ .section .rh-route { display: none; } .sx ~ .section .rh { margin-top: 0; } }

/* connectIPS logo */
.pm-icon-ips { background: #fff !important; border: 1px solid var(--line); overflow: hidden; padding: 2px; }
.pm-icon img, .tu-icon img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 8px; }
.tu-icon:has(img) { background: #fff; border: 1px solid var(--line); padding: 2px; overflow: hidden; }
.pay-m-ico { vertical-align: -3px; border-radius: 4px; }
.cips-card { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto 14px; }

/* top-up: samaya / rakam anusar lukaune method */
.tu-method[hidden], .pay-m[hidden] { display: none !important; }
