/* ==========================================================================
   Applicant panel — bright, simple, mobile-first. Deep emerald + gold.
   ========================================================================== */
body.applicant {
  --brand: #0b6b52; --brand-600: #095c46; --brand-700: #074a39; --brand-50: #ecf8f3; --brand-100: #d3efe3; --brand-rgb: 11, 107, 82;
  --accent: #c9971c; --accent-50: #fbf4e2;
  --canvas: #f5f8f6;
  background:
    radial-gradient(1200px 520px at 100% -10%, rgba(11, 107, 82, .06), transparent 60%),
    radial-gradient(900px 420px at -10% 20%, rgba(201, 151, 28, .05), transparent 60%),
    var(--canvas);
}

/* Utility strip + glass navbar */
.top-strip { background: var(--brand-700); color: rgba(255,255,255,.82); font-size: .78rem; }
.top-strip a { color: #fff; text-decoration: none; }
.top-strip .container { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding-top: .35rem; padding-bottom: .35rem; }
.applicant .navbar {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, .07);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
  padding-top: .6rem; padding-bottom: .6rem;
}
.applicant .navbar .nav-link { color: var(--ink-2); font-weight: 600; font-size: .9rem; padding: .45rem .8rem !important; border-radius: var(--r-pill); transition: background-color .15s var(--ease), color .15s var(--ease); }
.applicant .navbar .nav-link:hover { color: var(--brand); background: var(--brand-50); }
.applicant .navbar .nav-link.active { color: var(--brand-700); background: var(--brand-50); }
.applicant .navbar-toggler { border: 1px solid var(--line); border-radius: 10px; padding: .35rem .55rem; }
.applicant .navbar-toggler:focus { box-shadow: var(--ring); }
.brand-title { line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--ink); font-size: 1rem; }
.brand-title small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.brand-title .brand-bn { font-family: var(--font-bn); font-weight: 600; color: var(--brand); font-size: .78rem; display: block; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(800px 380px at 85% 0%, rgba(201, 151, 28, .35), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(52, 211, 153, .22), transparent 60%),
    linear-gradient(135deg, #064234 0%, #0b6b52 55%, #0f8a69 100%);
  padding: 3rem 0 4.5rem;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero > .container { position: relative; }
.hero h1 { font-weight: 800; letter-spacing: -.04em; line-height: 1.08; color: #fff; }
.hero .lead { color: rgba(255,255,255,.86); font-size: 1.08rem; }
.hero-kicker { display: inline-flex; align-items: center; gap: .5rem; padding: .32rem .75rem; border-radius: var(--r-pill); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hero-kicker .dot { width: .5rem; height: .5rem; border-radius: 50%; background: #fcd34d; box-shadow: 0 0 0 4px rgba(252, 211, 77, .25); }
.hero .btn-light { --bs-btn-bg: #fff; --bs-btn-color: var(--brand-700); --bs-btn-hover-bg: #f2fbf7; --bs-btn-hover-color: var(--brand-700); --bs-btn-border-color: #fff; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.hero .btn-outline-light { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.45); --bs-btn-hover-bg: rgba(255,255,255,.12); --bs-btn-hover-border-color: #fff; --bs-btn-hover-color: #fff; }
.hero-card { background: rgba(255,255,255,.97); color: var(--ink); border-radius: var(--r-xl); box-shadow: 0 30px 60px -24px rgba(2, 44, 34, .55); border: 1px solid rgba(255,255,255,.7); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.6rem; }
.hero-facts .fact strong { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.hero-facts .fact span { font-size: .78rem; color: rgba(255,255,255,.75); }
.lift { margin-top: -2.4rem; position: relative; z-index: 2; }

/* Page header used on portal pages */
.ap-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .75rem; margin-bottom: 1.25rem; }
.ap-head h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.035em; margin: 0; }
.ap-head .ap-sub { color: var(--muted); font-size: .875rem; }
.app-no { font-family: var(--font-mono); font-weight: 700; letter-spacing: .06em; color: var(--brand-700); }
.app-chip { display: inline-flex; flex-direction: column; align-items: flex-end; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: .45rem .8rem; box-shadow: var(--shadow-xs); }
.app-chip .label { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }

/* Unit cards */
.unit-card { position: relative; border-left: 0; }
.unit-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #d6dde5; }
.unit-card.eligible::before { background: linear-gradient(180deg, var(--brand), #22c08f); }
.unit-card.paid::before { background: linear-gradient(180deg, #15803d, #4ade80); }
.unit-card.paid { background: linear-gradient(180deg, #f6fdf9, #fff 40%); }
.unit-card.ineligible { opacity: .78; }
.unit-card .fee { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }

.notice-pin { color: var(--accent); }
.big-btn { padding: .82rem 1.4rem; font-size: 1rem; font-weight: 700; border-radius: var(--r); }

/* Footer */
.site-footer { background: #062e24; color: rgba(255,255,255,.72); font-size: .85rem; margin-top: 3rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .foot-brand { color: #fff; font-weight: 800; letter-spacing: -.02em; }
.site-footer .foot-title { color: #fff; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6rem; }
.site-footer .foot-bottom { border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.55); font-size: .78rem; }
.site-footer .foot-links li { margin-bottom: .35rem; }

@media (min-width: 992px) { .hero { padding: 4.25rem 0 5.5rem; } .hero h1 { font-size: 3rem; } }
@media (max-width: 575.98px) { .hero { padding: 2.2rem 0 3.6rem; } .hero h1 { font-size: 1.85rem; } .ap-head h1 { font-size: 1.35rem; } }

/* Apply: the main call to action, in the gold accent */
.btn-apply {
  --bs-btn-color: #3b2a04; --bs-btn-bg: #f4c542; --bs-btn-border-color: #e5b52f;
  --bs-btn-hover-color: #2c1f02; --bs-btn-hover-bg: #f7d062; --bs-btn-hover-border-color: #ecbd3a;
  --bs-btn-active-color: #2c1f02; --bs-btn-active-bg: #e9b92f; --bs-btn-active-border-color: #d9a823;
  --bs-btn-focus-shadow-rgb: 244, 197, 66;
  --bs-btn-disabled-color: #7c6a3e; --bs-btn-disabled-bg: #efe6cf; --bs-btn-disabled-border-color: #e6dcc0; --bs-btn-disabled-opacity: 1;
  font-weight: 800; letter-spacing: .01em;
  box-shadow: 0 10px 22px -12px rgba(201, 151, 28, .9), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn-apply.disabled, .btn-apply:disabled { box-shadow: none; cursor: not-allowed; pointer-events: auto; }
.hero .btn-apply.disabled { --bs-btn-disabled-bg: rgba(255,255,255,.18); --bs-btn-disabled-border-color: rgba(255,255,255,.28); --bs-btn-disabled-color: rgba(255,255,255,.75); }
.pub-apply-note { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; padding: .3rem .75rem; border-radius: var(--r-pill); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.9); }
.pub-apply-note.is-closed .bi { color: #fcd34d; }
