/*
 * Al-Sadaat Travels & Tours — design system
 * Loaded after Bootstrap (LTR or RTL build). Tokens first, then components.
 */

/* ---------- Fonts (served locally, SIL Open Font License) ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Nastaliq is used only for Arabic-script characters; Latin text inside Urdu pages falls through to Inter. */
@font-face { font-family: "Noto Nastaliq Urdu"; src: url("../fonts/noto-nastaliq-urdu-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Noto Nastaliq Urdu"; src: url("../fonts/noto-nastaliq-urdu-arabic-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-089F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF; }

/* ---------- Tokens ---------- */
:root {
  --ast-green: #075C42;
  --ast-green-deep: #04402E;
  --ast-green-soft: #E3EEE9;
  --ast-gold: #C9A34A;
  --ast-gold-soft: #F6EDD6;
  --ast-ink: #202820;
  --ast-muted: #5D665F;
  --ast-line: #DCDDD3;
  --ast-cream: #F7F7F2;
  --ast-white: #FFFFFF;
  --ast-danger: #A4271F;
  --ast-warning: #9A6A00;

  --ast-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ast-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ast-font-urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Inter", system-ui, sans-serif;

  --ast-radius-sm: 6px;
  --ast-radius: 10px;
  --ast-radius-lg: 16px;

  /* Bootstrap overrides */
  --bs-body-font-family: var(--ast-font-body);
  --bs-body-color: var(--ast-ink);
  --bs-body-bg: var(--ast-cream);
  --bs-link-color: var(--ast-green);
  --bs-link-color-rgb: 7, 92, 66;
  --bs-link-hover-color: var(--ast-green-deep);
  --bs-border-color: var(--ast-line);
  --bs-border-radius: var(--ast-radius-sm);
  --bs-primary: var(--ast-green);
  --bs-primary-rgb: 7, 92, 66;
  --bs-focus-ring-color: rgba(201, 163, 74, .45);
}

/* ---------- Base ---------- */
body { font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .ast-display { font-family: var(--ast-font-display); font-weight: 700; letter-spacing: -.005em; line-height: 1.15; color: var(--ast-ink); font-variant-numeric: lining-nums; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.4rem; }
h4, h5, h6 { font-family: var(--ast-font-body); font-weight: 600; }
.ast-lead { color: var(--ast-muted); font-size: 1.05rem; max-width: 62ch; }
.text-muted { color: var(--ast-muted) !important; }

/* Urdu: Nastaliq needs more size and much more line-height */
html[lang="ur"] body { font-family: var(--ast-font-urdu); font-size: 1.05rem; line-height: 2.25; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3, html[lang="ur"] .ast-display,
html[lang="ur"] h4, html[lang="ur"] h5, html[lang="ur"] h6 { font-family: var(--ast-font-urdu); line-height: 1.9; letter-spacing: 0; }
html[lang="ur"] h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
html[lang="ur"] .form-control, html[lang="ur"] .btn, html[lang="ur"] .form-select { line-height: 2; }
/* Numbers, emails and phones stay left-to-right inside Urdu text */
.ast-ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; font-family: var(--ast-font-body); }
html[lang="ur"] input[type="email"], html[lang="ur"] input[type="tel"], html[lang="ur"] input[type="password"] { direction: ltr; text-align: left; font-family: var(--ast-font-body); }

:focus-visible { outline: 3px solid var(--ast-gold); outline-offset: 2px; }
.skip-link { position: absolute; inset-inline-start: 8px; top: 8px; transform: translateY(-200%); z-index: 2000; background: var(--ast-ink); color: #fff; padding: 8px 12px; border-radius: var(--ast-radius-sm); }
.skip-link:focus { transform: none; color: #fff; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: var(--ast-radius-sm); padding: .6rem 1.15rem; }
.btn-primary { --bs-btn-bg: var(--ast-green); --bs-btn-border-color: var(--ast-green); --bs-btn-hover-bg: var(--ast-green-deep); --bs-btn-hover-border-color: var(--ast-green-deep); --bs-btn-active-bg: var(--ast-green-deep); --bs-btn-disabled-bg: var(--ast-green); --bs-btn-disabled-border-color: var(--ast-green); }
.btn-gold { --bs-btn-color: var(--ast-ink); --bs-btn-bg: var(--ast-gold); --bs-btn-border-color: var(--ast-gold); --bs-btn-hover-color: var(--ast-ink); --bs-btn-hover-bg: #B8913A; --bs-btn-hover-border-color: #B8913A; --bs-btn-active-bg: #A8822F; }
.btn-outline-primary { --bs-btn-color: var(--ast-green); --bs-btn-border-color: var(--ast-green); --bs-btn-hover-bg: var(--ast-green); --bs-btn-hover-border-color: var(--ast-green); --bs-btn-active-bg: var(--ast-green-deep); }
.btn-link { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Forms ---------- */
.form-label { font-weight: 600; margin-bottom: .35rem; }
.form-control, .form-select { border-radius: var(--ast-radius-sm); padding: .65rem .85rem; border-color: #C9CBBF; background-color: var(--ast-white); }
.form-control:focus, .form-select:focus { border-color: var(--ast-green); box-shadow: 0 0 0 .2rem rgba(201, 163, 74, .35); }
.form-text { color: var(--ast-muted); }
.invalid-feedback { color: var(--ast-danger); font-weight: 500; }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--ast-danger); }
.form-check-input:checked { background-color: var(--ast-green); border-color: var(--ast-green); }

/* ---------- Alerts / flash ---------- */
.alert { border-radius: var(--ast-radius-sm); border-width: 0; border-inline-start: 4px solid; }
.alert-success { background: var(--ast-green-soft); color: var(--ast-green-deep); border-color: var(--ast-green); }
.alert-danger { background: #F8E5E3; color: #6E1A14; border-color: var(--ast-danger); }
.alert-warning { background: var(--ast-gold-soft); color: #5C4300; border-color: var(--ast-gold); }
.alert-info { background: #EEF1EC; color: var(--ast-ink); border-color: var(--ast-muted); }

/* ---------- Status badges (booking, visa, payment …) ---------- */
.ast-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .6rem; border-radius: 999px; font-size: .82rem; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }
.ast-badge::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.ast-badge--neutral { background: #EEEFE9; color: #444C45; }
.ast-badge--waiting { background: var(--ast-gold-soft); color: #6B4E00; }
.ast-badge--active { background: var(--ast-green-soft); color: var(--ast-green-deep); }
.ast-badge--done { background: var(--ast-green); color: #fff; }
.ast-badge--stopped { background: #F8E5E3; color: #7A1D16; }

/* ---------- Surfaces ---------- */
.ast-panel { background: var(--ast-white); border: 1px solid var(--ast-line); border-radius: var(--ast-radius); padding: 1.5rem; }
.ast-panel + .ast-panel { margin-top: 1rem; }
.ast-panel__title { font-family: var(--ast-font-body); font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem; }
.ast-keyval { display: grid; grid-template-columns: minmax(8rem, max-content) 1fr; gap: .4rem 1.25rem; margin: 0; }
.ast-keyval dt { color: var(--ast-muted); font-weight: 500; }
.ast-keyval dd { margin: 0; font-weight: 600; }
.ast-empty { text-align: center; padding: 2rem 1rem; color: var(--ast-muted); }
.ast-empty strong { display: block; color: var(--ast-ink); font-size: 1.05rem; margin-bottom: .25rem; }

/* Data tables */
.ast-table { --bs-table-bg: var(--ast-white); margin: 0; }
.ast-table thead th { font-size: .85rem; color: var(--ast-muted); font-weight: 600; border-bottom-width: 2px; white-space: nowrap; }
.ast-table td { vertical-align: middle; }
.ast-table-wrap { background: var(--ast-white); border: 1px solid var(--ast-line); border-radius: var(--ast-radius); overflow-x: auto; position: relative; }

/* ---------- The signature: khatam (eight-pointed star) pattern ---------- */
.ast-khatam {
  background-color: var(--ast-green);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23C9A34A' stroke-opacity='.22' stroke-width='1'%3E%3Crect x='21' y='21' width='30' height='30'/%3E%3Crect x='21' y='21' width='30' height='30' transform='rotate(45 36 36)'/%3E%3Cpath d='M0 0L21 21M72 0L51 21M0 72L21 51M72 72L51 51'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 72px;
  color: #fff;
}
.ast-goldrule { height: 2px; background: var(--ast-gold); border: 0; opacity: 1; width: 3.5rem; margin: 1.25rem 0; }

/* ---------- Public header / footer ---------- */
.ast-header { background: var(--ast-cream); border-bottom: 1px solid var(--ast-line); }
.ast-header .navbar { padding-block: .5rem; }
.ast-logo { height: 64px; width: auto; }
.ast-header .nav-link { color: var(--ast-ink); font-weight: 500; }
.ast-header .nav-link:hover, .ast-header .nav-link.active { color: var(--ast-green); }
.ast-lang-btn { font-weight: 600; border: 1px solid var(--ast-line); background: var(--ast-white); border-radius: var(--ast-radius-sm); padding: .3rem .7rem; color: var(--ast-ink); }
.ast-lang-btn:hover { border-color: var(--ast-green); color: var(--ast-green); }
.ast-footer { background: var(--ast-green-deep); color: rgba(255,255,255,.85); padding: 2.5rem 0 1.5rem; margin-top: 3rem; }
.ast-footer a { color: #fff; }
.ast-footer h2 { color: #fff; font-size: 1.35rem; }
.ast-footer__base { border-top: 1px solid rgba(255,255,255,.15); margin-top: 1.5rem; padding-top: 1rem; font-size: .9rem; color: rgba(255,255,255,.7); }

/* ---------- Public website: home, packages, package detail ---------- */
.ast-hero { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.ast-eyebrow { color: var(--ast-gold); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; margin-bottom: .5rem; }
html[lang="ur"] .ast-eyebrow { letter-spacing: 0; text-transform: none; }
.ast-hero__title { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); margin: 0; max-width: 14ch; }
.ast-hero__intro { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 46ch; margin-bottom: 1.5rem; }
.ast-hero__search { background: var(--ast-cream); color: var(--ast-ink); border-radius: var(--ast-radius-lg); padding: 1.5rem; box-shadow: 0 18px 40px rgba(4,64,46,.35); }
.ast-search { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; align-items: end; }
.ast-hero__search .ast-search { grid-template-columns: 1fr; }
.ast-search .form-label { font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
@media (max-width: 767.98px) { .ast-search { grid-template-columns: 1fr; } }

.ast-section { padding-block: clamp(2rem, 5vw, 3.5rem); }
.ast-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.25rem; }
.ast-section__head h2 { margin: 0; }
.ast-section__head a { font-weight: 600; }
.ast-band { background: var(--ast-white); border-block: 1px solid var(--ast-line); }

.ast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.ast-card { background: var(--ast-white); border: 1px solid var(--ast-line); border-radius: var(--ast-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease; }
.ast-card:hover { box-shadow: 0 10px 26px rgba(32,40,32,.10); transform: translateY(-2px); }
.ast-card__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--ast-green-soft); }
.ast-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ast-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ast-card__placeholder span { font-family: var(--ast-font-display); font-weight: 700; font-size: 1.6rem; color: var(--ast-gold); }
.ast-card__flag { position: absolute; top: .75rem; inset-inline-start: .75rem; background: var(--ast-gold); color: var(--ast-ink); font-weight: 700; font-size: .78rem; padding: .2rem .55rem; border-radius: 999px; }
.ast-card__body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.ast-card__title { font-size: 1.4rem; margin-bottom: .25rem; }
.ast-card__title a { color: var(--ast-ink); text-decoration: none; }
.ast-card__title a:hover { color: var(--ast-green); }
.ast-card__meta { color: var(--ast-muted); font-size: .92rem; margin-bottom: .6rem; }
.ast-card__hotels { list-style: none; padding: 0; margin: 0 0 .9rem; font-size: .92rem; }
.ast-card__hotels li { padding: .15rem 0; }
.ast-card__hotels li > span { display: inline-block; min-width: 4.5rem; color: var(--ast-muted); font-weight: 500; }
.ast-card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; border-top: 1px dashed var(--ast-line); padding-top: .85rem; }
.ast-card__from { display: block; font-size: .8rem; color: var(--ast-muted); }
.ast-card__price { font-size: 1.25rem; color: var(--ast-green-deep); font-variant-numeric: tabular-nums lining-nums; }
.ast-card__next { font-size: .82rem; color: var(--ast-muted); }

.ast-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.25rem; }
.ast-steps li { counter-increment: step; background: var(--ast-white); border: 1px solid var(--ast-line); border-radius: var(--ast-radius); padding: 1.25rem; }
.ast-steps li::before { content: counter(step); display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--ast-green); color: #fff; font-weight: 700; margin-bottom: .6rem; font-family: var(--ast-font-body); }
.ast-steps strong { display: block; margin-bottom: .25rem; }
.ast-steps span { color: var(--ast-muted); }

.ast-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.ast-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ast-radius-sm); }
.ast-gallery .ast-gallery__main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.ast-prose p:last-child, .ast-prose ul:last-child { margin-bottom: 0; }
.ast-option { background: var(--ast-white); border: 1px solid var(--ast-line); border-inline-start: 4px solid var(--ast-gold); border-radius: var(--ast-radius); padding: 1.25rem; margin-bottom: 1rem; }
.ast-option__title { font-family: var(--ast-font-body); font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.ast-hotel { background: var(--ast-cream); border-radius: var(--ast-radius-sm); padding: .8rem 1rem; height: 100%; display: flex; flex-direction: column; gap: .1rem; }
.ast-hotel__city { font-size: .8rem; color: var(--ast-muted); font-weight: 600; }
.ast-hotel__stars { color: var(--ast-gold); letter-spacing: .1em; }
.ast-hotel__dist { font-size: .88rem; color: var(--ast-green); }
.ast-prices th, .ast-prices td { text-align: center; white-space: nowrap; }
@media (max-width: 575.98px) { .ast-prices td, .ast-prices th { font-size: .88rem; padding-inline: .6rem; } }
.ast-prices strong { font-variant-numeric: tabular-nums lining-nums; }
.ast-note { background: var(--ast-gold-soft); border-radius: var(--ast-radius-sm); padding: .9rem 1.1rem; font-size: .95rem; }
.ast-ticks, .ast-crosses { list-style: none; padding: 0; }
.ast-ticks li, .ast-crosses li { position: relative; padding-inline-start: 1.6rem; margin-bottom: .35rem; }
.ast-ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--ast-green); font-weight: 700; }
.ast-crosses li::before { content: "✕"; position: absolute; inset-inline-start: 0; color: var(--ast-danger); font-weight: 700; }
.ast-sticky { position: sticky; top: 1rem; }
.ast-bigprice { font-family: var(--ast-font-body); font-size: 2rem; font-weight: 700; color: var(--ast-green-deep); line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; }
.ast-faq details { background: var(--ast-white); border: 1px solid var(--ast-line); border-radius: var(--ast-radius); padding: 1rem 1.25rem; margin-bottom: .75rem; }
.ast-faq summary { font-weight: 600; cursor: pointer; }
.ast-faq details[open] summary { margin-bottom: .6rem; color: var(--ast-green); }

/* ---------- Booking ---------- */
.ast-steps-bar { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0 0 1.5rem; }
.ast-steps-bar li { flex: 1; display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem; border-radius: var(--ast-radius-sm); background: var(--ast-white); border: 1px solid var(--ast-line); color: var(--ast-muted); font-weight: 500; font-size: .92rem; min-width: 0; }
.ast-steps-bar__n { flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ast-cream); font-weight: 700; font-family: var(--ast-font-body); }
.ast-steps-bar li.is-current { border-color: var(--ast-green); color: var(--ast-ink); }
.ast-steps-bar li.is-current .ast-steps-bar__n { background: var(--ast-green); color: #fff; }
.ast-steps-bar li.is-done .ast-steps-bar__n { background: var(--ast-gold); color: var(--ast-ink); }
@media (max-width: 575.98px) { .ast-steps-bar li:not(.is-current) .ast-steps-bar__l { display: none; } .ast-steps-bar li:not(.is-current) { flex: none; } }
.ast-choice { border: 1px solid var(--ast-line); border-radius: var(--ast-radius); padding: .9rem 1rem; margin-bottom: .75rem; }
.ast-choice__head { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; margin-bottom: .6rem; }
.ast-choice__head .small { color: var(--ast-muted); }
.ast-choice__rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.ast-room { display: flex; flex-direction: column; gap: .1rem; border: 1.5px solid var(--ast-line); border-radius: var(--ast-radius-sm); padding: .55rem .75rem; cursor: pointer; background: var(--ast-white); }
.ast-room:hover { border-color: var(--ast-green); }
.btn-check:checked + .ast-room { border-color: var(--ast-green); background: var(--ast-green-soft); box-shadow: inset 0 0 0 1px var(--ast-green); }
.btn-check:focus-visible + .ast-room { outline: 3px solid var(--ast-gold); outline-offset: 2px; }
.ast-room__name { font-size: .85rem; color: var(--ast-muted); font-weight: 600; }
.ast-room__price { font-weight: 700; color: var(--ast-green-deep); font-variant-numeric: tabular-nums lining-nums; }
.ast-room__sub { font-size: .75rem; color: var(--ast-muted); }
.ast-blist li + li { border-top: 1px solid var(--ast-line); }
.ast-blist__item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; color: var(--ast-ink); text-decoration: none; }
.ast-blist__item:hover strong { color: var(--ast-green); }
.ast-blist__main { display: flex; flex-direction: column; min-width: 0; }
.ast-blist__side { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; flex: none; }
.ast-timeline { list-style: none; padding: 0; margin: 0; border-inline-start: 2px solid var(--ast-line); }
.ast-timeline li { position: relative; padding: 0 0 .9rem 1rem; }
.ast-timeline li::before { content: ""; position: absolute; inset-inline-start: -6px; top: .45rem; width: 10px; height: 10px; border-radius: 50%; background: var(--ast-green); }
.ast-timeline li > span { display: block; }

/* ---------- Documents ---------- */
.ast-doc-person + .ast-doc-person { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--ast-line); }
.ast-doc-person__name { font-family: var(--ast-font-body); font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
.ast-docs { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ast-doc { border: 1px solid var(--ast-line); border-inline-start: 4px solid var(--ast-line); border-radius: var(--ast-radius-sm); padding: .75rem .9rem; background: var(--ast-white); }
.ast-doc--under_review { border-inline-start-color: var(--ast-gold); }
.ast-doc--approved { border-inline-start-color: var(--ast-green); }
.ast-doc--rejected { border-inline-start-color: var(--ast-danger); }
.ast-doc__head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin-bottom: .35rem; }
.ast-doc__upload { display: flex; gap: .5rem; flex-wrap: wrap; }
.ast-doc__upload .form-control { flex: 1 1 200px; }
.ast-doc-other { margin-top: .75rem; }
.ast-doc-other summary { cursor: pointer; color: var(--ast-green); font-weight: 600; font-size: .95rem; }

/* ---------- Visa & tickets ---------- */
.ast-subpanel { border: 1px solid var(--ast-line); border-radius: var(--ast-radius-sm); padding: .9rem 1rem; height: 100%; background: var(--ast-cream); }
.ast-ticket { background: var(--ast-white); border: 1px solid var(--ast-line); border-radius: var(--ast-radius-sm); padding: .7rem .85rem; }
.ast-ticket + .ast-ticket { margin-top: .6rem; }

/* ---------- Money ---------- */
.ast-money { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.ast-money > div { background: var(--ast-cream); border-radius: var(--ast-radius-sm); padding: .6rem .75rem; display: flex; flex-direction: column; }
.ast-money span { font-size: .8rem; color: var(--ast-muted); font-weight: 600; }
.ast-money strong { font-family: var(--ast-font-body); font-size: 1.05rem; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.ast-money__due { background: var(--ast-gold-soft) !important; }
@media (max-width: 400px) { .ast-money { grid-template-columns: 1fr; } }
.ast-paylist li { border-top: 1px solid var(--ast-line); padding: .55rem 0; }
/* Printable invoice */
.ast-invoice { max-width: 820px; margin: 1.5rem auto; background: #fff; padding: 2rem; border: 1px solid var(--ast-line); border-radius: var(--ast-radius); }
.ast-invoice__head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 2px solid var(--ast-gold); padding-bottom: 1rem; margin-bottom: 1rem; }
.ast-invoice__head img { height: 64px; }
.ast-invoice table td, .ast-invoice table th { padding: .45rem .5rem; }
@media print { .ast-invoice { border: 0; margin: 0; padding: 0; max-width: none; } body { background: #fff; } }

/* ---------- Auth (login / register) ---------- */
.ast-auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.ast-auth__brand { padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; }
.ast-auth__brand-logo { background: var(--ast-cream); border-radius: var(--ast-radius-lg); padding: .75rem 1rem; display: inline-block; align-self: flex-start; }
.ast-auth__brand-logo img { height: 72px; width: auto; display: block; }
.ast-auth__brand h1 { color: #fff; font-size: clamp(2rem, 3.4vw, 3rem); margin: 0; max-width: 14ch; }
.ast-auth__brand p { color: rgba(255,255,255,.82); max-width: 36ch; margin: 0; }
.ast-auth__brand small { color: rgba(255,255,255,.65); }
.ast-auth__main { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1.25rem; }
.ast-auth__card { width: 100%; max-width: 440px; }
.ast-auth__card h2 { margin-bottom: .25rem; }
.ast-auth__top { display: flex; justify-content: flex-end; margin-bottom: 1.5rem; }
@media (max-width: 991.98px) {
  .ast-auth { grid-template-columns: 1fr; }
  .ast-auth__brand { padding: 1.25rem 1.25rem 1.5rem; flex-direction: row; align-items: center; gap: 1rem; }
  .ast-auth__brand-logo img { height: 52px; }
  .ast-auth__brand h1 { font-size: 1.5rem; }
  .ast-auth__brand p, .ast-auth__brand small { display: none; }
  .ast-auth__main { align-items: flex-start; padding-top: 1.75rem; }
}

/* ---------- Customer account ---------- */
.ast-account-nav .nav-link { color: var(--ast-ink); border-radius: var(--ast-radius-sm); padding: .55rem .8rem; font-weight: 500; }
.ast-account-nav .nav-link.active { background: var(--ast-green); color: #fff; }
.ast-account-nav .nav-link:not(.active):hover { background: var(--ast-green-soft); }
.ast-idcard { border-radius: var(--ast-radius); padding: 1.25rem 1.5rem; }
.ast-idcard__code { font-family: var(--ast-font-body); font-weight: 700; font-size: 1.35rem; letter-spacing: .04em; color: var(--ast-gold); }

/* ---------- Admin ---------- */
.ast-admin { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.ast-admin__side { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 1.25rem .9rem; display: flex; flex-direction: column; }
.ast-admin__side .ast-auth__brand-logo img { height: 46px; }
.ast-admin__nav { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.ast-admin__nav-group { color: rgba(255,255,255,.55); font-size: .8rem; font-weight: 600; margin: 1.1rem .6rem .35rem; }
.ast-admin__nav a { display: block; color: rgba(255,255,255,.9); text-decoration: none; padding: .5rem .7rem; border-radius: var(--ast-radius-sm); font-weight: 500; }
.ast-admin__nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.ast-admin__nav a[aria-current="page"] { background: var(--ast-cream); color: var(--ast-green-deep); font-weight: 700; }
.ast-admin__user { margin-top: auto; padding: .9rem .6rem 0; border-top: 1px solid rgba(255,255,255,.15); font-size: .9rem; }
.ast-admin__user strong { display: block; color: #fff; }
.ast-admin__user span { color: rgba(255,255,255,.7); }
.ast-admin__main { padding: 1.5rem clamp(1rem, 3vw, 2.25rem) 3rem; }
.ast-admin__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.ast-admin__bar h1 { font-size: 2rem; margin: 0; }
.ast-admin__toggle { display: none; }
.ast-stat { background: var(--ast-white); border: 1px solid var(--ast-line); border-radius: var(--ast-radius); padding: 1rem 1.15rem; height: 100%; }
.ast-stat__value { font-family: var(--ast-font-body); font-size: 2rem; font-weight: 700; line-height: 1; color: var(--ast-green-deep); font-variant-numeric: tabular-nums lining-nums; }
.ast-stat__label { color: var(--ast-muted); margin-top: .35rem; font-weight: 500; }
@media (max-width: 991.98px) {
  .ast-admin { grid-template-columns: minmax(0, 1fr); }
  .ast-admin__side { position: fixed; inset-block: 0; inset-inline-start: 0; width: 264px; z-index: 1040; transform: translateX(-100%); transition: transform .2s ease; }
  [dir="rtl"] .ast-admin__side { transform: translateX(100%); }
  .ast-admin.is-open .ast-admin__side { transform: none; }
  .ast-admin__toggle { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Print ---------- */
@media print {
  .ast-header, .ast-footer, .ast-admin__side, .no-print { display: none !important; }
  body { background: #fff; }
}

/* Dashboard (step 1.9) */
.ast-worklist li + li { border-top: 1px solid var(--ast-line); }
.ast-worklist a { display: flex; align-items: center; gap: .75rem; padding: .6rem .25rem; text-decoration: none; color: inherit; font-weight: 500; }
.ast-worklist a:hover, .ast-worklist a:focus-visible { background: var(--ast-cream, #F7F7F2); }
.ast-worklist__n { min-width: 2.2rem; text-align: center; font-weight: 700; color: #fff; background: var(--ast-green); border-radius: 999px; padding: .1rem .55rem; font-variant-numeric: tabular-nums; }
.ast-meter { height: 6px; background: #EEEFE9; border-radius: 999px; overflow: hidden; }
.ast-meter span { display: block; height: 100%; background: var(--ast-gold, #C9A34A); }
.ast-report-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.ast-report-nav a { padding: .35rem .8rem; border: 1px solid var(--ast-line); border-radius: 999px; text-decoration: none; color: inherit; background: var(--ast-white, #fff); font-size: .92rem; }
.ast-report-nav a[aria-current="page"] { background: var(--ast-green); border-color: var(--ast-green); color: #fff; }
.ast-num { text-align: end; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ast-neg { color: #9B2C21; }
.ast-audit-diff { font-size: .82rem; margin: .25rem 0 0; }
.ast-audit-diff dt { font-weight: 600; }
.ast-audit-diff dd { margin: 0 0 .25rem; word-break: break-word; }

/* Customer menu: one scrollable row on phones instead of a tall list */
@media (max-width: 991.98px) {
  .ast-account-nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .35rem; scrollbar-width: thin; }
  .ast-account-nav .nav-item { flex: 0 0 auto; }
  .ast-account-nav .nav-link { white-space: nowrap; border: 1px solid var(--ast-line); background: var(--ast-white); padding: .4rem .8rem; }
  .ast-account-nav .btn-link { white-space: nowrap; padding: .4rem .6rem; }
}

/* ---------- Home page (v H1) ---------- */
.ast-home-hero { position: relative; background: var(--ast-green-deep) center / cover no-repeat; color: #fff; text-align: center; padding: clamp(3.5rem, 9vw, 7rem) 0 calc(clamp(3.5rem, 9vw, 7rem) + 90px); overflow: hidden; min-height: 520px; display: flex; align-items: center; }
.ast-home-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,40,29,.55) 0%, rgba(4,40,29,.35) 45%, rgba(4,40,29,.85) 100%); }
.ast-home-hero:not(.has-photo) .ast-home-hero__shade { background: radial-gradient(ellipse at 50% 30%, rgba(201,163,74,.18), transparent 60%); }
.ast-home-hero__sky { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 260px; }
.ast-home-hero__inner { position: relative; z-index: 1; }
.ast-home-hero__eyebrow { color: #E7CF8C; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.ast-home-hero__title { color: #fff; font-size: clamp(2.5rem, 7vw, 4.6rem); line-height: 1.05; max-width: 18ch; margin: 0 auto 1rem; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.ast-home-hero__text { font-size: clamp(1.02rem, 2.2vw, 1.2rem); color: rgba(255,255,255,.92); max-width: 52ch; margin: 0 auto 1.75rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
html[lang="ur"] .ast-home-hero__title { font-family: var(--ast-font-urdu); line-height: 1.7; font-size: clamp(1.9rem, 5vw, 3.2rem); }
.ast-home-plan-wrap { position: relative; z-index: 2; margin-top: -110px; }
.ast-home-plan { background: var(--ast-white); border-radius: var(--ast-radius-lg); box-shadow: 0 18px 44px rgba(4,64,46,.22); padding: 1.25rem 1.25rem 1.4rem; }
.ast-home-plan__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; margin-bottom: .9rem; }
.ast-home-plan__head h2 { font-size: 1.6rem; margin: 0; }
.ast-home-plan__head span { color: var(--ast-muted); font-size: .9rem; }
.ast-home-plan__grid { display: grid; grid-template-columns: 1fr; gap: .75rem; align-items: end; }
.ast-home-plan .form-label { font-weight: 600; font-size: .85rem; margin-bottom: .3rem; }
.ast-home-plan .form-select, .ast-home-plan .btn { min-height: 48px; }
@media (min-width: 576px) { .ast-home-plan__grid { grid-template-columns: 1fr 1fr; } .ast-home-plan__go { grid-column: 1 / -1; } }
@media (min-width: 992px) { .ast-home-plan__grid { grid-template-columns: repeat(4, 1fr) auto; } .ast-home-plan__go { grid-column: auto; } .ast-home-plan__go .btn { padding-inline: 1.6rem; } }
.ast-home-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; padding-top: 2rem; }
.ast-home-fact { background: var(--ast-white); border: 1px solid var(--ast-line); border-radius: var(--ast-radius); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .15rem; border-top: 3px solid var(--ast-gold); }
.ast-home-fact span:first-child { font-size: .8rem; font-weight: 600; color: var(--ast-muted); text-transform: uppercase; letter-spacing: .05em; }
html[lang="ur"] .ast-home-fact span:first-child { text-transform: none; letter-spacing: 0; }
.ast-home-fact strong { font-size: 1.35rem; color: var(--ast-green); }
.ast-home-fact__addr { font-size: 1.05rem !important; }
.ast-home-fact small { color: var(--ast-muted); }
.ast-home-gold { color: #9A7A2E; }
.ast-home-rates__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .5rem 2rem; margin-bottom: 1.25rem; }
.ast-home-rates__head p { color: var(--ast-muted); max-width: 46ch; margin: 0; }
.ast-home-rates { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 1500px) { .ast-home-rates { grid-template-columns: 1fr 1fr; } }
.ast-home-rates__card { background: var(--ast-white); border: 1px solid var(--ast-line); border-radius: var(--ast-radius-lg); overflow: hidden; overflow-x: auto; }
@media (min-width: 768px) { .ast-rc th[scope="row"] { min-width: 180px; } .ast-rc__dist { min-width: 110px; } }
.ast-home-rates__card h3 { margin: 0; padding: .8rem 1.1rem; background: var(--ast-green); color: #fff; font-size: 1.35rem; }
.ast-rc { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ast-rc th, .ast-rc td { padding: .65rem .7rem; border-bottom: 1px solid #EEEFE9; text-align: start; vertical-align: middle; }
.ast-rc thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ast-muted); background: #FAFAF6; }
html[lang="ur"] .ast-rc thead th { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.ast-rc .n { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ast-rc tbody tr:nth-child(even) { background: #FCFCF9; }
.ast-rc__name { display: block; font-weight: 600; }
.ast-rc__sub, .ast-rc__dist { color: var(--ast-muted); font-size: .82rem; font-weight: 400; }
.ast-rc__note { color: #9A7A2E; font-weight: 600; text-align: center !important; }
@media (max-width: 767.98px) {
  .ast-rc thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ast-rc, .ast-rc tbody, .ast-rc tr { display: block; }
  .ast-rc tr { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: .75rem .9rem; border-bottom: 1px solid var(--ast-line); }
  .ast-rc th, .ast-rc td { border: 0; padding: .15rem .25rem; }
  .ast-rc th[scope="row"] { grid-column: 1 / -1; }
  .ast-rc__dist { grid-column: 1 / -1; padding-bottom: .5rem !important; }
  .ast-rc td.n { text-align: center; background: #F3F4EE; border-radius: 6px; padding: .35rem .2rem; }
  .ast-rc td.n::before { content: attr(data-label); display: block; font-size: .7rem; color: var(--ast-muted); }
  .ast-rc td.ast-rc__note { grid-column: 1 / -1; }
}
.ast-home-rates__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; }
.ast-home-rates__note { color: var(--ast-muted); font-size: .9rem; margin: 0; max-width: 70ch; }
.ast-home-deps { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.ast-home-dep { background: var(--ast-cream); border: 1px solid var(--ast-line); border-radius: var(--ast-radius); padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.ast-home-dep p { margin: 0; }
.ast-home-dep__pkg { font-weight: 600; }
.ast-home-dep[style*="--ast-city-bg"] { border-top: 4px solid var(--ast-city-bg); background: var(--ast-white); }
.ast-home-dep__date { font-family: var(--ast-font-display); font-size: 1.6rem; font-weight: 700; color: var(--ast-green); }
.ast-home-dep__meta, .ast-home-dep__seats { color: var(--ast-muted); font-size: .88rem; }
.ast-home-dep .btn { margin-top: .4rem; align-self: flex-start; }

/* Home page: departures by city (one coloured box per departure airport; uploaded picture or drawn landmark) */
.ast-cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 768px) { .ast-cities { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.ast-city { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 13.5rem; padding: .9rem; overflow: hidden;
  border-radius: var(--ast-radius-lg); color: #fff; text-decoration: none; isolation: isolate; background: var(--ast-city-bg);
  background: radial-gradient(120% 90% at 85% 0%, rgba(255,255,255,.16), transparent 55%), linear-gradient(160deg, var(--ast-city-bg) 0%, color-mix(in srgb, var(--ast-city-bg) 70%, #000) 100%);
  box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--ast-city-bg) 70%, transparent); transition: transform .18s ease, box-shadow .18s ease; }
@media (min-width: 768px) { .ast-city { min-height: 16rem; padding: 1.1rem; } }
.ast-city::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 1.4px); background-size: 14px 14px; }
.ast-city::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70%; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); }
.ast-city:hover, .ast-city:focus-visible { color: #fff; transform: translateY(-3px); box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--ast-city-bg) 80%, transparent); }
.ast-city:focus-visible { outline: 3px solid var(--ast-gold); outline-offset: 2px; }
.ast-city__art { position: absolute; z-index: -2; inset: .5rem 0 auto 0; width: 100%; height: 58%; color: rgba(255,255,255,.22); }
.ast-city__img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ast-city--photo::before { display: none; }
.ast-city--photo::after { height: 85%; background: linear-gradient(to top, color-mix(in srgb, var(--ast-city-bg) 85%, #000) 0%, color-mix(in srgb, var(--ast-city-bg) 45%, transparent) 55%, transparent); }
.ast-city__body { display: flex; flex-direction: column; gap: .15rem; }
.ast-city__from { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ast-gold-soft); opacity: .9; }
.ast-city__name { font-family: var(--ast-font-display); font-weight: 700; font-size: 1.65rem; line-height: 1.05; overflow-wrap: anywhere; }
@media (min-width: 768px) { .ast-city__name { font-size: 2rem; } }
.ast-city__meta { font-size: .8rem; opacity: .92; }
.ast-city__cta { margin-top: .55rem; align-self: flex-start; display: inline-flex; gap: .35rem; align-items: center; font-size: .82rem; font-weight: 600;
  padding: .3rem .7rem; border-radius: 999px; background: var(--ast-gold); color: var(--ast-ink); }
.ast-city:hover .ast-city__arrow { transform: translateX(3px); }
.ast-city__arrow { transition: transform .18s ease; display: inline-block; }
[dir="rtl"] .ast-city__arrow { transform: scaleX(-1); }
[dir="rtl"] .ast-city:hover .ast-city__arrow { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .ast-city__from { letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) { .ast-city, .ast-city__arrow { transition: none; } .ast-city:hover { transform: none; } }

/* Departures page: city tabs */
.ast-city-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.1rem; }
.ast-city-tabs a { --ast-city-bg: var(--ast-green); display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: 999px;
  border: 1px solid var(--ast-line); background: var(--ast-white); color: var(--ast-ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.ast-city-tabs a:hover { border-color: var(--ast-city-bg); color: var(--ast-city-bg); }
.ast-city-tabs a[aria-current="page"] { background: var(--ast-city-bg); border-color: var(--ast-city-bg); color: #fff; }
.ast-city-tabs__n { font-size: .75rem; font-weight: 600; padding: 0 .4rem; border-radius: 999px; background: color-mix(in srgb, currentColor 15%, transparent); }
.ast-home-how { background: var(--ast-green); color: #fff; border-radius: var(--ast-radius-lg); padding: clamp(1.5rem, 4vw, 2.75rem); }
.ast-home-how h2 { color: #fff; }
.ast-home-how__intro { color: rgba(255,255,255,.85); max-width: 60ch; }
.ast-home-how__steps { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; counter-reset: s; }
.ast-home-how__steps li { counter-increment: s; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--ast-radius); padding: 1rem; display: flex; flex-direction: column; gap: .3rem; }
.ast-home-how__steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--ast-gold); color: var(--ast-ink); font-weight: 700; display: grid; place-items: center; }
.ast-home-how__steps span { color: rgba(255,255,255,.82); font-size: .92rem; }
.ast-home-faq { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 992px) { .ast-home-faq { grid-template-columns: 1fr 1.6fr; } }
.ast-home-faq__list details { background: var(--ast-white); border: 1px solid var(--ast-line); border-radius: var(--ast-radius); margin-bottom: .6rem; }
.ast-home-faq__list summary { cursor: pointer; padding: .9rem 1rem; font-weight: 600; min-height: 48px; }
.ast-home-faq__list details > div { padding: 0 1rem .6rem; color: var(--ast-muted); }
.ast-home-office { display: grid; grid-template-columns: 1fr; gap: 1rem; background: var(--ast-white); border: 1px solid var(--ast-line); border-radius: var(--ast-radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 768px) { .ast-home-office { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.ast-home-office__map { display: grid; place-items: center; min-height: 140px; border-radius: var(--ast-radius); background: var(--ast-green-soft) repeating-linear-gradient(45deg, transparent 0 14px, rgba(7,92,66,.06) 14px 28px); color: var(--ast-green); font-weight: 700; text-decoration: none; }
.ast-home-office__map:hover span { text-decoration: underline; }
.ast-wa-float { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 1030; width: 58px; height: 58px; border-radius: 50%; background: #1F8A5B; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.ast-wa-float:hover { background: #17724A; }
@media print { .ast-wa-float, .ast-home-plan-wrap { display: none; } }

/* ---------- Voucher check page (QR) ---------- */
.ast-verify { display: flex; gap: 1rem; align-items: center; border-radius: var(--ast-radius-lg); padding: 1.25rem 1.4rem; margin-bottom: 1rem; border: 2px solid; }
.ast-verify--ok { background: var(--ast-green-soft); border-color: var(--ast-green); }
.ast-verify--warn { background: var(--ast-gold-soft); border-color: #9A6A00; }
.ast-verify--bad { background: #FBE9E7; border-color: var(--ast-danger); }
.ast-verify__icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; font-weight: 700; color: #fff; background: var(--ast-green); }
.ast-verify--warn .ast-verify__icon { background: #9A6A00; }
.ast-verify--bad .ast-verify__icon { background: var(--ast-danger); }
.ast-verify__title { font-size: 1.7rem; margin: 0 0 .2rem; }
.ast-verify__dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; margin: 0; }
.ast-verify__dl dt { color: var(--ast-muted); font-weight: 600; }
.ast-verify__dl dd { margin: 0; }

/* ---------- Agent portal ---------- */
.ast-agent-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.ast-agent-stats .ast-stat--main { grid-column: 1 / -1; background: var(--ast-green); color: #fff; }
.ast-agent-stats .ast-stat--main .ast-stat__label, .ast-agent-stats .ast-stat--main .small { color: rgba(255,255,255,.85); }
.ast-agent-stats .ast-stat--main .ast-stat__value { color: #fff; font-size: 2rem; }
@media (min-width: 992px) { .ast-agent-stats { grid-template-columns: repeat(5, 1fr); } }
.ast-agent-bookings li + li { border-top: 1px solid var(--ast-line); }
.ast-agent-bk { display: flex; flex-direction: column; gap: .15rem; padding: .75rem .25rem; color: inherit; text-decoration: none; }
.ast-agent-bk:hover { background: #FAFAF6; }
.ast-agent-bk__top { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.ast-agent-bk__names { font-weight: 600; }
.ast-agent-bk__meta, .ast-agent-bk__money { font-size: .88rem; color: var(--ast-muted); }
.ast-agent-box { border-inline-start: 4px solid var(--ast-gold); }
.ast-agent-stats .ast-stat:not(.ast-stat--main) .ast-stat__value { font-size: 1.35rem; }
.ast-admin__main h1 { overflow-wrap: anywhere; }
.ast-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1.5rem; }
.ast-footer__dev a { color: #E7CF8C; }
@media (max-width: 767.98px) { .ast-footer__base { padding-bottom: 72px; } }
