/* =====================================================================
   Jain Vadhu-Var portal - site theme
   Built on tokens.css (the design system of the live site). Use the semantic roles
   (--color-*, --space-*, --radius-*, --shadow-*, --text-*); do not write raw hex values here.
   Order: base - buttons - header - notice - hero - sections (home) - footer - auth/forms - wizard - browse - pass - receipt - smart match
   ===================================================================== */
* { -webkit-tap-highlight-color: transparent; }
body {
    font-family: var(--font-body);
    background: var(--color-canvas); color: var(--color-text);
    line-height: var(--leading-body);
    font-variant-numeric: lining-nums;
}
a { color: var(--color-action); }
a:hover { color: var(--color-action-hover); }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-weight: 700; line-height: var(--leading-tight); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }

/* ---------------- Bootstrap component bridge: nothing may fall back to Bootstrap blue ---------------- */
.pagination {
    --bs-pagination-color: var(--color-action); --bs-pagination-hover-color: var(--color-action-hover); --bs-pagination-hover-bg: var(--color-surface-sand);
    --bs-pagination-hover-border-color: var(--color-line-strong); --bs-pagination-focus-color: var(--color-action-hover); --bs-pagination-focus-bg: var(--color-surface-sand);
    --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(134, 28, 18, .18); --bs-pagination-active-bg: var(--color-action); --bs-pagination-active-border-color: var(--color-action);
    --bs-pagination-active-color: #fff; --bs-pagination-border-color: var(--color-line); --bs-pagination-border-radius: var(--radius-lg);
}
.btn-primary { --bs-btn-bg: var(--color-action); --bs-btn-border-color: var(--color-action); --bs-btn-hover-bg: var(--color-action-hover); --bs-btn-hover-border-color: var(--color-action-hover);
               --bs-btn-active-bg: var(--color-action-hover); --bs-btn-active-border-color: var(--color-action-hover); --bs-btn-focus-shadow-rgb: 134, 28, 18; --bs-btn-disabled-bg: var(--color-action); --bs-btn-disabled-border-color: var(--color-action); }
.btn-outline-primary { --bs-btn-color: var(--color-action); --bs-btn-border-color: var(--color-action); --bs-btn-hover-bg: var(--color-action); --bs-btn-hover-border-color: var(--color-action);
                       --bs-btn-active-bg: var(--color-action); --bs-btn-active-border-color: var(--color-action); --bs-btn-focus-shadow-rgb: 134, 28, 18; }
.bg-primary { background-color: var(--color-action) !important; }
.text-primary { color: var(--color-action) !important; }
.border-primary { border-color: var(--color-action) !important; }
/* "info" boxes are neutral notes in this portal: warm sand instead of cold blue */
.alert-info { --bs-alert-color: var(--neutral-800); --bs-alert-bg: var(--color-surface-sand); --bs-alert-border-color: var(--color-line-strong); --bs-alert-link-color: var(--color-action); }
.alert-warning { --bs-alert-color: var(--bronze-800); --bs-alert-bg: var(--bronze-50); --bs-alert-border-color: var(--bronze-200); --bs-alert-link-color: var(--bronze-700); }
.table { --bs-table-hover-bg: var(--color-surface-warm); --bs-table-striped-bg: var(--color-surface-warm); }
.form-check-input:focus { border-color: var(--color-action); }
.accordion-button:not(.collapsed) { color: var(--color-action); background-color: var(--color-surface-warm); }

/* ---------------- buttons ---------------- */
.btn { font-weight: 600; border-radius: var(--radius-lg); }
.btn-maroon { background: var(--color-action); border-color: var(--color-action); color: #fff; }
.btn-maroon:hover, .btn-maroon:focus { background: var(--color-action-hover); border-color: var(--color-action-hover); color: #fff; }
.btn-outline-maroon { color: var(--color-action); border: 1.5px solid var(--color-action); background: var(--color-canvas); }
.btn-outline-maroon:hover, .btn-check:checked + .btn-outline-maroon { background: var(--color-action); color: #fff; border-color: var(--color-action); }
/* the one call to action: saffron with dark text (white on saffron is only 3.7:1) */
.btn-saffron { background: var(--color-cta); border-color: var(--color-cta); color: var(--color-on-cta); }
.btn-saffron:hover, .btn-saffron:focus { background: var(--color-cta-hover); border-color: var(--color-cta-hover); color: var(--color-on-cta); }
.btn-saffron:disabled { background: var(--neutral-300); border-color: var(--neutral-300); color: var(--neutral-700); opacity: 1; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); }
.btn-ghost:hover, .btn-ghost:focus { background: rgba(255, 255, 255, .15); color: #fff; border-color: #fff; }
.btn-header { padding: .4rem 1rem; }
.btn-lang { border: 1px solid var(--color-line); color: var(--color-action); background: var(--color-canvas); font-weight: 700; min-width: 3rem; }
.btn-lang:hover { background: var(--color-surface-sand); color: var(--color-action); }

/* ---------------- header ---------------- */
.site-header { background: var(--gradient-cream); border-bottom: 1px solid var(--color-line); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1030; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: .6rem; padding-bottom: .6rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--color-action); min-width: 0; }
.brand-logo { width: 56px; height: 56px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-org { font-size: var(--text-xs); font-weight: 600; color: var(--brand-800); }
.brand-title { font-size: 1.25rem; font-weight: 700; color: var(--color-action); }
.brand-sub { font-size: var(--text-xs); color: var(--color-accent-text); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.header-contact { font-size: var(--text-xs); text-align: right; line-height: 1.5; color: var(--color-text-muted); }
.header-contact a { color: var(--color-text); text-decoration: none; }
@media (max-width: 575.98px) {
    .brand-logo { width: 44px; height: 44px; }
    .brand-title { font-size: 1.05rem; }
    .brand-sub { display: none; }
    .header-actions { width: 100%; justify-content: flex-end; }
}

/* ---------------- notice ticker ---------------- */
.notice-bar { background: var(--gradient-gold); color: var(--brand-800); font-size: var(--text-sm); font-weight: 600; border-bottom: 1px solid var(--bronze-200); }
.notice-label { background: var(--color-action); color: #fff; border-radius: var(--radius-pill); padding: .15rem .8rem; font-size: var(--text-xs); font-weight: 700; white-space: nowrap; }
.ticker { overflow: hidden; white-space: nowrap; }
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; flex: 0 0 auto; min-width: 100%; gap: 3rem; padding-right: 3rem; }
.ticker-item { flex: 0 0 auto; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .ticker { white-space: normal; }
    .ticker-track { animation: none; width: auto; }
    .ticker-group[aria-hidden="true"] { display: none; }
    .ticker-group { flex-wrap: wrap; gap: .25rem 1.5rem; }
}

/* ---------------- hero: headline left, the melava date as a seal on the invitation card right ---------------- */
.hero-section {
    position: relative; color: #fff; overflow: hidden;
    background: linear-gradient(155deg, var(--color-deep) 0%, var(--brand-800) 55%, var(--brand-700) 100%);
}
.hero-section::before { content: ""; position: absolute; inset: 0; background: url('/img/hero-pattern.svg') right center / cover no-repeat; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: var(--space-8); align-items: center; padding-top: var(--space-9); padding-bottom: var(--space-9); position: relative; z-index: 1; }
.hero-title { font-size: clamp(1.95rem, 4.2vw, 3.1rem); line-height: 1.3; margin-bottom: var(--space-4); max-width: 22ch; }
.hero-desc { font-size: var(--text-lg); color: rgba(255, 255, 255, .9); max-width: 34rem; margin-bottom: 0; }
.hero-facts { display: flex; flex-wrap: wrap; row-gap: var(--space-3); margin: var(--space-6) 0; padding: 0; }
.hero-fact { padding-right: var(--space-6); margin-right: var(--space-6); border-right: 1px solid rgba(255, 255, 255, .3); }
.hero-fact:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-fact dt { margin: 0; font-size: var(--text-xs); font-weight: 600; color: var(--bronze-200); }
.hero-fact dd { margin: 0; font-size: var(--text-lg); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-status { margin-top: var(--space-5); display: inline-block; padding: .45rem .9rem; border-left: 3px solid var(--color-cta); background: rgba(255, 255, 255, .1); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; font-weight: 600; }
.hero-status.urgent { background: rgba(232, 93, 4, .28); border-left-color: var(--ember); }

.hero-invite { width: 100%; max-width: 22rem; justify-self: center; position: relative; }
.date-seal {
    position: relative; z-index: 2; width: 10.5rem; height: 10.5rem; margin: 0 auto -5.25rem; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff;
    background: radial-gradient(circle at 30% 22%, var(--brand-500), var(--brand-700) 58%, var(--color-deep));
    box-shadow: 0 0 0 4px var(--gold), 0 14px 34px rgba(0, 0, 0, .4);
}
.date-seal::before { content: ""; position: absolute; inset: .6rem; border-radius: 50%; border: 1.5px dashed var(--bronze-200); }
.seal-kicker { font-size: var(--text-xs); font-weight: 600; color: var(--bronze-100); line-height: 1.3; }
.seal-day { font-size: 3.4rem; font-weight: 700; line-height: 1.05; }
.seal-month { font-size: 1.05rem; font-weight: 700; line-height: 1.2; }
.seal-year { font-size: var(--text-sm); color: var(--bronze-100); line-height: 1.3; }
.hero-card { background: var(--color-surface); color: var(--color-text); border-radius: var(--radius-2xl); padding: calc(5.25rem + var(--space-4)) var(--space-6) var(--space-6); text-align: center; box-shadow: var(--shadow-pop); }
.hero-card.no-seal { padding-top: var(--space-6); }
.seal-note { font-weight: 600; font-size: var(--text-sm); color: var(--color-accent-text); margin: 0 0 var(--space-4); }
.hero-card h2 { color: var(--color-action); }
@media (max-width: 991.98px) {
    .hero-grid { grid-template-columns: 1fr; gap: var(--space-8); padding-top: var(--space-8); padding-bottom: var(--space-8); }
    .hero-title { max-width: none; }
    .hero-invite { max-width: 28rem; margin-top: var(--space-4); }
}

/* ---------------- info strip (form pages) ---------------- */
.info-strip { background: linear-gradient(90deg, var(--brand-800), var(--color-action)); color: #fff; font-size: var(--text-sm); padding: .6rem 0; text-align: center; }
.info-dot { display: inline-flex; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--gold); color: var(--color-deep); align-items: center; justify-content: center; font-weight: 800; margin-right: .35rem; }

/* ---------------- sections ---------------- */
.section-head { max-width: 40rem; margin-bottom: var(--space-7); }
.section-head h2 { color: var(--color-action); font-size: clamp(1.5rem, 2.6vw, 2.03rem); margin-bottom: var(--space-2); }
.section-head p { color: var(--color-text-muted); margin-bottom: 0; }
.eyebrow { display: block; color: var(--color-accent-text); font-size: var(--text-xs); font-weight: 700; margin-bottom: .2rem; }
.section-title { color: var(--color-action); font-weight: 700; }
.band { padding: var(--space-9) 0; }
.band-warm { background: var(--color-surface-warm); }

/* shared: a row of connected stops (key dates, how it works) */
.timeline, .how-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.how-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tl-item, .hs-item { position: relative; text-align: center; padding: 0 var(--space-3); }
.tl-dot, .hs-no {
    position: relative; z-index: 1; width: 2.25rem; height: 2.25rem; margin: 0 auto var(--space-3); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: var(--text-sm);
    background: var(--color-canvas); border: 2px solid var(--color-line-strong); color: var(--color-text-muted);
}
.tl-item::before, .tl-item::after, .hs-item::before, .hs-item::after { content: ""; position: absolute; top: calc(1.125rem - 1.5px); width: 50%; height: 3px; background: var(--color-line-strong); }
.tl-item::before, .hs-item::before { left: 0; }
.tl-item::after, .hs-item::after { right: 0; }
.tl-item:first-child::before, .tl-item:last-child::after, .hs-item:first-child::before, .hs-item:last-child::after { display: none; }
.tl-label { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 600; }
.tl-date { font-size: var(--text-lg); font-weight: 700; color: var(--color-text); }
.tl-state { font-size: var(--text-sm); color: var(--color-accent-text); font-weight: 600; }
.tl-item.is-done .tl-dot { background: var(--color-action); border-color: var(--color-action); color: #fff; }
.tl-item.is-done .tl-dot::before { content: "\2713"; }
.tl-item.is-done::before, .tl-item.is-done::after, .tl-item.is-now::before { background: var(--color-action); }
.tl-item.is-now .tl-dot { border-color: var(--color-cta); box-shadow: 0 0 0 5px rgba(232, 93, 4, .2); color: var(--color-text); }
.tl-item.is-now .tl-dot::before { content: "\25CF"; color: var(--color-cta); }
.tl-item.is-event .tl-dot { background: var(--color-cta); border-color: var(--color-cta); color: var(--color-on-cta); }
.tl-item.is-event .tl-dot::before { content: "\2605"; }
.tl-item.is-event .tl-date { color: var(--color-action); }
.hs-no { background: var(--color-action); border-color: var(--color-action); color: #fff; box-shadow: var(--shadow-ring); }
.hs-item h3 { font-size: var(--text-md); color: var(--color-action); margin-bottom: .25rem; }
.hs-item p { color: var(--color-text-muted); font-size: var(--text-sm); margin: 0; }
@media (max-width: 991.98px) { .how-steps { grid-template-columns: 1fr; } }
@media (max-width: 991.98px), (max-width: 767.98px) {
    .how-steps .hs-item { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: var(--space-4); text-align: left; padding: 0 0 var(--space-6); }
    .how-steps .hs-no { margin: 0; grid-row: 1 / span 2; }
    .how-steps .hs-item::before { display: none; }
    .how-steps .hs-item::after { left: calc(1.125rem - 1.5px); right: auto; top: 1.125rem; bottom: -1.125rem; width: 3px; height: auto; }
    .how-steps .hs-item:last-child::after { display: none; }
}
@media (max-width: 767.98px) {
    .timeline { grid-template-columns: 1fr; }
    .tl-item { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: var(--space-4); text-align: left; padding: 0 0 var(--space-6); }
    .tl-dot { margin: 0; grid-row: 1 / span 3; }
    .tl-item::before { display: none; }
    .tl-item::after { left: calc(1.125rem - 1.5px); right: auto; top: 1.125rem; bottom: -1.125rem; width: 3px; height: auto; }
    .tl-item:last-child::after { display: none; }
}

.venue-row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); flex-wrap: wrap; margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--color-line); }
.venue-name { font-size: var(--text-xl); font-weight: 700; color: var(--color-text); margin: 0; }
.venue-addr { color: var(--color-text-muted); margin: 0; max-width: 36rem; }

/* what the portal gives: ruled list, not cards */
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-8); border-top: 1px solid var(--color-line-strong); }
.feature { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: var(--space-4); padding: var(--space-6) 0; border-bottom: 1px solid var(--color-line-strong); }
.feature-ico { width: 2.75rem; height: 2.75rem; border-radius: var(--radius-xl); background: var(--color-canvas); color: var(--color-action); display: flex; align-items: center; justify-content: center; border: 1px solid var(--color-line-strong); }
.feature-ico svg { width: 1.5rem; height: 1.5rem; }
.feature h3 { font-size: var(--text-lg); color: var(--color-action); margin: 0 0 .25rem; }
.feature p { margin: 0; color: var(--color-text-muted); max-width: 34rem; }
@media (max-width: 767.98px) { .feature-grid { grid-template-columns: 1fr; } }

.cta-band { background: var(--color-deep); color: #fff; padding: var(--space-8) 0; margin-bottom: -3rem; }   /* the footer has mt-5 (3rem): pull it up so the two dark bands touch */
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.cta-inner h2 { font-size: var(--text-2xl); margin: 0 0 .25rem; }
.cta-inner p { margin: 0; color: var(--bronze-100); }

/* ---------------- footer ---------------- */
.site-footer { background: var(--color-deep); color: #fff; }
.site-footer a { color: var(--neutral-100); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-head { color: var(--bronze-300); font-weight: 700; font-size: var(--text-sm); margin-bottom: .75rem; }
.site-footer ul li { margin-bottom: .4rem; }
.footer-logo { width: 56px; height: 56px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .72); }

/* ---------------- auth + form cards ---------------- */
.auth-wrap { background: linear-gradient(180deg, var(--color-surface-warm), var(--color-canvas)); padding: 3.5rem 0; }
.auth-card { max-width: 26rem; margin: 0 auto; background: var(--color-surface); border-radius: var(--radius-2xl); padding: 2.25rem var(--space-7) var(--space-6); box-shadow: var(--shadow-lg); border: 1px solid var(--color-line); }
.auth-icon { width: 3.6rem; height: 3.6rem; margin: -3.4rem auto var(--space-4); border-radius: 50%; background: var(--color-surface-sand); border: 4px solid var(--color-surface); display: flex; align-items: center; justify-content: center; font-size: var(--text-2xl); box-shadow: var(--shadow-md); }
.auth-card h1 { color: var(--color-action); font-size: var(--text-2xl); text-align: center; margin-bottom: .25rem; }
.auth-sub { text-align: center; color: var(--color-text-muted); font-size: var(--text-sm); }
.auth-foot { text-align: center; color: var(--color-text-muted); font-size: var(--text-xs); margin-top: var(--space-4); }
.input-icon { position: relative; display: flex; align-items: center; }
.input-icon > span { position: absolute; left: .85rem; opacity: .6; pointer-events: none; }
.input-icon > span + .form-control { padding-left: 2.4rem; }
.input-icon .form-control { padding-right: 4.2rem; }
.btn-reveal { position: absolute; right: .5rem; background: none; border: 0; color: var(--color-action); font-size: var(--text-xs); font-weight: 700; padding: .25rem .5rem; }

.auth-wrap-wide { padding-top: 2.5rem; }
.form-card { max-width: 56rem; margin: 0 auto; background: var(--color-surface); border-radius: var(--radius-2xl); border: 1px solid var(--color-line); box-shadow: var(--shadow-lg); overflow: hidden; }
.form-card-head { text-align: center; padding: var(--space-7) var(--space-6) var(--space-5); background: linear-gradient(180deg, var(--color-surface-warm), var(--color-canvas)); border-bottom: 1px solid var(--color-line); }
.form-card-head h1 { color: var(--color-action); font-size: 1.7rem; margin: .4rem 0 .25rem; }
.form-card-head p { color: var(--color-text-muted); margin: 0; font-size: var(--text-sm); }
.fee-chip { display: inline-block; margin-left: .5rem; background: var(--color-surface-sand); color: var(--color-action); border-radius: var(--radius-pill); padding: .1rem .7rem; font-weight: 700; font-size: var(--text-xs); }
.form-card-body { padding: var(--space-6); }
.form-block { border: 1px solid var(--color-line); border-radius: var(--radius-2xl); padding: var(--space-5); margin-bottom: var(--space-5); background: var(--color-surface); }
.block-head { display: flex; align-items: center; gap: .85rem; margin-bottom: var(--space-4); }
.block-head h2 { font-size: 1.05rem; color: var(--color-action); margin: 0; }
.block-head small { color: var(--color-text-muted); }
.block-icon { width: 2.6rem; height: 2.6rem; border-radius: var(--radius-xl); background: var(--color-surface-sand); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; border-top: 1px solid var(--color-line); padding-top: 1.1rem; }
.gender-pick { display: flex; gap: .5rem; flex-wrap: wrap; }
.gender-pick .btn { flex: 1 1 8rem; }
.step-badge { display: inline-block; background: var(--brand-50); color: var(--color-action); border-radius: var(--radius-pill); padding: .12rem .8rem; font-size: var(--text-xs); font-weight: 700; margin-bottom: .5rem; }
.form-control, .form-select { border-radius: var(--radius-lg); border-color: var(--color-line-strong); padding-top: .55rem; padding-bottom: .55rem; background-color: var(--color-surface); }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--color-action); box-shadow: 0 0 0 .2rem rgba(134, 28, 18, .18); }
.form-check-input:checked { background-color: var(--color-action); border-color: var(--color-action); }
.form-label { font-weight: 600; font-size: var(--text-sm); }
.form-section { font-size: .95rem; font-weight: 700; color: var(--color-action); border-bottom: 1px solid var(--color-line); padding-bottom: .35rem; margin: var(--space-4) 0 var(--space-3); }

/* ---------------- dashboard / review cards ---------------- */
.info-card { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-xl); padding: var(--space-4); height: 100%; box-shadow: var(--shadow-sm); }
.info-card .label { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 600; }
.info-card .value { font-weight: 700; color: var(--color-action); font-size: 1.1rem; }
/* numbered step lists (dashboard): number, text on the left, action on the right */
.list-group-numbered > .list-group-item { justify-content: flex-start !important; gap: .75rem; }
.list-group-numbered > .list-group-item > :last-child { margin-left: auto; }
.policy-text { white-space: pre-line; line-height: 1.75; }
.review dt { font-weight: 600; color: var(--color-text-muted); }
.review dd { margin-bottom: .4rem; }
.text-pre { white-space: pre-line; }
.border-maroon { border-color: var(--color-action) !important; }

/* ---------------- profile wizard ---------------- */
.profile-steps { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.profile-steps li { flex: 1 1 0; min-width: 4.5rem; text-align: center; font-size: var(--text-xs); }
.profile-steps a { text-decoration: none; }
.profile-steps .no { display: inline-flex; align-items: center; justify-content: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--neutral-200); color: var(--neutral-700); font-weight: 700; }
.profile-steps .lbl { display: block; color: var(--neutral-700); margin-top: .2rem; }
.profile-steps li.done .no { background: var(--success); color: #fff; }
.profile-steps li.active .no { background: var(--color-action); color: #fff; box-shadow: 0 0 0 3px rgba(134, 28, 18, .2); }
.profile-steps li.active .lbl { color: var(--color-action); font-weight: 700; }
.photo-card { position: relative; border: 1px solid var(--color-line); border-radius: var(--radius-xl); overflow: hidden; background: var(--color-surface); }
.photo-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: var(--color-surface-sand); }
.photo-badge { position: absolute; top: .5rem; left: .5rem; }
.photo-preview { max-width: 180px; border-radius: var(--radius-lg); }
.photo-thumb { width: 96px; height: 128px; object-fit: cover; border: 1px solid var(--color-line); }

/* ---------------- browse profiles ---------------- */
.profile-card { display: block; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-xl); overflow: hidden; text-decoration: none; color: var(--color-text); height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.profile-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--color-text); }
.profile-card-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: var(--color-surface-sand); }
.profile-card-noimg { display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.profile-card-body { padding: .75rem .9rem 1rem; }
.profile-card-name { font-weight: 700; color: var(--color-action); }

/* ---------------- entry pass (candidate) ---------------- */
.pass-card { max-width: 24rem; margin: 0 auto; background: var(--color-surface); border: 2px solid var(--color-action); border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.pass-head { display: flex; align-items: center; gap: .75rem; background: linear-gradient(90deg, var(--color-deep), var(--color-action)); color: #fff; padding: .85rem var(--space-4); }
.pass-event { font-weight: 700; line-height: 1.3; }
.pass-sub { font-size: var(--text-xs); opacity: .9; }
.pass-body { padding: var(--space-5) var(--space-5) var(--space-4); text-align: center; }
.pass-label { display: inline-block; background: var(--color-cta); color: var(--color-on-cta); border-radius: var(--radius-pill); padding: .1rem .8rem; font-size: var(--text-2xs); font-weight: 700; }
.pass-name { font-size: 1.35rem; font-weight: 700; color: var(--color-action); margin-top: .5rem; }
.pass-reg { font-weight: 700; letter-spacing: .06em; color: var(--color-text-muted); }
.pass-qr { width: 15rem; height: 15rem; margin: var(--space-4) auto; padding: .4rem; background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-xl); }
.pass-qr svg { width: 100%; height: 100%; display: block; }
.pass-meta { display: flex; justify-content: space-around; gap: var(--space-4); border-top: 1px dashed var(--color-line-strong); padding-top: .75rem; }
.pass-meta small { display: block; color: var(--color-text-muted); font-size: var(--text-xs); }
.pass-note { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: .75rem; }
.pass-foot { background: var(--color-surface-warm); text-align: center; font-size: var(--text-xs); padding: .5rem; border-top: 1px solid var(--color-line); }

/* ---------------- stall screen ---------------- */
.stall-wrap { max-width: 34rem; margin: 0 auto; }
.stall-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.scan-video { width: 100%; border-radius: var(--radius-xl); background: #000; margin-bottom: .5rem; max-height: 22rem; object-fit: cover; }
.scan-photo { width: 84px; height: 112px; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--color-line); }
.verdict { text-align: center; font-weight: 800; font-size: 1.3rem; letter-spacing: .04em; padding: .8rem; border-radius: var(--radius-xl); margin-bottom: var(--space-4); }
.verdict-ok { background: color-mix(in srgb, var(--success) 16%, white); color: color-mix(in srgb, var(--success) 70%, black); border: 2px solid var(--success); }
.verdict-bad { background: color-mix(in srgb, var(--danger) 14%, white); color: color-mix(in srgb, var(--danger) 70%, black); border: 2px solid var(--danger); }
.report-tile { border: 1px solid var(--color-line); border-radius: var(--radius-xl); padding: .9rem var(--space-4); background: var(--color-surface); }
.ad-preview { max-width: 100%; max-height: 90px; border-radius: 6px; border: 1px solid var(--color-line); }
.ad-empty { border: 1px dashed var(--color-line-strong); border-radius: 6px; padding: var(--space-4); text-align: center; color: var(--color-text-muted); font-size: var(--text-sm); }

@media print {
    .no-print, .site-header, .site-footer, .notice-bar { display: none !important; }
    body { background: #fff !important; }
    .pass-card { box-shadow: none; }
}

/* ---------------- payment receipt ---------------- */
.text-maroon { color: var(--color-action) !important; }
.receipt-card { background: var(--color-surface); border: 2px solid var(--color-action); border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.receipt-head { background: linear-gradient(90deg, var(--color-deep), var(--color-action)); color: #fff; padding: var(--space-4) var(--space-5); }
.receipt-body { padding: var(--space-5); }
.receipt-label { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 700; }
.receipt-amount { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; background: var(--color-surface-warm); border: 1px solid var(--color-line); border-radius: var(--radius-xl); padding: .8rem var(--space-4); }
.receipt-amount span:first-child { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 700; }
.receipt-amount strong { font-size: 1.7rem; color: var(--color-action); margin-right: auto; }

/* ---------------- UPI payment box ---------------- */
.upi-box { scroll-margin-top: 90px; }
.upi-qr { width: 12rem; height: 12rem; margin: 0 auto .6rem; }
.upi-qr-img { display: block; max-width: 14rem; width: 100%; height: auto; margin: 0 auto .6rem; border: 1px solid var(--color-line); border-radius: var(--radius-xl); background: #fff; }

/* ===================== Smart match (compatibility, Guna Milan) ===================== */
.match-badge { display: inline-flex; align-items: center; gap: .25rem; padding: .12rem .55rem; border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 700; line-height: 1.5; color: #fff; background: var(--band-none); white-space: nowrap; }
.match-badge-lg { font-size: var(--text-xl); padding: .25rem .9rem; }
.match-badge.band-excellent { background: var(--band-excellent); }
.match-badge.band-good { background: var(--band-good); }
.match-badge.band-fair { background: var(--band-fair); }
.match-badge.band-low { background: var(--band-low); }
.match-badge.band-none { background: var(--band-none); }

progress.match-bar { flex: 1 1 auto; width: 100%; height: .8rem; border: 0; border-radius: var(--radius-pill); overflow: hidden; background: var(--color-surface-sand); accent-color: var(--band-none); -webkit-appearance: none; appearance: none; }
progress.match-bar::-webkit-progress-bar { background: var(--color-surface-sand); border-radius: var(--radius-pill); }
progress.match-bar::-webkit-progress-value { background: var(--band-none); border-radius: var(--radius-pill); }
progress.match-bar::-moz-progress-bar { background: var(--band-none); border-radius: var(--radius-pill); }
progress.match-bar.band-excellent::-webkit-progress-value { background: var(--band-excellent); } progress.match-bar.band-excellent::-moz-progress-bar { background: var(--band-excellent); }
progress.match-bar.band-good::-webkit-progress-value { background: var(--band-good); }           progress.match-bar.band-good::-moz-progress-bar { background: var(--band-good); }
progress.match-bar.band-fair::-webkit-progress-value { background: var(--band-fair); }           progress.match-bar.band-fair::-moz-progress-bar { background: var(--band-fair); }
progress.match-bar.band-low::-webkit-progress-value { background: var(--band-low); }             progress.match-bar.band-low::-moz-progress-bar { background: var(--band-low); }
.match-pct { min-width: 3rem; text-align: right; }

.fit-chip { display: inline-block; min-width: 1.1rem; font-weight: 700; }
.fit-row { display: flex; flex-wrap: wrap; gap: .15rem .5rem; font-size: var(--text-xs); }
.fit-match { color: var(--band-excellent); } .fit-close { color: var(--band-fair); } .fit-miss { color: var(--band-low); } .fit-unknown { color: var(--band-none); }
.fit-list li { margin-bottom: .25rem; }

.koota-table th, .koota-table td { padding-top: .35rem; padding-bottom: .35rem; }
.mangal-chip { display: inline-block; padding: .15rem .6rem; border-radius: var(--radius-pill); font-size: var(--text-xs); background: var(--color-surface-sand); color: var(--neutral-800); }
.mangal-ok { background: color-mix(in srgb, var(--success) 16%, white); color: color-mix(in srgb, var(--success) 70%, black); }
.mangal-minor { background: var(--bronze-50); color: var(--bronze-700); }
.mangal-caution { background: color-mix(in srgb, var(--danger) 14%, white); color: color-mix(in srgb, var(--danger) 70%, black); }
.mangal-unknown { background: var(--color-surface-sand); color: var(--neutral-700); }

.pair-photo { width: 80px; height: 100px; object-fit: cover; border-radius: var(--radius-lg); background: var(--color-surface-sand); flex: 0 0 auto; }
.pair-photo-none { display: flex; align-items: center; justify-content: center; font-size: 2rem; }

/* ===================== Step 23: trust and safety ===================== */
.badge-verified { display: inline-flex; align-items: center; gap: .25rem; padding: .1rem .55rem; border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 700; line-height: 1.5; color: #fff; background: var(--band-excellent); white-space: nowrap; }
.safety-row { border-top: 1px dashed var(--color-line-strong); margin-top: var(--space-3); padding-top: var(--space-3); }
.trust-panel { border-left: 4px solid var(--band-excellent); }
.trust-panel.is-hidden { border-left-color: var(--band-low); }

/* ===================== Step 31: field code (M-014) and time slot ===================== */
.field-code-badge { display: inline-block; padding: .05rem .6rem; border-radius: var(--radius-pill); background: var(--color-action); color: #fff; font-weight: 700; letter-spacing: .06em; }
.field-card { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); background: var(--color-surface-warm); border: 1px solid var(--color-line-strong); border-left: 6px solid var(--color-action); border-radius: var(--radius-xl); }
.field-card-code { font-size: 2rem; font-weight: 800; letter-spacing: .06em; color: var(--color-action); min-width: 5.5rem; text-align: center; }
.field-card-title { font-size: var(--text-md, 1.05rem); }
.field-card-time { margin-top: .15rem; }
.pass-field { margin: .6rem 0 .9rem; padding: .6rem .8rem; border: 2px solid var(--color-action); border-radius: var(--radius-xl); background: var(--color-surface-warm); }
.pass-field-code { font-size: 2.6rem; font-weight: 800; line-height: 1.1; letter-spacing: .08em; color: var(--color-action); }
.pass-field-name { font-weight: 600; }
.pass-field-time { margin-top: .2rem; font-size: 1.05rem; }

.pass-field-code { font-size: 2.1rem; }

/* ===================== Step 34: rules and regulations ===================== */
.rules-list { display: grid; gap: .6rem; }
.rule-block { background: #fff; border: 1px solid var(--color-line-strong); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,.06)); }
.rule-block > summary { cursor: pointer; list-style: none; padding: .8rem 1rem; font-weight: 700; display: flex; align-items: center; gap: .6rem; }
.rule-block > summary::-webkit-details-marker { display: none; }
.rule-block > summary::after { content: "＋"; margin-left: auto; color: var(--color-action); font-weight: 800; }
.rule-block[open] > summary::after { content: "－"; }
.rule-block[open] > summary { border-bottom: 1px solid var(--color-line); }
.rule-icon { font-size: 1.25rem; }
.rule-items { margin: 0; padding: .8rem 1rem .9rem 2.4rem; display: grid; gap: .45rem; }
.rule-items li::marker { color: var(--color-action); font-weight: 700; }
.rules-accept { padding: .8rem 1rem .8rem 2.4rem; background: var(--color-surface-warm); border: 1px solid var(--color-line-strong); border-radius: var(--radius-xl); }
@media print { .rule-block { box-shadow: none; break-inside: avoid; } .rule-block > summary::after { content: ""; } .no-print { display: none !important; } }

/* ===================== Step 34: professional candidate dashboard ===================== */
.dash { max-width: 1180px; }
.dash-hero { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding: 1.4rem 1.6rem; border-radius: var(--radius-xl); color: #fff;
             background: linear-gradient(135deg, var(--color-maroon-dark, #4a0e0a) 0%, var(--color-maroon, #861c12) 100%); box-shadow: 0 6px 20px rgba(80,14,8,.22); }
.dash-eyebrow { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.dash-hello { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: .15rem 0 .5rem; font-weight: 800; color: #fff; }
.dash-sub { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.dash-regno { font-weight: 700; letter-spacing: .06em; background: rgba(255,255,255,.14); padding: .15rem .7rem; border-radius: 999px; }
.dash-chip { padding: .15rem .8rem; border-radius: 999px; font-weight: 700; font-size: .85rem; background: #fff; }
.dash-chip-ok { color: #146c43; } .dash-chip-info { color: #0b5ed7; } .dash-chip-warn { color: #b45309; } .dash-chip-bad { color: #b42318; } .dash-chip-neutral { color: #475467; }
.dash-alert { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1rem; padding: .9rem 1.1rem; border: 1px solid #f0c36d; background: #fff8e6; border-radius: var(--radius-xl); }
.dash-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .9rem; margin-top: 1rem; }
.dash-kpi { background: #fff; border: 1px solid var(--color-line-strong); border-radius: var(--radius-xl); padding: .9rem 1.1rem; box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,.06)); }
.dash-kpi-label { font-size: .78rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .05em; }
.dash-kpi-value { font-size: 1.25rem; font-weight: 800; color: var(--color-text, #1b1b1b); margin-top: .15rem; }
.dash-kpi-code { color: var(--color-action); letter-spacing: .04em; }
.dash-kpi-status { font-size: 1.02rem; line-height: 1.3; }
.dash-kpi-note { font-size: .82rem; color: var(--color-text-muted); margin-top: .1rem; }
.dash-text-ok { color: #146c43; } .dash-text-info { color: #0b5ed7; } .dash-text-warn { color: #b45309; } .dash-text-bad { color: #b42318; } .dash-text-neutral { color: #475467; }
.dash .field-card { margin-top: 1rem; }
.dash-card { background: #fff; border: 1px solid var(--color-line-strong); border-radius: var(--radius-xl); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,.06)); margin-top: 1rem; }
.dash-card.mb-3 { margin-top: 0; }
.row > [class*="col-"] > .dash-card { margin-top: 0; }
.dash-h { font-size: 1rem; font-weight: 800; margin: 0 0 .8rem; }
.dash-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; counter-reset: s; }
.dash-step { text-align: center; position: relative; font-size: .85rem; color: var(--color-text-muted); }
.dash-step::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--color-line-strong); z-index: 0; }
.dash-step:first-child::before { display: none; }
.dash-step-dot { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--color-line-strong); font-weight: 800; }
.dash-step-name { display: block; margin-top: .35rem; font-weight: 600; }
.dash-step-done .dash-step-dot { background: #146c43; border-color: #146c43; color: #fff; }
.dash-step-done::before, .dash-step-current::before { background: #146c43; }
.dash-step-current .dash-step-dot { border-color: var(--color-action); color: var(--color-action); box-shadow: 0 0 0 4px rgba(200,80,20,.15); }
.dash-step-current .dash-step-name { color: var(--color-action); }
.dash-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .7rem; }
.dash-action { display: flex; gap: .75rem; align-items: center; padding: .75rem .9rem; border: 1px solid var(--color-line-strong); border-radius: var(--radius-lg, .7rem); text-decoration: none; color: inherit; background: var(--color-surface-warm); transition: transform .12s, box-shadow .12s; }
.dash-action:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.1); color: inherit; }
.dash-action strong { display: block; }
.dash-action small { color: var(--color-text-muted); }
.dash-action-ico { font-size: 1.5rem; }
.dash-action-primary { border-color: var(--color-action); background: #fff3e8; }
.dash-action-off { opacity: .55; }
.dash-dl { margin: 0; display: grid; grid-template-columns: 5.5rem 1fr; gap: .45rem .6rem; }
.dash-dl dt { color: var(--color-text-muted); font-weight: 600; font-size: .85rem; }
.dash-dl dd { margin: 0; }
.dash-rules { padding-left: 1.1rem; margin: 0 0 .6rem; display: grid; gap: .35rem; font-size: .92rem; }
@media (max-width: 700px) { .dash-steps { grid-template-columns: repeat(5, minmax(60px, 1fr)); font-size: .72rem; } .dash-step-name small { display: none; } }

.pass-rules { margin: .2rem 1.1rem .7rem; padding-left: 1rem; text-align: left; font-size: .74rem; color: var(--color-text-muted); }
.receipt-rules ul { margin-top: .2rem; }
