/* Admission landing page (views - admission - admissions.php)
   PrayagEdu look: Bootstrap 5 + Poppins (app.min.css) and the indigo of the login page. */

:root {
    --adm-ink: #1e1b4b;
    --adm-brand: #312e81;
    --adm-brand-2: #4338ca;
    --adm-accent: #818cf8;
    --adm-brand-soft: #eef0ff;
    --adm-text: #0f172a;
    --adm-muted: #64748b;
    --adm-border: #e2e8f0;
    --adm-field: #f8fafc;
    --adm-page: #eef0f7;
    --adm-card: #ffffff;
    --adm-ok: #059669;
    --adm-ok-soft: #ecfdf5;
    --adm-warn: #b45309;
    --adm-warn-soft: #fffbeb;
    --adm-radius: 18px;
    --adm-radius-sm: 12px;
    --adm-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -8px rgba(var(--adm-ink-rgb), .12);
    --adm-panel-h: clamp(560px, 74vh, 720px);
    /* the same colours as r, g, b for see-through shades (the school's colours replace them, 11/11/2026) */
    --adm-ink-rgb: 30, 27, 75;
    --adm-brand-rgb: 49, 46, 129;
    --adm-brand2-rgb: 67, 56, 202;
    --adm-accent-rgb: 129, 140, 248;
    /* light tints of the main colour: borders, bars, text on the dark footer (school colours replace them) */
    --adm-tint-200: #e0e7ff;
    --adm-tint-300: #c7d2fe;
    --adm-tint-400: #a5b4fc;
    --adm-tint-500: #818cf8;
}

/* ---------- base ---------- */
.adm-body {
    background: var(--adm-page);
    color: var(--adm-text);
    font-family: "Poppins", var(--bs-font-sans-serif);
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

.adm-body h1, .adm-body h2, .adm-body h3 { color: inherit; letter-spacing: -.01em; }

.adm-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) { .adm-container { padding: 0 28px; } }

.adm-skip {
    position: absolute; left: 12px; top: -48px; z-index: 1100;
    background: var(--adm-brand); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.adm-skip:focus { top: 12px; color: #fff; }

.adm-body :focus-visible { outline: 3px solid var(--adm-accent); outline-offset: 2px; }

/* ---------- buttons ---------- */
.adm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border-radius: 10px; font-weight: 500; padding: 9px 18px; font-size: 14px;
    border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
    white-space: nowrap;
}
.adm-btn i { font-size: 18px; }
.adm-btn--sm { padding: 6px 14px; font-size: 13px; }
.adm-btn--block { width: 100%; }

.adm-btn--primary {
    background: linear-gradient(135deg, var(--adm-brand-2), var(--adm-brand));
    color: #fff; box-shadow: 0 6px 16px -6px rgba(var(--adm-brand2-rgb), .55);
}
.adm-btn--primary:hover, .adm-btn--primary:focus { color: #fff; box-shadow: 0 8px 20px -6px rgba(var(--adm-brand2-rgb), .7); transform: translateY(-1px); }
.adm-btn--primary.disabled { opacity: .55; box-shadow: none; }

.adm-btn--ghost { background: #fff; color: var(--adm-brand); border-color: var(--adm-border); }
.adm-btn--ghost:hover, .adm-btn--ghost:focus { background: var(--adm-brand-soft); color: var(--adm-brand); border-color: var(--adm-tint-300); }

.adm-btn--soft { background: var(--adm-brand-soft); color: var(--adm-brand); }
.adm-btn--soft:hover, .adm-btn--soft:focus { background: var(--adm-tint-200); color: var(--adm-ink); }

.adm-btn--light { background: #fff; color: var(--adm-brand); }
.adm-btn--light:hover, .adm-btn--light:focus { background: var(--adm-brand-soft); color: var(--adm-ink); }

.adm-btn--outline-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .55); }
.adm-btn--outline-light:hover, .adm-btn--outline-light:focus { background: rgba(255, 255, 255, .18); color: #fff; }

.adm-link-btn {
    background: none; border: 0; padding: 0; color: var(--adm-brand-2); font-weight: 500; font-size: 13px;
    text-decoration: underline; text-underline-offset: 3px;
}
.adm-link-btn:hover { color: var(--adm-ink); }

/* ---------- header ---------- */
.adm-header {
    position: sticky; top: 0; z-index: 1020;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--adm-border);
}
.adm-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.adm-header__actions { display: flex; align-items: center; gap: 8px; }

.adm-brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--adm-text); }
.adm-brand:hover { color: var(--adm-text); }
.adm-brand__logo { width: 44px; height: 44px; object-fit: contain; flex: none; } /* 25/11/2026: removed round white container (border-radius 50% + #fff bg) - clipped crest-shaped logos */
.adm-brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.adm-brand__name { font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-brand__sub { font-size: 12px; color: var(--adm-muted); }

@media (max-width: 575.98px) {
    .adm-hide-sm { display: none; }
    .adm-brand__logo { width: 38px; height: 38px; }
    .adm-brand__name { font-size: 14px; max-width: 46vw; }
    .adm-header__actions .adm-btn { padding: 8px 12px; }
}

/* ---------- notice bar ---------- */
.adm-notices { background: linear-gradient(90deg, var(--adm-notice-2, #9f1239), var(--adm-notice, #be123c) 50%, var(--adm-notice-2, #9f1239)); color: var(--adm-notice-text, #fff); border-bottom: 3px solid #facc15; }
.adm-notices__inner { display: flex; align-items: center; gap: 14px; min-height: 42px; }
.adm-notices__label {
    display: inline-flex; align-items: center; gap: 6px; flex: none;
    background: #facc15; color: #881337; font-weight: 700; font-size: 12px; box-shadow: 0 2px 10px -2px rgba(0, 0, 0, .25);
    text-transform: uppercase; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px;
}
.adm-notices__viewport {
    flex: 1; overflow: hidden; min-width: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
/* spacing on the items (not flex gap) so both copies are the same width and the loop has no jump */
.adm-notices__track { display: flex; margin: 0; padding: 0; list-style: none; width: max-content; }
.adm-notices__track > li { padding-right: 40px; }
.adm-notices__track.is-moving { animation: adm-marquee var(--adm-marquee-time, 30s) linear infinite; }
.adm-notices:hover .adm-notices__track, .adm-notices:focus-within .adm-notices__track { animation-play-state: paused; }
.adm-notice {
    background: none; border: 0; color: #fff; font-size: 13.5px; font-weight: 500; padding: 6px 0; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 8px;
}
.adm-notice:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.adm-notice__new { color: #fff; background: #16a34a; font-weight: 700; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; padding: 1px 7px; border-radius: 999px; }
.adm-notice__date { color: #881337; background: #fde68a; font-weight: 700; font-size: 11.5px; padding: 1px 8px; border-radius: 999px; }
.adm-notices__label i { display: inline-block; animation: adm-ring 2.6s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes adm-ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 80% { transform: rotate(-12deg); } 85% { transform: rotate(8deg); } 90% { transform: rotate(-4deg); } }

/* runs left to right (10/11/2026) */
@keyframes adm-marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- banner ---------- */
/* school photo behind the banner and the glass cards */
.adm-stage {
    position: relative;
    background-image:
        linear-gradient(180deg, rgba(var(--adm-ink-rgb), .6) 0%, rgba(var(--adm-brand-rgb), .44) 42%, rgba(var(--adm-brand2-rgb), .22) 78%, var(--adm-page) 100%),
        var(--adm-hero-image, none),
        url("../../img/bg.webp"); /* default photo if the school's does not load */
    background-size: cover; background-position: center top;
    padding-bottom: 48px;
}
.adm-hero { position: relative; color: #fff; padding: 56px 0 36px; }
.adm-hero__inner { display: grid; gap: 32px; align-items: end; }
@media (min-width: 992px) { .adm-hero__inner { grid-template-columns: 1.4fr 1fr; } }

.adm-hero h1 { color: #fff; font-weight: 700; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.12; margin: 14px 0 12px; }
.adm-hero__about { color: var(--adm-tint-200); max-width: 58ch; margin-bottom: 22px; font-size: 15.5px; }
.adm-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }

.adm-status {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500;
    padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
}
.adm-status__dot { width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; }
.adm-status.is-open .adm-status__dot { background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .25); }
.adm-status.is-upcoming .adm-status__dot { background: #fbbf24; }

.adm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.adm-stat {
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--adm-radius-sm); padding: 14px 16px;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.adm-stat dt { font-weight: 400; font-size: 12px; color: var(--adm-tint-300); text-transform: uppercase; letter-spacing: .04em; }
.adm-stat dd { margin: 4px 0 0; font-size: 28px; font-weight: 700; color: #fff; line-height: 1.1; }
.adm-stat__date { font-size: 22px !important; }

/* ---------- two panels ---------- */
.adm-panels {
    display: grid; gap: 20px; position: relative; z-index: 2;
}
@media (min-width: 992px) { .adm-panels { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* glass cards */
.adm-card {
    background: rgba(255, 255, 255, .74);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, .6); border-radius: var(--adm-radius);
    box-shadow: 0 24px 60px -24px rgba(var(--adm-ink-rgb), .55), inset 0 1px 0 rgba(255, 255, 255, .7);
    display: flex; flex-direction: column;
    height: var(--adm-panel-h); /* same height for both; content scrolls inside */
    overflow: hidden; scroll-margin-top: 90px;
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .adm-card { background: rgba(255, 255, 255, .94); }
}
.adm-card .adm-card__head { border-bottom-color: rgba(148, 163, 184, .25); }
.adm-card .adm-elig { background: rgba(255, 255, 255, .45); border-bottom-color: rgba(148, 163, 184, .25); }
.adm-card .adm-doc, .adm-card .adm-class { background: rgba(255, 255, 255, .62); border-color: rgba(255, 255, 255, .75); }
.adm-card .adm-class.is-closed { background: rgba(241, 245, 249, .6); }
.adm-card .adm-video { background: linear-gradient(135deg, rgba(238, 240, 255, .8), rgba(245, 243, 255, .8)); }
.adm-card .adm-tag { background: rgba(255, 255, 255, .8); }

/* right card when no class is taking applications */
.adm-closed {
    text-align: center; padding: 28px 16px 24px; margin-bottom: 18px;
    border-radius: var(--adm-radius-sm); background: rgba(255, 255, 255, .55); border: 1px dashed rgba(var(--adm-accent-rgb), .35);
}
.adm-closed__icon {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; font-size: 30px;
    color: #fff; background: linear-gradient(135deg, var(--adm-brand-2), var(--adm-brand));
    box-shadow: 0 0 0 8px rgba(var(--adm-accent-rgb), .2);
}
.adm-closed__title { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.adm-closed__text { color: var(--adm-muted); font-size: 14px; max-width: 40ch; margin: 0 auto 16px; }
.adm-closed__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
@media (max-width: 991.98px) { .adm-card { height: auto; max-height: 640px; } }

.adm-card__head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    padding: 22px 24px 14px; border-bottom: 1px solid var(--adm-border); flex: none;
}
.adm-card__title { font-size: 20px; font-weight: 600; margin: 0; }
.adm-card__sub { margin: 2px 0 0; font-size: 13px; color: var(--adm-muted); }
.adm-card__icon {
    width: 42px; height: 42px; border-radius: 12px; flex: none;
    display: grid; place-items: center; font-size: 22px;
    background: var(--adm-brand-soft); color: var(--adm-brand-2);
}

.adm-card__body {
    flex: 1; min-height: 0; overflow-y: auto; padding: 18px 24px 24px;
    scrollbar-width: thin; scrollbar-color: var(--adm-tint-300) transparent;
    overscroll-behavior: auto; /* at the end of the list the page itself carries on scrolling */
    /* nothing runs sideways; content fades out at the top and bottom edges instead of being cut */
    overflow-x: hidden; scrollbar-gutter: stable;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18px, #000 calc(100% - 22px), transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 18px, #000 calc(100% - 22px), transparent 100%);
}
.adm-card__body::-webkit-scrollbar { width: 8px; }
.adm-card__body::-webkit-scrollbar-thumb { background: var(--adm-tint-300); border-radius: 8px; }
.adm-card__body:focus-visible { outline-offset: -3px; }

/* video */
.adm-video {
    width: 100%; display: flex; align-items: center; gap: 16px; text-align: left;
    padding: 16px; border-radius: var(--adm-radius-sm); border: 1px solid var(--adm-tint-300);
    background: linear-gradient(135deg, var(--adm-brand-soft), #fff); color: var(--adm-text); margin-bottom: 22px;
    transition: border-color .15s, box-shadow .15s;
}
.adm-video:hover { border-color: var(--adm-accent); box-shadow: 0 6px 18px -10px rgba(var(--adm-brand2-rgb), .6); }
.adm-video__play {
    width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--adm-brand-2), var(--adm-brand)); color: #fff; font-size: 30px;
    box-shadow: 0 0 0 6px rgba(var(--adm-accent-rgb), .25);
}
.adm-video__text { display: flex; flex-direction: column; }
.adm-video__text strong { font-weight: 600; }
.adm-video__text span { font-size: 13px; color: var(--adm-muted); }

/* steps */
.adm-steps { list-style: none; margin: 0 0 8px; padding: 0; position: relative; }
.adm-step { display: flex; gap: 14px; position: relative; padding-bottom: 18px; }
.adm-step:not(:last-child)::before {
    content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: var(--adm-tint-200);
}
.adm-step__num {
    width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center;
    background: var(--adm-brand-soft); color: var(--adm-brand-2); font-weight: 700;
}
.adm-step__title { font-size: 15px; font-weight: 600; margin: 6px 0 2px; }
.adm-step__body { margin: 0; color: var(--adm-muted); font-size: 13.5px; }

.adm-subhead { font-size: 15px; font-weight: 600; margin: 10px 0 10px; }

/* documents */
.adm-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.adm-doc {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    background: var(--adm-field); border: 1px solid var(--adm-border); border-radius: 10px;
}
.adm-doc__icon { color: var(--adm-brand-2); font-size: 18px; }
.adm-doc { align-items: flex-start; }
.adm-doc__icon { margin-top: 2px; }
/* name with its tag beside it; a long class list wraps underneath instead of running off to the right */
.adm-doc__text { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.adm-doc__name { font-weight: 500; font-size: 14px; }
.adm-doc__text .adm-tag { white-space: normal; line-height: 1.45; }
.adm-tag { font-size: 12px; color: var(--adm-muted); background: #fff; border: 1px solid var(--adm-border); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.adm-tag--strong { color: var(--adm-brand); border-color: var(--adm-tint-300); background: var(--adm-brand-soft); }

/* eligibility */
.adm-elig { padding: 14px 24px; background: var(--adm-field); border-bottom: 1px solid var(--adm-border); flex: none; margin: 0; }
.adm-elig__label { font-weight: 600; font-size: 13px; margin-bottom: 6px; display: block; }
.adm-elig__row { display: flex; gap: 8px; }
.adm-elig__row .form-control { max-width: 220px; border-radius: 10px; }
.adm-elig__result { margin: 8px 0 0; font-size: 13px; color: var(--adm-muted); }
.adm-elig__result.is-match { color: var(--adm-ok); font-weight: 500; }
.adm-elig__result.is-none { color: var(--adm-warn); font-weight: 500; }
.adm-elig__extra { display: block; margin-top: 3px; color: var(--adm-muted); font-weight: 400; font-size: 12.5px; }

/* classes */
.adm-classes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.adm-class {
    display: flex; align-items: center; gap: 14px; padding: 14px;
    border: 1px solid var(--adm-border); border-radius: var(--adm-radius-sm); background: #fff;
    transition: border-color .15s, box-shadow .15s, opacity .15s;
}
.adm-class:hover { border-color: var(--adm-tint-300); box-shadow: 0 6px 18px -12px rgba(var(--adm-brand2-rgb), .5); }
.adm-class__badge {
    width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center;
    font-weight: 700; font-size: 14px; color: #fff;
    background: linear-gradient(135deg, var(--adm-brand-2), var(--adm-brand));
}
.adm-class__info { flex: 1; min-width: 0; }
.adm-class__name { font-size: 15.5px; font-weight: 600; margin: 0 0 2px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.adm-class__elig { font-size: 11px; font-weight: 600; color: var(--adm-ok); background: var(--adm-ok-soft); padding: 2px 8px; border-radius: 999px; }
.adm-class__meta { margin: 0; font-size: 12.5px; color: var(--adm-muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.adm-class__meta i { vertical-align: -2px; }
.adm-class__note { margin: 4px 0 0; font-size: 12.5px; color: var(--adm-brand); }
.adm-class__action { flex: none; }

.adm-seats { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.adm-seats__bar { flex: 1; max-width: 180px; height: 6px; border-radius: 6px; background: var(--adm-tint-200); overflow: hidden; }
.adm-seats__bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--adm-accent), var(--adm-brand-2)); }
.adm-seats__text { font-size: 12px; color: var(--adm-muted); white-space: nowrap; }

.adm-class.is-full .adm-class__badge, .adm-class.is-closed .adm-class__badge { background: #cbd5e1; }
.adm-class.is-closed { background: var(--adm-field); }
.adm-class.is-closed .adm-class__name, .adm-class.is-closed .adm-class__meta { opacity: .7; }
.adm-class.is-full .adm-seats__bar span { background: #f59e0b; }

/* eligibility filter result */
.adm-classes.is-filtered .adm-class.is-dim { opacity: .45; }
.adm-classes.is-filtered .adm-class.is-match { border-color: #6ee7b7; box-shadow: 0 0 0 3px rgba(16, 185, 129, .12); }

.adm-chip { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #e2e8f0; color: #475569; }
.adm-chip--warn { background: var(--adm-warn-soft); color: var(--adm-warn); }

.adm-empty { color: var(--adm-muted); text-align: center; padding: 40px 0; }

@media (max-width: 575.98px) {
    .adm-card__head, .adm-card__body, .adm-elig { padding-left: 16px; padding-right: 16px; }
    .adm-class { flex-wrap: wrap; }
    .adm-class__action { width: 100%; padding-left: 62px; }
    .adm-elig__row .form-control { max-width: none; }
}

/* ---------- help desk ---------- */
.adm-help { padding-top: 56px; padding-bottom: 64px; }
.adm-section-head { margin-bottom: 20px; }
.adm-section-head h2 { font-size: 24px; font-weight: 600; margin: 0 0 4px; }
.adm-section-head p { margin: 0; color: var(--adm-muted); }

.adm-help__grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.adm-help__grid > .adm-contact:not(.adm-callback) { align-self: start; }   /* 26/11/2026: don't stretch to the taller call-back card */
/* 26/11/2026: 2 per row on tablets, 3 on computers; the call-back card takes the rest of the last row */
@media (min-width: 768px) {
    .adm-help__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .adm-callback--md2 { grid-column: span 2; }
}
@media (min-width: 992px) {
    .adm-help__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .adm-callback--md2 { grid-column: auto; }
    .adm-callback--lg2 { grid-column: span 2; }
    .adm-callback--lg3 { grid-column: span 3; }
}
.adm-contact {
    background: #fff; border: 1px solid var(--adm-border); border-radius: var(--adm-radius);
    box-shadow: var(--adm-shadow); padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.adm-contact__head { display: flex; align-items: center; gap: 12px; }
.adm-contact__head h3 { font-size: 16px; font-weight: 600; margin: 0; }
.adm-contact__head p { margin: 0; font-size: 13px; color: var(--adm-muted); }
.adm-contact__avatar {
    width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 22px;
    background: var(--adm-brand-soft); color: var(--adm-brand-2);
}
.adm-contact__avatar--accent { background: linear-gradient(135deg, var(--adm-brand-2), var(--adm-brand)); color: #fff; }
.adm-contact__time { margin: 0; font-size: 13px; color: var(--adm-muted); }
.adm-contact__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.adm-callback { border-color: var(--adm-tint-300); background: linear-gradient(180deg, #fff, #f8f9ff); }
.adm-callback .form-control { border-radius: 10px; }
/* 26/11/2026: a wide call-back card (2-3 columns) puts its boxes two across instead of stretching them */
@media (min-width: 768px) and (max-width: 991.98px) {
    .adm-callback--md2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; align-items: center; }
    .adm-callback--md2 > .adm-contact__head, .adm-callback--md2 > .adm-form-msg, .adm-callback--md2 > .adm-link-btn { grid-column: 1 / -1; }
    .adm-callback--md2 > .adm-link-btn { justify-self: start; }
}
@media (min-width: 992px) {
    .adm-callback--lg2, .adm-callback--lg3 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; align-items: center; }
    .adm-callback--lg2 > .adm-contact__head, .adm-callback--lg2 > .adm-form-msg, .adm-callback--lg2 > .adm-link-btn,
    .adm-callback--lg3 > .adm-contact__head, .adm-callback--lg3 > .adm-form-msg, .adm-callback--lg3 > .adm-link-btn { grid-column: 1 / -1; }
    .adm-callback--lg2 > .adm-link-btn, .adm-callback--lg3 > .adm-link-btn { justify-self: start; }
}

.adm-form-msg { margin: 0; font-size: 13px; min-height: 0; }
.adm-form-msg:empty { display: none; }
.adm-form-msg.is-error { color: #dc2626; }
.adm-form-msg.is-ok { color: var(--adm-ok); }

/* ---------- footer ---------- */
.adm-footer { background: var(--adm-ink); color: var(--adm-tint-300); font-size: 14px; }
.adm-footer__grid { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
@media (min-width: 768px) { .adm-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .adm-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }

.adm-brand--footer { margin-bottom: 12px; }
.adm-brand--footer .adm-brand__name { color: #fff; }
.adm-footer__about p { color: var(--adm-tint-400); margin-bottom: 8px; max-width: 42ch; }
.adm-footer__board { color: var(--adm-tint-200) !important; font-weight: 500; }
.adm-footer__title { font-size: 15px; font-weight: 600; color: #fff; margin: 4px 0 14px; }
.adm-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.adm-footer__links a, .adm-footer__btn { color: var(--adm-tint-300); background: none; border: 0; padding: 0; text-align: left; font-size: 14px; }
.adm-footer__links a:hover, .adm-footer__btn:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.adm-footer__muted { color: var(--adm-tint-500); font-size: 13px; }

.adm-dl {
    display: inline-flex; align-items: center; gap: 8px; color: var(--adm-tint-200) !important; background: rgba(255, 255, 255, .06) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important; border-radius: 10px; padding: 8px 12px !important; font-weight: 500;
}
.adm-dl:hover { background: rgba(255, 255, 255, .12) !important; text-decoration: none !important; }

.adm-map { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--adm-radius-sm); padding: 16px; }
.adm-map__icon { font-size: 26px; color: var(--adm-accent); }
.adm-map__addr { color: #fff; font-weight: 500; margin: 6px 0 4px; }
.adm-map__link { color: var(--adm-tint-400); font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.adm-map__link:hover { color: #fff; }

.adm-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: var(--adm-tint-500); }
.adm-footer__bar .adm-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 16px; padding-bottom: 16px; }

/* ---------- modals ---------- */
.adm-modal .modal-content { border: 0; border-radius: var(--adm-radius); box-shadow: 0 24px 60px -20px rgba(var(--adm-ink-rgb), .45); }
.adm-modal .modal-header { border-bottom: 1px solid var(--adm-border); padding: 18px 22px; }
.adm-modal .modal-title { font-size: 18px; font-weight: 600; }
.adm-modal .modal-body { padding: 20px 22px; }
.adm-modal .modal-footer { border-top: 1px solid var(--adm-border); padding: 14px 22px; }
.adm-modal .form-control, .adm-modal .form-select, .adm-modal .input-group-text { border-radius: 10px; }
.adm-modal .input-group .form-control { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.adm-modal .input-group .input-group-text { border-top-right-radius: 0; border-bottom-right-radius: 0; background: var(--adm-field); }
.adm-modal__lead { color: var(--adm-muted); font-size: 14px; }
.adm-modal__eyebrow { margin: 0 0 2px; font-size: 12px; color: var(--adm-brand-2); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.adm-modal__context {
    background: var(--adm-brand-soft); color: var(--adm-brand); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; font-weight: 500;
}
.adm-req { color: #dc2626; }

.adm-otp-input { font-size: 22px; letter-spacing: .5em; text-align: center; font-weight: 600; }
.adm-otp-links { display: flex; justify-content: space-between; margin-top: 12px; }
.adm-dev { background: var(--adm-warn-soft); color: var(--adm-warn); border-radius: 8px; padding: 8px 10px; font-size: 13px; }

.adm-signed { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--adm-border); margin-bottom: 14px; }
.adm-signed__label { margin: 0; font-size: 12px; color: var(--adm-muted); }
.adm-signed__phone { margin: 0; font-weight: 600; }
.adm-apps-empty { text-align: center; padding: 18px 8px 6px; }
.adm-apps-empty i { font-size: 40px; color: var(--adm-accent); }
.adm-apps-empty p { color: var(--adm-muted); font-size: 14px; margin: 8px 0 14px; }

.adm-notice-body { white-space: pre-line; }
.adm-attachments { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.adm-attachments a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--adm-brand-2); }

.adm-video-modal { background: #000; overflow: hidden; position: relative; }
.adm-video-modal__close { position: absolute; top: 10px; right: 10px; z-index: 2; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .adm-notices__track.is-moving, .adm-notices__label i { animation: none; }
    .adm-notices__viewport { overflow-x: auto; }
    .adm-btn, .adm-class, .adm-video { transition: none; }
    .adm-btn--primary:hover { transform: none; }
}

/* ---------- my applications (track modal) 10/11/2026 ---------- */
.adm-apps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.adm-apps__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; border: 1px solid var(--adm-border); border-radius: var(--adm-radius-sm); padding: 12px 14px; }
.adm-apps__name { margin: 0; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-apps__meta { margin: 2px 0 0; font-size: 12.5px; color: var(--adm-muted); }
.adm-apps__status { font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--adm-tint-200); color: var(--adm-brand); white-space: nowrap; }
.adm-apps__status.is-draft { background: #fef3c7; color: #92400e; }
.adm-apps__status.is-submitted, .adm-apps__status.is-selected, .adm-apps__status.is-admitted { background: #d1fae5; color: #065f46; }
.adm-apps__status.is-rejected { background: #fee2e2; color: #991b1b; }
.adm-apps__acts { grid-column: 1 / -1; display: flex; gap: 6px; }

/* payment note under the classes (10/11/2026) */
.adm-paynote { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 12.5px; color: var(--adm-muted); background: rgba(255, 255, 255, .55); border: 1px dashed var(--adm-tint-300); }
.adm-paynote i { font-size: 17px; color: var(--adm-brand-2); flex: none; }

/* ---------- track popup: tabs, captcha (10/11/2026) ---------- */
.adm-tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 16px; background: var(--adm-field); border: 1px solid var(--adm-border); border-radius: 12px; }
.adm-tab { flex: 1; border: 0; background: none; border-radius: 9px; padding: 8px 10px; font-size: 13.5px; font-weight: 500; color: var(--adm-muted); }
.adm-tab:hover { color: var(--adm-brand); }
.adm-tab.is-active { background: #fff; color: var(--adm-brand); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.adm-track-pane[hidden] { display: none; }
.adm-upper { text-transform: uppercase; letter-spacing: .04em; }
.adm-upper::placeholder { text-transform: none; letter-spacing: 0; }
.adm-code-input { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .12em; }
.adm-captcha { display: flex; align-items: center; gap: 8px; }
.adm-captcha img { height: 44px; width: auto; border: 1px solid var(--adm-border); border-radius: 8px; background: #fff; flex: none; }
.adm-captcha .form-control { min-width: 0; }
.adm-icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 8px; border: 1px solid var(--adm-border); background: #fff; color: var(--adm-brand); font-size: 18px; }
.adm-icon-btn:hover { background: var(--adm-brand-soft); }
#admTrackResult .adm-apps { margin-top: 12px; }
.adm-apps__title { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--adm-border); font-size: 13px; font-weight: 600; color: var(--adm-muted); text-transform: uppercase; letter-spacing: .05em; }

/* captcha picture replaced by another form's code (one code per session): grey box until the form is used 11/11/2026 */
.adm-captcha img[data-stale], .adm-captcha img:not([src]) { width: 110px; height: 44px; color: transparent; background: #f3f4f6; }

/* =====================================================================
   11/11/2026 step E: quick panel, phone bar, school colours, visit counter
   ===================================================================== */
.adm-quick {
    background: rgba(255, 255, 255, .96); color: var(--adm-text); border-radius: var(--adm-radius);
    padding: 18px; box-shadow: 0 20px 44px -18px rgba(15, 23, 42, .45); display: flex; flex-direction: column; gap: 14px;
}
.adm-quick__date { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.adm-quick__label { width: 100%; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--adm-muted); }
.adm-quick__date strong { font-size: 24px; color: var(--adm-ink); line-height: 1.15; }
.adm-quick__left { font-size: 12.5px; font-weight: 600; color: var(--adm-warn); background: var(--adm-warn-soft); padding: 2px 10px; border-radius: 999px; }
.adm-quick__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.adm-quick__stats > div { background: var(--adm-brand-soft); border-radius: var(--adm-radius-sm); padding: 10px 12px; }
.adm-quick__stats dt { font-size: 11.5px; font-weight: 500; color: var(--adm-muted); text-transform: uppercase; letter-spacing: .04em; }
.adm-quick__stats dd { margin: 2px 0 0; font-size: 24px; font-weight: 700; color: var(--adm-brand); line-height: 1.1; }
.adm-quick__actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.adm-quick__brochure { display: flex; align-items: center; gap: 12px; border: 1px solid var(--adm-border); border-radius: var(--adm-radius-sm); padding: 10px; }
.adm-quick__cover { width: 52px; height: 64px; flex: none; border-radius: 8px; overflow: hidden; background: var(--adm-brand-soft); display: flex; align-items: center; justify-content: center; }
.adm-quick__cover img { width: 100%; height: 100%; object-fit: cover; }
.adm-quick__cover i { font-size: 26px; color: var(--adm-brand); }
.adm-quick__btext { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.adm-quick__btext strong { font-size: 14px; color: var(--adm-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-quick__btext span { font-size: 12.5px; color: var(--adm-muted); }
.adm-quick__help { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: 13px; color: var(--adm-muted); border-top: 1px dashed var(--adm-border); padding-top: 12px; }
.adm-quick__helpbtns { display: inline-flex; gap: 12px; }
.adm-quick__helpbtns a { color: var(--adm-brand); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
@media (min-width: 992px) { .adm-hero__inner { align-items: center; } }

/* phone bottom bar */
.adm-mobilebar { display: none; }
@media (max-width: 767.98px) {
    .adm-mobilebar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: #fff;
        border-top: 1px solid var(--adm-border); box-shadow: 0 -6px 18px -8px rgba(15, 23, 42, .25);
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    }
    .adm-mobilebar__btn {
        flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; border: 0; background: none;
        color: var(--adm-muted); font-size: 11.5px; font-weight: 600; text-decoration: none; border-radius: 10px;
    }
    .adm-mobilebar__btn i { font-size: 21px; }
    .adm-mobilebar__btn.is-main { color: #fff; background: linear-gradient(135deg, var(--adm-brand-2), var(--adm-brand)); }
    body.adm-body { padding-bottom: 68px; }
}

/* background: plain school colour */
.adm-bg--colour .adm-stage {
    background-image: linear-gradient(180deg, var(--adm-ink) 0%, var(--adm-brand) 45%, var(--adm-brand-2) 78%, var(--adm-page) 100%);
}
/* background: light page with dark text */
.adm-bg--white .adm-stage { background-image: linear-gradient(180deg, #ffffff 0%, var(--adm-brand-soft) 60%, var(--adm-page) 100%); }
.adm-bg--white .adm-hero, .adm-bg--white .adm-hero h1 { color: var(--adm-ink); }
.adm-bg--white .adm-hero__about { color: var(--adm-muted); }
.adm-bg--white .adm-status { background: #fff; border-color: var(--adm-border); color: var(--adm-text); }
.adm-bg--white .adm-btn--light { background: linear-gradient(135deg, var(--adm-brand-2), var(--adm-brand)); color: #fff; }
.adm-bg--white .adm-btn--outline-light { border-color: var(--adm-brand); color: var(--adm-brand); }
.adm-bg--white .adm-quick { box-shadow: var(--adm-shadow); border: 1px solid var(--adm-border); }

/* footer visit counter */
.adm-visits { display: inline-flex; align-items: center; gap: 6px; color: var(--adm-tint-300); }
.adm-visits[hidden] { display: none; }
.adm-visits__dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); }


/* lighter photo overlay (11/11/2026): a soft shadow keeps the white banner text readable on bright photos */
.adm-bg--photo .adm-hero h1, .adm-bg--photo .adm-hero__about, .adm-bg--photo .adm-status { text-shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 12px rgba(0, 0, 0, .3); }
.adm-bg--photo .adm-hero__about { color: #fff; }

/* 26/11/2026: "Powered by PrayagEdu" links to prayagedu.com */
.adm-powered { color: inherit; text-decoration: none; font-weight: 600; }
.adm-powered:hover, .adm-powered:focus { color: #fff; text-decoration: underline; }

/* 01/12/2026: total seats left switched off - one full-width tile, label left and number right */
.adm-quick__stats.is-single { grid-template-columns: 1fr; }
.adm-quick__stats.is-single > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.adm-quick__stats.is-single dd { margin: 0; }
/* phone bar "Help" jumps here; the header must not cover the title */
.adm-help { scroll-margin-top: 90px; }
