/* The Fare Calculation Module: the portals' stylesheet (site.css) plus the Admin Panel's bar, tabs and forms, and the sheet itself. */
body.admin { background: var(--mmt-bg); }
.admin .pagebar-inner { min-height: 64px; }

/* ---------- the bar on a laptop, a tablet and a phone (the Admin Panel's rules of 22 Oct 2026) ----------
   Above 1280 px nothing changes. From 1280 px down the links tighten so the pages, More and the account still fit a small
   laptop. Below 1000 px the pages collapse into a Menu button's drawer under the bar, with More's pages listed in place
   after a line; the account button never leaves the bar. fcm.js opens and closes the drawer (no inline handlers under the CSP). */
.nav-toggle { display: none; }
@media (min-width: 1001px) {
  .admin-nav { overflow: visible; flex-wrap: wrap; }
}
@media (max-width: 1400px) {
  .admin-nav { margin-left: 10px; }
  .admin-nav a, .admin-more > button { padding: 24px 8px; font-size: 13px; }
}
@media (max-width: 1100px) { .brand-partner { display: none; } }
@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border: 1px solid var(--mmt-line); border-radius: 8px; background: #fff; color: var(--mmt-ink); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
  .nav-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
  .nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: var(--mmt-sky); border-color: var(--mmt-blue); color: var(--mmt-blue); }
  .admin-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 55; flex-direction: column; gap: 2px; margin: 0; padding: 8px 16px 12px; background: #fff; border-top: 1px solid var(--mmt-line); border-radius: 0 0 12px 12px; box-shadow: 0 14px 30px rgba(0, 0, 0, .18); max-height: calc(100vh - 64px); overflow-x: hidden; overflow-y: auto; }
  .admin-nav.open { display: flex; }
  .admin-nav a, .admin-more > button { padding: 12px 14px; border-bottom: 0; border-radius: 6px; font-size: 15px; color: var(--mmt-ink); }
  .admin-nav > a:hover { background: var(--mmt-bg); }
  .admin-nav > a.active { background: var(--mmt-sky); color: var(--mmt-blue); }
  .admin-more { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--mmt-line); }
  .admin-more > button { display: none; }
  .admin-nav .admin-more-menu { display: block !important; position: static; min-width: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .admin-more-menu a { padding: 12px 14px; border-radius: 6px; font-size: 15px; }
  .admin-more-menu a:hover { background: var(--mmt-bg); }
  .admin-more-menu a.active { background: var(--mmt-sky); }
  .admin-more-menu .sep { margin: 4px 0; }
}
@media (max-width: 400px) { .nav-toggle { padding: 0 9px; } .nav-toggle-text { display: none; } }

.admin .card h2 { font-size: 16px; }
.admin .kv { font-size: 13.5px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.inline-form { display: inline; }

.fld .help { display: block; margin: 4px 0 0; font-size: 12px; color: var(--mmt-light); }
.chk { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--mmt-ink); }
.chk input { width: 16px; height: 16px; accent-color: var(--mmt-blue); margin: 0; }
.tbl td.amounts { white-space: normal; max-width: 520px; font-size: 13px; line-height: 1.5; }

/* ---------- the fare sheet: Karan's Excel grid (ref/5.jpeg), 24 Oct 2026 ----------
   The column letters across the top and the row numbers down the side on Excel's grey; the gridlines; the headings in
   bold; AMT TO US and CURRENCY on Excel's yellow; the names in column A on its orange; the red lines under the rows on
   its red. The cells an agent types are inputs that look like cells (no border of their own, the green cell outline on
   focus). Column G exists on the super admin's page alone. The module's frame is wider than the portals' so the nine
   columns fit on a laptop; below that the grid scrolls sideways as every table of the portals does. */
body.fcm { --wrap: 1560px; --xl-line: #D4D4D4; --xl-head: #F3F3F3; --xl-yellow: #FFFF00; --xl-orange: #FFC000; --xl-red: #FF0000; --xl-blue: #DDEBF7; --xl-select: #107C41; --xl-range: rgba(16,124,65,.13); }
/* the regions on the left (Karan: "in the left side … the regions as well like ABJ/DSS") and the sheet on the right */
.xl-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; align-items: start; }
.xl-side { position: sticky; top: 14px; padding: 14px 14px 12px; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.xl-side h2 { margin: 0 0 10px; font-size: 12px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; color: var(--mmt-grey); }
.xl-regions { list-style: none; margin: 0; padding: 0; }
.xl-regions li + li { margin-top: 4px; }
.xl-regions a, .xl-regions li.gone { display: flex; align-items: baseline; gap: 8px; padding: 9px 10px; border-radius: 6px; border: 1px solid var(--mmt-line); color: var(--mmt-ink); text-decoration: none; }
.xl-regions a:hover { background: var(--mmt-sky); border-color: var(--brand-200); }
.xl-regions li.on a, .xl-regions li.gone { background: var(--mmt-blue); border-color: var(--mmt-blue); color: #fff; }
.xl-regions b { font-size: 15px; font-weight: 900; letter-spacing: .5px; }
.xl-regions span { font-size: 12.5px; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xl-side-note { margin: 10px 0 0; font-size: 12px; line-height: 1.4; color: var(--mmt-light); }
.xl-side-tools { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--mmt-line); font-size: 13px; }
.xl-side-tools summary { cursor: pointer; font-weight: 700; color: var(--mmt-blue); }
.xl-side-form { margin: 10px 0 0; }
.xl-side-form h3 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--mmt-grey); }
.xl-side-form label { display: flex; flex-direction: column; margin: 0 0 6px; font-size: 11.5px; font-weight: 700; color: var(--mmt-grey); }
.xl-side-form label input { height: 32px; padding: 0 8px; border: 1px solid #D0D0D0; border-radius: 4px; font: inherit; font-size: 13px; font-weight: 400; color: var(--mmt-ink); }
.xl-side-form .help { display: block; margin-top: 6px; font-size: 11.5px; color: var(--mmt-light); font-weight: 400; }
.xl-region { margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--mmt-sky); color: var(--brand-900); font-size: 13px; font-weight: 700; vertical-align: middle; white-space: nowrap; }
.xl-main { min-width: 0; }
.xl-bar { display: flex; align-items: stretch; margin: 0 0 8px; border: 1px solid var(--xl-line); border-radius: 4px; background: #fff; font-size: 13px; overflow: hidden; }
.xl-namebox { flex: 0 0 72px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--xl-line); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--mmt-ink); }
.xl-fx { flex: 0 0 38px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--xl-line); color: var(--mmt-grey); font-size: 14px; }
.xl-fx i { font-style: italic; font-family: Georgia, "Times New Roman", serif; }
.xl-fxin { flex: 1; min-width: 0; height: 34px; padding: 0 10px; border: 0; background: #fff; font: inherit; font-size: 13.5px; color: var(--mmt-ink); outline: 0; }
.xl-fxin:not([readonly]):focus { box-shadow: inset 0 -2px 0 var(--xl-select); }
.xl-fxin[readonly] { color: var(--mmt-grey); }
.xl-hint { flex: 0 1 auto; display: flex; align-items: center; padding: 0 10px; max-width: 48%; font-size: 12px; color: var(--mmt-grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xl-hint.err { color: #B3261E; font-weight: 700; }
.xl-wrap { overflow-x: auto; margin: 0 0 12px; background: #fff; border: 1px solid var(--xl-line); border-radius: 4px; }
table.xl { border-collapse: collapse; width: 100%; font-size: 14px; color: var(--mmt-ink); font-variant-numeric: tabular-nums; }
.xl th, .xl td { border: 1px solid var(--xl-line); padding: 0; height: 34px; vertical-align: middle; white-space: nowrap; }
.xl th.xl-corner, .xl th.xl-col, .xl th.xl-rn { background: var(--xl-head); color: var(--mmt-grey); font-weight: 400; font-size: 12.5px; text-align: center; }
.xl th.xl-col { position: relative; height: 24px; }
.xl th.xl-corner { width: 36px; }
.xl th.xl-rn { width: 36px; }
/* Excel's ways: the active row and column lit on the grey, a range selected with Shift, the letters resized by dragging */
.xl th.xl-col.sel-hdr, .xl th.xl-rn.sel-hdr { background: #D3F0E0; color: var(--xl-select); font-weight: 700; }
.xl td.sel { box-shadow: inset 0 0 0 100px var(--xl-range); }
.xl-rz { position: absolute; top: 0; right: -4px; width: 8px; height: 100%; cursor: col-resize; z-index: 2; }
.xl-rz:hover { background: rgba(16,124,65,.25); }
.xl.resized { table-layout: fixed; }
.xl th.xl-rn, .xl th.xl-corner { position: sticky; left: 0; z-index: 2; box-shadow: inset -1px 0 0 var(--xl-line); }   /* the row numbers stay in view while a narrow screen scrolls the grid sideways */
.xl td { padding: 0 8px; }
/* the point of issue to use (Karan, 24 Oct 2026): its AMT TO US blinks green; the base row (the branch's BSP issuance) carries a mark */
@keyframes bjfBlink { 0%, 100% { background-color: #16A34A; color: #fff; } 50% { background-color: #BBF7D0; color: #14532D; } }
.xl td.amt.best { animation: bjfBlink 1.2s ease-in-out infinite; font-weight: 900; }
@media (prefers-reduced-motion: reduce) { .xl td.amt.best { animation: none; background-color: #16A34A; color: #fff; } }
.xl tr.base td.lbl { box-shadow: inset 4px 0 0 #16A34A; }
.xl-bsp { display: inline-block; margin-left: 6px; padding: 0 5px; border-radius: 3px; background: rgba(0,0,0,.14); font-size: 10px; font-weight: 900; letter-spacing: .5px; vertical-align: 2px; cursor: help; }
.xl-verdict { margin: -4px 0 12px; min-height: 18px; font-size: 13px; color: var(--mmt-grey); }
.xl-verdict.on { color: #14532D; font-weight: 700; }
.xl-verdict:empty { margin: 0; min-height: 0; }
.xl td.hd { font-weight: 700; }
.xl td.y { background: var(--xl-yellow); }
.xl td.lbl { background: var(--xl-orange); }
.xl td.g { background: #FBFBFB; }
.xl td.hd.g { color: var(--mmt-grey); font-size: 12.5px; }
.xl td.hd.g small { font-weight: 400; }
.xl td.num, .xl td.amt { text-align: right; }
.xl td.amt { font-weight: 400; }
.xl td.amt.err { color: #B3261E; font-weight: 700; }
.xl td.bad { background: #FDECEA; }
.xl td.cur { font-weight: 700; }
.xl tr.xl-blank td { height: 26px; }
.xl td.xl-a, .xl th.xl-col-a { width: 168px; }   /* "CKY IATA (USD)" whole, as an input too */
.xl td.xl-b, .xl th.xl-col-b { width: 110px; }
.xl td.xl-c, .xl th.xl-col-c { width: 230px; }
.xl td.xl-d, .xl th.xl-col-d { width: 200px; }
.xl td.xl-e, .xl th.xl-col-e { width: 120px; }
.xl td.xl-f, .xl th.xl-col-f { width: 100px; }
.xl td.xl-g, .xl th.xl-col-g { width: 250px; }
.xl td.xl-h, .xl th.xl-col-h { width: 140px; }
.xl td.xl-i, .xl th.xl-col-i { width: 100px; }
.xl td.xl-tools, .xl th.xl-tools { width: 30px; border-color: transparent; background: transparent; text-align: center; padding: 0; }
.xl-del { width: 24px; height: 24px; border: 0; border-radius: 4px; background: transparent; color: var(--mmt-light); font: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
.xl-del:hover { background: #FDECEA; color: #B3261E; }
/* an input that is a cell: borderless, the full cell, the green outline on focus (Excel's selected cell) */
.xl .xl-in { display: block; width: 100%; height: 32px; margin: 0; padding: 0 8px; border: 0; border-radius: 0; background: transparent; font: inherit; font-size: 14px; color: inherit; outline: 0; box-shadow: none; }
.xl .xl-in:focus, .xl td:focus, .xl .xl-txt:focus { outline: 2px solid var(--xl-select); outline-offset: -2px; }
.xl td:focus, .xl .xl-txt:focus { box-shadow: inset 0 0 0 1px #fff; }
.xl .xl-num { text-align: right; }
.xl .xl-air { text-transform: uppercase; }
.xl .xl-lbl { font-weight: 400; }
.xl .xl-cur { font-weight: 700; text-transform: uppercase; }
.xl .xl-formula { font-family: Consolas, "Lucida Console", monospace; font-size: 13px; color: #0B5394; }
.xl .xl-txt { display: block; padding: 0; min-height: 32px; line-height: 32px; }
.xl td.g .xl-txt.xl-formula { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 250px; }
.xl td:has(.xl-in[data-error]:not([data-error=""])) { background: #FDECEA; }
/* the red lines under the rows */
.xl tr.xl-rules td.xl-red { background: var(--xl-red); color: #fff; height: auto; padding: 6px 8px; white-space: normal; text-align: center; }
.rules-box { margin: 0; color: #fff; text-align: center; font-weight: 700; font-size: 14px; text-transform: uppercase; }
.rules-box p { margin: 0; line-height: 1.5; }
.rules-box p::before { content: '*'; }
.xl .xl-redin { height: auto; min-height: 48px; padding: 4px 8px; resize: none; overflow: hidden; background: transparent; color: #fff; text-align: center; font-weight: 700; text-transform: uppercase; line-height: 1.5; }
.xl .xl-redin::placeholder { color: rgba(255,255,255,.7); }
.xl .xl-redin:focus { outline-color: #fff; }
/* under the grid: save, print; the super admin's "Save the rules" */
.xl-actions { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; margin: 0 0 22px; }
.xl-save { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.xl-note { width: 280px; max-width: 100%; height: 32px; padding: 0 10px; border: 1px solid #D0D0D0; border-radius: 4px; font: inherit; font-size: 13px; }
.xl-note:focus { border-color: var(--mmt-blue); outline: 0; box-shadow: 0 0 0 3px rgba(16,129,177,.14); }
.xl-admin { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#rules-state:not(:empty) { color: var(--pending); font-weight: 700; }
/* the information grids (sheets 2 and 3) */
.xl-info-head { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; margin: 0 0 10px; }
.xl-info-head h2 { margin: 0; font-size: 16px; font-weight: 900; }
.xl.info td { height: auto; padding: 6px 8px; white-space: pre-wrap; vertical-align: middle; font-size: 13.5px; line-height: 1.45; }
.xl.info tr.xl-title th { background: var(--xl-blue); padding: 6px 8px; font-weight: 700; text-align: center; font-size: 14px; border: 1px solid var(--xl-line); }
.xl.info td.first { font-weight: 400; }
.xl.info td:nth-child(1) { width: 130px; }
.xl.info td:nth-child(2) { width: 90px; }
.xl.info[data-cols="5"] td:nth-child(3) { width: 48%; text-align: center; }
.xl.info[data-cols="5"] td:nth-child(4) { width: 120px; }
.xl.info[data-cols="4"] td:nth-child(3) { width: 52%; }
.xl.info .xl-cell { display: block; }
.xl.info textarea.xl-cell { height: auto; min-height: 28px; padding: 4px 6px; resize: none; overflow: hidden; line-height: 1.45; white-space: pre-wrap; }
.xl.info[data-cols="5"] textarea.xl-cell:nth-child(1) { text-align: inherit; }
.xl-info-tools { margin: -4px 0 16px; }

/* ---------- the reservation documents: the hotel voucher and the insurance certificate (Karan, 3 Nov 2026) ----------
   The form of the format's fields in a card, the "PDF is ready" panel above it once saved (download, open, WhatsApp, the
   phone's share sheet, the link, email), the insured persons as rows that grow, the saved documents under it. */
.doc-brand { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-brand label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--mmt-line); border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 700; color: var(--mmt-ink); cursor: pointer; }
.doc-brand label:has(input:checked) { background: var(--mmt-sky); border-color: var(--mmt-blue); color: var(--brand-900); }
.doc-brand input { width: 16px; height: 16px; margin: 0; accent-color: var(--mmt-blue); }
.doc-form .grid-4 + .grid-4 { margin-top: 14px; }
.doc-form h3 { font-size: 15px; font-weight: 900; }
.doc-ready { border-left: 5px solid #16A34A; }
.doc-ready h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.doc-actions a.btn-sm { display: inline-flex; align-items: center; text-decoration: none; color: var(--mmt-ink); }
.doc-actions a.btn-sm.primary { color: #fff; }
.doc-actions .btn-sm.wa { background: #25D366; border-color: #25D366; color: #fff; }
.doc-actions .btn-sm.wa:hover { background: #1EBE5A; }
.doc-mail { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.doc-mail input { width: 280px; max-width: 100%; height: 32px; padding: 0 10px; border: 1px solid #D0D0D0; border-radius: 4px; font: inherit; font-size: 13px; }
.doc-mail input:focus { border-color: var(--mmt-blue); outline: 0; box-shadow: 0 0 0 3px rgba(16,129,177,.14); }
.doc-link { margin: 10px 0 0; font-size: 12.5px; color: var(--mmt-grey); overflow-wrap: anywhere; }
.doc-link a { color: var(--mmt-blue); }
.ins-rows { width: 100%; border-collapse: collapse; margin: 0 0 8px; }
.ins-rows th { padding: 0 10px 4px 0; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: var(--mmt-grey); }
.ins-rows td { padding: 0 10px 8px 0; vertical-align: top; }
.ins-rows td.no { width: 30px; padding-top: 12px; font-weight: 700; color: var(--mmt-grey); }
.ins-rows td.tools { width: 30px; padding: 8px 0 0; }
.ins-rows input, .ins-rows select { width: 100%; height: 40px; padding: 0 10px; border: 1px solid #D0D0D0; border-radius: 4px; background: #fff; font: inherit; font-size: 14px; color: var(--mmt-ink); }
.ins-rows input:focus, .ins-rows select:focus { border-color: var(--mmt-blue); outline: 0; box-shadow: 0 0 0 3px rgba(16,129,177,.14); }
.doc-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; }
.doc-benefits .fld + .fld { margin-top: 8px; }
.tbl.doc-list td.ref { font-weight: 700; white-space: nowrap; }
@media (max-width: 1100px) { .doc-form .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .doc-benefits { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .ins-rows, .ins-rows thead, .ins-rows tbody, .ins-rows tr, .ins-rows td { display: block; } .ins-rows thead { display: none; } .ins-rows tr { padding: 10px 0 2px; border-top: 1px solid var(--mmt-line); } .ins-rows td { padding: 0 0 8px; } .ins-rows td.no { width: auto; padding: 0 0 4px; } .ins-rows td.tools { width: auto; padding: 0; } }
@media (max-width: 560px) { .doc-form .grid-4 { grid-template-columns: minmax(0, 1fr); } .doc-mail input { width: 100%; } }

/* print: the sheet without the chrome */
@media print {
  .pagebar, .site-foot, .toast, .xl-bar, .xl-actions, .xl-tools, .xl-info-tools, .filters, .page-head .muted, .row-actions, .xl-side { display: none !important; }
  body.admin { background: #fff; }
  .xl-layout { display: block; }
  .xl-wrap { overflow: visible; border: 0; }
  .xl th, .xl td { position: static !important; }
  .xl td.amt.best { animation: none; background-color: #16A34A !important; color: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .xl th, .xl td { border-color: #999; }
  .xl td.y, .xl td.lbl, .xl tr.xl-rules td.xl-red, .xl.info tr.xl-title th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@media (max-width: 1600px) { body.fcm { --wrap: 1440px; } }
@media (max-width: 1500px) { body.fcm { --wrap: 1280px; } }
@media (max-width: 1000px) {
  .xl-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .xl-side { position: static; padding: 10px 12px; }
  .xl-side h2 { display: inline-block; margin: 0 10px 0 0; vertical-align: middle; }
  .xl-regions { display: inline-flex; flex-wrap: wrap; gap: 6px; vertical-align: middle; }
  .xl-regions li + li { margin-top: 0; }
  .xl-regions a, .xl-regions li.gone { padding: 6px 10px; }
  .xl-regions span { display: none; }
  .xl-side-note { display: none; }
}
@media (max-width: 900px) { .admin-cols { grid-template-columns: minmax(0, 1fr); } .xl-hint { display: none; } .xl-region { display: block; margin: 6px 0 0; width: fit-content; } }
@media (max-width: 600px) { .xl-note { width: 100%; } .xl-actions { gap: 10px; } }

/* ---------- the sign-in page: the Accounts, Marketing and Admin Panel's page on the module's own photograph ----------
   "Sunset seen from a plane" by Eva Darron on Unsplash (the Unsplash License - free for commercial use, no permission
   or attribution required; unsplash.com/photos/oCdVtGFeDC0, 5774 x 3249), fetched at 1920 px from images.unsplash.com
   on 24 Oct 2026 - assets/img/login-bg.jpg, never another portal's file. Darkened towards the card side and the foot so
   the white text and the glass card read on it. One column below a laptop width. */
.auth-body { position: relative; overflow-x: hidden; min-height: 100vh; margin: 0; background: var(--brand-900); color: #fff; font-family: "Lato", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.auth-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: url("../img/login-bg.jpg") center 45% / cover no-repeat var(--brand-900); }
.auth-bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,30,44,.58) 0%, rgba(8,30,44,.22) 48%, rgba(8,30,44,.56) 100%), linear-gradient(180deg, rgba(8,30,44,.42) 0%, rgba(8,30,44,0) 32%, rgba(8,30,44,.8) 100%); }
.auth-shell { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; max-width: 1500px; margin: 0 auto; padding: 22px 36px 0; }
.auth-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.auth-brandchip { display: inline-flex; align-items: center; gap: 12px; padding: 7px 14px; background: rgba(255,255,255,.96); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.22); text-decoration: none; animation: bjfAuthIn .6s cubic-bezier(.22,.9,.34,1) both; }
.auth-brandchip img { display: block; height: 42px; width: auto; }
.auth-brandchip img.auth-brandchip-sharda { height: 48px; }
.auth-brandchip-sep { width: 1px; height: 34px; background: var(--line); }
.auth-iata { display: flex; width: fit-content; align-items: center; gap: 9px; margin: 0; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(0,0,0,.22); animation: bjfAuthIn .6s cubic-bezier(.22,.9,.34,1) .05s both; }
.auth-iata img { height: 26px; width: auto; display: block; mix-blend-mode: multiply; }
.auth-iata span { text-align: left; line-height: 1.2; }
.auth-iata strong { display: block; font-size: 11.5px; font-weight: 900; color: var(--ink); }
.auth-iata em { font-style: normal; font-size: 10.5px; color: var(--muted); }
.auth-portal { font-size: 12px; font-weight: 900; letter-spacing: 2.4px; text-transform: uppercase; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.5); margin-left: 4px; }
/* The row is as tall as the card and sits in the middle of the page; the left column stretches to it and centres one
   block against the card - the welcome, the description and the three steps right under it - so no empty space is
   left between the text and the tiles (the gap Karan boxed on 25 Oct). */
.auth-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; align-items: stretch; align-content: center; padding: 36px 0 26px; }
.auth-left { display: flex; flex-direction: column; justify-content: center; gap: 28px; min-width: 0; }
.auth-intro { max-width: 640px; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.auth-welcome { font-size: 14.5px; letter-spacing: 1.6px; text-transform: uppercase; margin: 0 0 14px; color: rgba(255,255,255,.92); }
.auth-welcome strong { font-weight: 900; color: #fff; }
.auth-tag { font-size: 28px; font-weight: 900; line-height: 1.22; letter-spacing: -.3px; margin: 0 0 12px; }
.auth-desc { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.88); margin: 0; }
/* How it works: three glass steps - type the fares, the amount to us fills in, the correct point of issue blinks green */
.auth-steps { list-style: none; margin: 0; padding: 0; max-width: 640px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; animation: bjfAuthIn .6s cubic-bezier(.22,.9,.34,1) .06s both; }
.auth-steps li { display: flex; align-items: flex-start; gap: 11px; padding: 13px 14px 14px; border-radius: 12px; background: rgba(13,25,33,.6); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,.82); }
.auth-steps li > span:last-child { min-width: 0; }
.auth-steps b { display: block; margin-bottom: 3px; font-size: 13.5px; font-weight: 900; line-height: 1.25; color: #fff; }
.auth-step-no { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(180deg, var(--brand-400), var(--brand)); color: #fff; font-size: 12.5px; font-weight: 900; box-shadow: 0 6px 14px -4px rgba(16,129,177,.7); }
.auth-card { position: relative; overflow: hidden; width: 100%; max-width: 440px; justify-self: end; align-self: center; padding: 30px 30px 28px; border-radius: 16px; color: #fff;
  background: rgba(13,25,33,.74); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -18px rgba(0,0,0,.6); animation: bjfAuthIn .5s cubic-bezier(.22,.9,.34,1) both; }
.auth-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand-400), var(--brand), var(--brand-700)); }
@keyframes bjfAuthIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.auth-card h1 { margin: 0 0 4px; color: #fff; font-size: 24px; font-weight: 900; }
.auth-card > p.muted { margin: 0 0 22px; color: rgba(255,255,255,.72); font-size: 13.5px; }
.auth-card .fld > label { color: rgba(255,255,255,.88); }
.auth-card .fld input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.24); color: #fff; caret-color: #fff; }
.auth-card .fld input::placeholder { color: rgba(255,255,255,.45); }
.auth-card .fld input:focus { background: rgba(255,255,255,.12); border-color: var(--brand-400); box-shadow: 0 0 0 3px rgba(69,169,211,.28); }
.auth-card .fld input:-webkit-autofill, .auth-card .fld input:-webkit-autofill:focus { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 1000px #1c3443 inset; caret-color: #fff; transition: background-color 9999s ease-out 0s; }
.auth-card .pw-wrap button { color: var(--brand-400); }
.auth-card .form-msg { background: rgba(179,38,30,.28); border: 1px solid rgba(255,130,120,.5); color: #ffe1dd; }
.auth-card .form-msg.ok { background: rgba(18,118,107,.3); border-color: rgba(120,220,200,.5); color: #d9f7f0; }
.auth-card .btn-grad { box-shadow: 0 12px 24px -10px rgba(16,129,177,.9); }
.auth-card .demo-logins { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.04); color: rgba(255,255,255,.6); }
.auth-card .demo-logins button { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.auth-card .demo-logins button b { color: var(--brand-400); }
.auth-card .region-logins button { font-size: 14px; padding: 9px 14px; }
.auth-card .region-logins button b { font-size: 15px; letter-spacing: .5px; }
.auth-card .demo-logins button:hover { border-color: var(--brand-400); background: rgba(255,255,255,.13); }
.auth-features { padding: 0 0 20px; }
.auth-features ul { list-style: none; margin: 0; padding: 16px 18px; max-width: 1040px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px;
  border-radius: 14px; background: rgba(13,25,33,.62); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: bjfAuthIn .6s cubic-bezier(.22,.9,.34,1) .1s both; }
.auth-tile { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: #fff; }
.auth-tile-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(180deg, var(--brand-400), var(--brand)); box-shadow: 0 8px 18px -4px rgba(16,129,177,.7); }
.auth-tile-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.auth-foot { padding: 12px 0 18px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.72); font-size: 12.5px; }
.auth-foot p { margin: 0; }
.auth-hero .toast { z-index: 5; }
@media (max-width: 1000px) {
  .auth-main { grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; align-content: start; padding-top: 28px; }
  .auth-left { display: contents; }   /* one column: the welcome, then the card, then the steps */
  .auth-intro { order: 1; max-width: 560px; margin: 0 auto; text-align: center; }
  .auth-tag { font-size: 23px; }
  .auth-card { order: 2; justify-self: center; max-width: 520px; }
  .auth-steps { order: 3; width: 100%; max-width: 520px; margin: 0 auto; }
  .auth-features ul { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 560px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .auth-shell { padding: 14px 16px 0; }
  .auth-top { gap: 10px; }
  .auth-brandchip { padding: 5px 10px; gap: 8px; }
  .auth-brandchip img { height: 30px; }
  .auth-brandchip img.auth-brandchip-sharda { height: 34px; }
  .auth-brandchip-sep { height: 24px; }
  .auth-iata, .auth-portal, .auth-desc { display: none; }
  .auth-card { padding: 24px 18px 22px; }
  .auth-features ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .auth-card, .auth-brandchip, .auth-iata, .auth-steps, .auth-features ul { animation: none !important; } }
