:root {
  /* SKN brand palette (maroon primary, remapped onto legacy --green-* names) */
  --green-900: #4d0d17;
  --green-800: #7a1523;
  --green-700: #8f1d2d;
  --green-600: #a8324a;
  --green-100: #f6e7ea;
  --green-50: #fbf3f4;
  --gold: #c99a2e;
  --navy: #12203f;
  --brand-grad: linear-gradient(120deg, #6a2c9c 0%, #b83a6b 55%, #f26b3a 100%);
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e6e2e4;
  --bg: #f5f2f3;
  --red-50: #fdecea;
  --red-600: #c0392b;
  --amber-50: #fff7e6;
  --amber-700: #b7791f;
  --blue-50: #eaf2fd;
  --blue-700: #1e4fa3;
  --radius: 10px;
  --shadow: 0 2px 8px rgba(77, 13, 23, 0.08);
  --shadow-lg: 0 8px 30px rgba(77, 13, 23, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.page { padding-top: 28px; padding-bottom: 48px; min-height: 60vh; }

/* ---------- Header ---------- */
.brand-strip { height: 5px; background: var(--brand-grad); }
.site-header {
  background: #fff;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.brand-logo { height: 58px; width: auto; max-width: 240px; display: block; }
.brand-fallback { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-grad); color: #fff;
  font-weight: 800; letter-spacing: .5px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.1rem; color: var(--navy); }
.brand-text small { font-size: .72rem; color: var(--green-800); font-weight: 600; letter-spacing: .3px; }

.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a:not(.btn) { color: var(--navy); text-decoration: none; font-size: .93rem; font-weight: 600; }
.main-nav a:not(.btn):hover, .main-nav a:not(.btn).active { color: var(--green-800); }
/* keep button variants' own text colours (do not inherit nav navy) */
.main-nav .btn-primary { color: #fff; }
.main-nav .btn-secondary { color: var(--green-800); }
.inline { display: inline; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cdd6ea; margin-top: 40px; border-top: 4px solid; border-image: var(--brand-grad) 1; }
.footer-inner { padding: 24px 0; display: flex; flex-direction: column; gap: 10px; font-size: .85rem; }
.footer-brand strong { color: #fff; font-size: 1.05rem; margin-right: 10px; }
.footer-brand span { color: var(--gold); font-style: italic; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 18px; color: #9fb0d4; }
.footer-meta a { color: #9fb0d4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 8px; border: 1px solid transparent;
  font-size: .95rem; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: all .15s ease;
}
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 2px 6px rgba(122,21,35,.25); }
.btn-primary:hover { background: var(--green-800); box-shadow: 0 4px 12px rgba(122,21,35,.32); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #3a2f04; box-shadow: 0 2px 6px rgba(201,154,46,.3); }
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-ghost { background: transparent; color: #fff; border-color: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-secondary { background: #fff; color: var(--green-800); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--green-600); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 26px; }
.card-header { padding: 18px 26px; border-bottom: 1px solid var(--line); background: var(--green-50); border-radius: var(--radius) var(--radius) 0 0; }
.card-header h2 { margin: 0; font-size: 1.15rem; color: var(--green-800); }

/* ---------- Alerts ---------- */
.alert { border-radius: 8px; padding: 12px 16px; margin-bottom: 18px; font-size: .92rem; border: 1px solid; }
.alert-success { background: var(--green-100); border-color: #b7e0c6; color: var(--green-800); }
.alert-error { background: var(--red-50); border-color: #f5c6cb; color: var(--red-600); }
.alert-info { background: var(--amber-50); border-color: #f3d9a0; color: var(--amber-700); }
.alert div + div { margin-top: 4px; }

/* ---------- Hero (landing) ---------- */
.hero {
  background: var(--brand-grad);
  color: #fff; border-radius: 16px; padding: 44px 40px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
}
.hero-badge { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: 1px; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.hero h1 { margin: 0 0 12px; font-size: 2.3rem; line-height: 1.12; font-weight: 800; }
.hero-accent { color: #ffd76a; }
.hero p { margin: 0 0 22px; font-size: 1.05rem; opacity: .96; }
.hero-note { margin: 18px 0 0 !important; font-size: .9rem; background: rgba(0,0,0,.15); padding: 10px 14px; border-radius: 8px; display: inline-block; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: 22px; }
.hero-card h3 { margin: 0 0 14px; font-size: 1rem; letter-spacing: .3px; }
.hero-card ul { margin: 0; padding-left: 18px; }
.hero-card li { margin: 7px 0; font-size: .95rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 34px 0; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.step .num { width: 38px; height: 38px; border-radius: 50%; background: var(--green-100); color: var(--green-800); font-weight: 800; display: grid; place-items: center; margin: 0 auto 12px; }
.step h4 { margin: 0 0 6px; color: var(--green-800); font-size: 1rem; }
.step p { margin: 0; font-size: .86rem; color: var(--muted); }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.info-tile { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green-600); border-radius: 8px; padding: 16px 18px; }
.info-tile .label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.info-tile .value { font-size: 1.15rem; font-weight: 700; color: var(--green-800); margin-top: 4px; }

/* ---------- Forms ---------- */
.section-title { font-size: 1.4rem; color: var(--green-800); margin: 0 0 6px; }
.section-sub { color: var(--muted); margin: 0 0 22px; }

/* Card-style form sections (replaces native fieldset/legend) */
.form-section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 0 22px; overflow: hidden; }
.form-section-head { display: flex; align-items: center; gap: 12px; padding: 15px 22px; background: var(--green-50); border-bottom: 1px solid var(--line); font-weight: 700; color: var(--green-800); font-size: 1.05rem; }
.fs-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green-700); color: #fff; font-size: .9rem; font-weight: 800; flex: none; }
.form-section-body { padding: 22px; }

fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px; margin: 0 0 22px; background: #fff; min-width: 0; }
legend { padding: 0 10px; font-weight: 700; color: var(--green-800); font-size: 1.02rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.span-2 { grid-column: span 2; }
.field.span-3 { grid-column: 1 / -1; }
label { font-size: .88rem; font-weight: 600; color: #374151; }
label .req { color: var(--red-600); }

/* Reserve a consistent label height so inputs line up across a row,
   regardless of whether a neighbouring label wraps to two lines. */
.grid-2 > .field > label:first-child,
.grid-3 > .field > label:first-child {
  min-height: 2.5em; display: flex; align-items: flex-end; line-height: 1.25;
}

input, select, textarea {
  font: inherit; width: 100%; min-width: 0; box-sizing: border-box;
  height: 44px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 8px;
  background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
select { padding-right: 8px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(122,21,35,.15); }
input[type="file"] { height: auto; min-height: 44px; padding: 9px 12px; line-height: 1.4; background: #fbfbfc; cursor: pointer; }
input[type="file"]::file-selector-button { font: inherit; margin-right: 12px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--green-50); color: var(--green-800); font-weight: 600; cursor: pointer; }
.hint { font-size: .78rem; color: var(--muted); line-height: 1.3; }
textarea { height: auto; padding: 10px 12px; resize: vertical; min-height: 80px; }

.form-actions { display: flex; gap: 14px; align-items: center; margin-top: 8px; flex-wrap: wrap; }

/* Auth pages */
.auth-wrap { max-width: 440px; margin: 20px auto; }
.auth-wrap .card-pad { padding: 30px; }
.auth-links { text-align: center; margin-top: 16px; font-size: .9rem; color: var(--muted); }

/* ---------- Dashboard ---------- */
.dash-grid { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }
.profile-card { text-align: center; }
.avatar { width: 120px; height: 140px; object-fit: cover; border: 3px solid var(--green-100); border-radius: 8px; background: #f1f5f9; }
.badge { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.badge-success { background: #e6f4ec; color: #0f7a3d; }
.badge-pending { background: var(--amber-50); color: var(--amber-700); }
.badge-info { background: var(--blue-50); color: var(--blue-700); }
.badge-danger { background: var(--red-50); color: var(--red-600); }
.stat-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.stat-row:last-child { border-bottom: 0; }
.stat-row .k { color: var(--muted); }
.stat-row .v { font-weight: 600; }

.detail-table { width: 100%; border-collapse: collapse; }
.detail-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
.detail-table td.k { color: var(--muted); width: 42%; }
.detail-table td.v { font-weight: 600; }

.action-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 4px; }
.action-tile { display: block; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .12s, border-color .12s; }
.action-tile:hover { transform: translateY(-2px); border-color: var(--green-600); }
.action-tile.disabled { opacity: .55; pointer-events: none; }
.action-tile .at-title { font-weight: 700; color: var(--green-800); }
.action-tile .at-desc { font-size: .84rem; color: var(--muted); margin-top: 4px; }

/* ---------- Payment ---------- */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.method-list { display: grid; gap: 10px; }
.method {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer; transition: border-color .12s, background .12s;
}
.method:hover { border-color: var(--green-600); }
.method input { accent-color: var(--green-700); width: 18px; height: 18px; }
.method .m-name { font-weight: 600; }
.method .m-tag { margin-left: auto; font-size: .78rem; color: var(--muted); }
.method.selected { border-color: var(--green-700); background: var(--green-50); }
.pay-fields { margin-top: 18px; }
.summary-card .line { display: flex; justify-content: space-between; padding: 8px 0; font-size: .92rem; }
.summary-card .total { border-top: 2px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 1.15rem; font-weight: 800; color: var(--green-800); }

/* ---------- Admit Card ---------- */
.admit-toolbar { max-width: 820px; margin: 24px auto 12px; display: flex; justify-content: space-between; align-items: center; }
.admit-card {
  max-width: 820px; margin: 0 auto 40px; background: #fff; border: 2px solid var(--green-700);
  border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.admit-head { display: flex; align-items: center; gap: 16px; padding: 18px 24px; background: var(--green-800); color: #fff; }
.admit-head .ac-mark { width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--green-800); display: grid; place-items: center; font-weight: 800; border: 2px solid var(--gold); }
.admit-head h2 { margin: 0; font-size: 1.2rem; }
.admit-head p { margin: 2px 0 0; font-size: .82rem; opacity: .9; }
.admit-title { text-align: center; background: var(--gold); color: #3a2f04; font-weight: 800; letter-spacing: 2px; padding: 8px; text-transform: uppercase; }
.admit-body { display: grid; grid-template-columns: 1fr 150px; gap: 20px; padding: 24px; }
.admit-photo { width: 140px; height: 165px; object-fit: cover; border: 2px solid var(--green-700); border-radius: 6px; }
.admit-sign { margin-top: 10px; text-align: center; }
.admit-sign img { max-width: 140px; max-height: 55px; object-fit: contain; }
.admit-sign .sign-blank { height: 48px; }
.admit-sign small { display: block; border-top: 1px solid var(--ink); margin-top: 4px; padding-top: 3px; color: var(--muted); }
.ac-table { width: 100%; border-collapse: collapse; }
.ac-table td { padding: 8px 10px; border: 1px solid var(--line); font-size: .9rem; }
.ac-table td.k { background: var(--green-50); color: var(--green-800); font-weight: 600; width: 38%; }
.admit-instructions { padding: 0 24px 22px; }
.admit-instructions h4 { color: var(--green-800); margin: 0 0 8px; }
.admit-instructions ol { margin: 0; padding-left: 20px; font-size: .84rem; color: #374151; }
.admit-instructions li { margin: 4px 0; }
.admit-foot { display: flex; justify-content: space-between; padding: 16px 24px 26px; }
.sig-box { text-align: center; font-size: .82rem; color: var(--muted); }
.sig-box .sig-line { width: 160px; border-top: 1px solid var(--ink); margin-bottom: 4px; }

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.muted { color: var(--muted); }
.error-page { text-align: center; padding: 60px 0; }
.error-page h1 { font-size: 3rem; color: var(--green-800); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 34px 26px; }
  .hero h1 { font-size: 1.9rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .field.span-2, .field.span-3 { grid-column: auto; }
  /* On a single column, labels no longer need reserved height to align */
  .grid-2 > .field > label:first-child,
  .grid-3 > .field > label:first-child { min-height: 0; display: block; }
  .admit-body { grid-template-columns: 1fr; }
  .header-inner { height: auto; padding: 12px 0; flex-wrap: wrap; gap: 12px; }
  .brand-logo { height: 44px; }
  .main-nav { gap: 12px; flex-wrap: wrap; }
  .contact-bar { flex-direction: column; gap: 8px; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 1.65rem; }
  .steps { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .card-pad { padding: 20px; }
  .section-title { font-size: 1.25rem; }
}

/* ---------- Admin: danger button ---------- */
.btn-danger { background: var(--red-600); color: #fff; }
.btn-danger:hover { filter: brightness(1.08); }

/* ---------- Admin login ---------- */
.admin-login-body {
  min-height: 100vh; margin: 0;
  display: grid; place-items: center;
  background: var(--brand-grad);
  padding: 20px;
}
.admin-login-card { width: 100%; max-width: 400px; background: #fff; border-radius: 14px; padding: 32px; box-shadow: var(--shadow-lg); }
.admin-login-head { text-align: center; margin-bottom: 20px; }
.admin-login-head .brand-mark { margin: 0 auto 12px; width: 54px; height: 54px; }
.admin-login-head h2 { margin: 0; color: var(--green-800); }
.admin-login-head p { margin: 4px 0 0; color: var(--muted); font-size: .85rem; }

/* ---------- Admin shell ---------- */
.admin-body { margin: 0; background: var(--bg); }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--green-900); color: #cfe6da; display: flex; flex-direction: column; padding: 20px 16px; position: sticky; top: 0; height: 100vh; }
.admin-brand { display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 16px; }
.admin-brand .brand-mark { width: 42px; height: 42px; }
.admin-brand strong { display: block; color: #fff; font-size: .98rem; }
.admin-brand small { color: #9fc4b1; font-size: .74rem; }
.admin-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.admin-nav a { color: #cfe6da; text-decoration: none; padding: 11px 14px; border-radius: 8px; font-size: .92rem; transition: background .12s; }
.admin-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-nav a.active { background: var(--green-700); color: #fff; font-weight: 600; }
.admin-logout { margin-top: 16px; }

.admin-main { display: flex; flex-direction: column; min-width: 0; }
.admin-topbar { background: #fff; border-bottom: 1px solid var(--line); padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; }
.admin-topbar h1 { margin: 0; font-size: 1.3rem; color: var(--green-800); }
.admin-user { color: var(--muted); font-size: .9rem; }
.admin-content { padding: 26px 28px 48px; }

/* KPI cards */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: var(--shadow); border-left: 5px solid var(--green-600); }
.kpi-blue { border-left-color: #2563eb; }
.kpi-amber { border-left-color: var(--amber-700); }
.kpi-gold { border-left-color: var(--gold); }
.kpi-label { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .4px; }
.kpi-value { font-size: 1.7rem; font-weight: 800; color: var(--ink); margin-top: 6px; }

.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.admin-detail-cols { grid-template-columns: 260px 1fr; }

/* Admin tables */
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table thead th { text-align: left; background: var(--green-50); color: var(--green-800); padding: 11px 14px; border-bottom: 2px solid var(--line); font-size: .82rem; text-transform: uppercase; letter-spacing: .3px; }
.admin-table tbody td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.admin-table tbody tr:hover { background: var(--green-50); }
.admin-table .empty { text-align: center; color: var(--muted); padding: 24px; }

.admin-filter { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.admin-filter input[type="text"] { flex: 1; min-width: 220px; }

.admin-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.admin-actions form { margin: 0; }
.detail-topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .admin-brand { border: 0; margin: 0; padding: 0; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; flex: 1 1 100%; }
  .admin-logout { margin: 0; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .admin-two-col, .admin-detail-cols { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .reject-form { flex-wrap: wrap; }
  .reject-form input { min-width: 0; flex: 1 1 180px; }
}
@media (max-width: 640px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .admin-content { padding: 20px 16px 40px; }
  .admin-table { display: block; overflow-x: auto; white-space: nowrap; }
  .doc-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Hero fee box ---------- */
.hero-fee { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 14px; padding: 24px; text-align: center; }
.hero-fee-label { font-size: .85rem; letter-spacing: 1px; text-transform: uppercase; opacity: .9; }
.hero-fee-amount { font-size: 2.8rem; font-weight: 800; line-height: 1.1; margin: 6px 0; color: #ffd76a; }
.hero-fee-sub { font-size: .9rem; opacity: .95; }

/* ---------- Deadline banner ---------- */
.deadline-banner {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(100deg, var(--green-800), var(--green-700));
  color: #fff; border-radius: 14px; padding: 18px 24px; margin-top: 22px; box-shadow: var(--shadow);
  border-left: 6px solid var(--gold);
}
.deadline-banner .db-icon { font-size: 2rem; }
.deadline-banner .db-text { display: flex; flex-direction: column; line-height: 1.2; }
.deadline-banner .db-label { font-size: .82rem; text-transform: uppercase; letter-spacing: .6px; opacity: .9; }
.deadline-banner .db-date { font-size: 1.7rem; font-weight: 800; color: #ffd76a; }
.deadline-banner .btn { margin-left: auto; }

/* ---------- Key details cards ---------- */
.key-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.key-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; text-align: center; box-shadow: var(--shadow); border-top: 4px solid var(--green-600); }
.key-card.key-a { border-top-color: #2563eb; }
.key-card.key-b { border-top-color: #0f7a3d; }
.key-card.key-c { border-top-color: var(--amber-700); }
.key-card.key-d { border-top-color: #7b2b9e; }
.key-ico { font-size: 1.7rem; }
.key-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-top: 6px; }
.key-value { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-top: 4px; line-height: 1.25; }
.key-note { font-size: .8rem; color: var(--green-800); margin-top: 4px; font-weight: 600; }

/* ---------- City centers ---------- */
.centers-head { margin-top: 32px; }
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 16px; }
.city-card { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; transition: transform .12s, box-shadow .12s; }
.city-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.city-pic { position: relative; height: 170px; background: var(--brand-grad); }
.city-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.city-pic.no-pic::after { content: "🏙️"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; }
.city-tag { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.city-name { padding: 14px 16px; font-size: 1.25rem; font-weight: 800; color: var(--green-800); text-align: center; }

/* ---------- Landing extras ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.why-item { background: var(--green-50); border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.why-item strong { display: block; color: var(--green-800); margin-bottom: 6px; }
.why-item span { font-size: .88rem; color: var(--muted); }
.contact-bar { margin-top: 24px; background: var(--navy); color: #fff; border-radius: 12px; padding: 18px 24px; display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; font-size: .95rem; }
.contact-bar strong { color: var(--gold); }

/* ---------- Payment: accounts + instructions ---------- */
.account-list { display: grid; gap: 12px; }
.account { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-left: 4px solid var(--green-600); border-radius: 10px; padding: 14px 16px; background: #fff; }
.account-method { font-weight: 800; color: var(--green-800); min-width: 110px; }
.account-detail { font-size: .92rem; }

/* Payment account row with QR + copy button */
.pay-account { justify-content: space-between; }
.account-body { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; min-width: 0; }
.acc-number-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.acc-number { word-break: break-word; }
.copy-btn { border: 1px solid var(--line); background: var(--green-50); color: var(--green-800); font: inherit; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; cursor: pointer; white-space: nowrap; transition: all .12s; }
.copy-btn:hover { border-color: var(--green-600); }
.copy-btn.copied { background: #e6f4ec; color: #0f7a3d; border-color: #b7e0c6; }
.account-qr { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: .7rem; flex: none; }
.account-qr img { width: 88px; height: 88px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 4px; }

/* Admin payment settings */
.pay-admin-list { display: grid; gap: 12px; }
.pay-admin-row { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; background: #fff; flex-wrap: wrap; }
.pay-admin-row .pa-qr img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; background: #fff; padding: 3px; }
.pay-admin-row .pa-info { flex: 1; min-width: 180px; }
.pay-admin-row .pa-info .pa-method { font-weight: 800; color: var(--green-800); }
.pay-admin-row .pa-info .pa-sub { font-size: .88rem; color: var(--muted); }
.pay-admin-row .pa-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-instructions { margin: 18px 0 0; padding-left: 20px; font-size: .88rem; color: #374151; }
.pay-instructions li { margin: 6px 0; }

/* ---------- Documents (admin) ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.doc-thumb { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--navy); background: #fff; transition: border-color .12s, transform .12s; }
.doc-thumb:hover { border-color: var(--green-600); transform: translateY(-2px); }
.doc-thumb img { width: 100%; height: 130px; object-fit: cover; background: #f1f5f9; display: block; }
.doc-thumb span { display: block; text-align: center; padding: 8px; font-size: .82rem; font-weight: 600; }

/* Verify / reject row */
.verify-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.verify-row form { margin: 0; }
.reject-form { display: flex; gap: 8px; align-items: center; }
.reject-form input { min-width: 240px; }

/* Logo chips (on dark backgrounds) */
.logo-chip { display: inline-grid; place-items: center; background: #fff; border-radius: 10px; padding: 6px; width: 44px; height: 44px; font-weight: 800; color: var(--green-800); overflow: hidden; }
.logo-chip img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-chip-lg { width: 76px; height: 76px; margin: 0 auto 12px; border-radius: 14px; }

/* Admit card logo mark */
.admit-head .ac-mark img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---------- Final responsive overrides ----------
   Placed last so they win over base component rules that are
   declared later in this file (equal specificity => source order). */
@media (max-width: 900px) {
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .contact-bar { flex-direction: column; gap: 8px; align-items: flex-start; }
  .account { flex-direction: column; align-items: flex-start; gap: 6px; }
  .account-method { min-width: 0; }
  .key-grid { grid-template-columns: 1fr 1fr; }
  .city-grid { grid-template-columns: 1fr; }
  .deadline-banner { flex-direction: column; align-items: flex-start; text-align: left; }
  .deadline-banner .btn { margin-left: 0; }
  .pay-account { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .key-grid { grid-template-columns: 1fr; }
  .hero-fee-amount { font-size: 2.3rem; }
  .deadline-banner .db-date { font-size: 1.4rem; }
}
@media (max-width: 640px) {
  .doc-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Print (admit card) ---------- */
@media print {
  body { background: #fff; }
  .admit-toolbar, .site-header, .site-footer { display: none !important; }
  .admit-card { box-shadow: none; border-color: #000; margin: 0; }
}
