/* ==========================================================================
   HL University — premium theme for the applicant site (loaded last).
   Blue, as on cou.ac.bd (#00B2FF sky blue, deep blues) on ivory. Overrides frame/app/public/portal
   colours only; layout is unchanged. Remove the <link> to go back.
   ========================================================================== */
:root, body.applicant {
  /* palette */
  --hl-navy-950: #082b5c;
  --hl-navy-900: #0b3c7a;
  --hl-navy-800: #0d5aa7;
  --hl-navy-700: #0a74c4;
  --hl-navy-600: #00a6f0;
  --hl-gold: #00b2ff;          /* accents, rules, icons */
  --hl-gold-light: #8fdcff;
  --hl-gold-pale: #e2f5ff;
  --hl-gold-deep: #0077b6;     /* gold used as text (AA on white/ivory) */
  --hl-ivory: #f4f7fb;
  --hl-ivory-2: #fafcfe;
  --hl-line: #dfe7f1;

  /* shared tokens (base.css / app.css) */
  --brand: #0a74c4; --brand-600: #0b66ad; --brand-700: #0d5aa7;
  --brand-50: #e8f6ff; --brand-100: #c9ecff; --brand-rgb: 10, 116, 196;
  --accent: var(--hl-gold); --accent-50: var(--hl-gold-pale);
  --ink: #1b2430; --ink-2: #3d4757; --muted: #6b7686;
  --line: var(--hl-line); --line-2: #eaf0f7;
  --canvas: var(--hl-ivory); --surface-2: var(--hl-ivory-2);

  /* frame tokens (frame.css) */
  --pf-navy: var(--hl-navy-800);
  --pf-navy-2: var(--hl-navy-700);
  --pf-cyan: var(--hl-gold);
  --pf-blue: var(--hl-navy-700);
  --pf-sky: #edf4fb;
  --pf-sky-line: #d9e6f4;
  --pf-sky-ink: var(--hl-gold-deep);
  --pf-ink: #1b2430;
  --pf-ink-2: #4a5568;
  --pf-line: var(--hl-line);
  --pf-page: var(--hl-ivory);
  --pf-radius: 16px;
  --pf-shadow: 0 1px 2px rgba(11, 60, 122, .04), 0 10px 28px -16px rgba(11, 60, 122, .22);
  --pf-shadow-lg: 0 2px 4px rgba(11, 60, 122, .04), 0 28px 56px -28px rgba(11, 60, 122, .38);
}

body.applicant, .pf-body {
  background:
    radial-gradient(1100px 420px at 50% -160px, rgba(0, 178, 255, .10), transparent 70%),
    radial-gradient(900px 500px at 110% 40%, rgba(10, 116, 196, .05), transparent 60%),
    var(--hl-ivory);
}
::selection { background: rgba(0, 178, 255, .25); }

/* ---------- Header ---------- */
.pf-header {
  background:
    radial-gradient(700px 260px at 88% -60px, rgba(143, 220, 255, .22), transparent 70%),
    radial-gradient(520px 240px at 6% 150%, rgba(0, 166, 240, .55), transparent 70%),
    linear-gradient(115deg, var(--hl-navy-950) 0%, var(--hl-navy-900) 45%, var(--hl-navy-800) 100%);
}
.pf-header::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, rgba(143, 220, 255, .14) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
}
.pf-header::after { height: 2px; background: linear-gradient(90deg, transparent, var(--hl-gold) 18%, var(--hl-gold-light) 50%, var(--hl-gold) 82%, transparent); }
.pf-logo { border-radius: 18px; box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(143, 220, 255, .55), 0 0 0 4px rgba(143, 220, 255, .12); }
.pf-logo-mark { color: var(--hl-navy-800); letter-spacing: .04em; }
.pf-brand-name { letter-spacing: .005em; }
.pf-brand-sub { color: var(--hl-gold-light); font-weight: 500; letter-spacing: .01em; }
.pf-status, .pf-user { background: rgba(255, 255, 255, .06); border-color: rgba(143, 220, 255, .35); color: #ecf3fb; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pf-status-dot { background: var(--hl-gold-light); box-shadow: 0 0 0 4px rgba(143, 220, 255, .18); }
.pf-status.is-open .pf-status-dot { background: #5ad39a; box-shadow: 0 0 0 4px rgba(90, 211, 154, .2); }

/* ---------- Side boxes + menu ---------- */
.pf-box { border-color: var(--hl-line); }
.pf-box-title {
  color: var(--hl-navy-800); letter-spacing: -.005em;
  background: linear-gradient(180deg, #f5faff, #eef5fc); border-bottom: 1px solid #dbe8f5;
}
.pf-box-ico { color: var(--hl-navy-900); background: linear-gradient(140deg, var(--hl-gold-light), var(--hl-gold)); box-shadow: 0 6px 14px -7px rgba(0, 178, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .45); }

.pf-menu-ico { background: #eef5fc; color: var(--hl-gold-deep); }
.pf-menu-link:hover { background: #f3f8fd; color: var(--hl-navy-800); }
.pf-menu-link:hover .pf-menu-ico { background: var(--hl-gold-pale); }
.pf-menu-link.active {
  background: linear-gradient(120deg, var(--hl-navy-900), var(--hl-navy-700));
  color: #fff; box-shadow: 0 12px 24px -14px rgba(11, 60, 122, .85), inset 3px 0 0 var(--hl-gold-light);
}
.pf-menu-link.active .pf-menu-ico { background: rgba(143, 220, 255, .16); color: var(--hl-gold-light); }
.pf-menu-link.active .pf-menu-go { color: var(--hl-gold-light); }

.pf-contact-ico { background: #eef5fc; color: var(--hl-gold-deep); }
.pf-contact-label { color: #6f7f93; }
.pf-contact-item a:hover { color: var(--hl-navy-700); }

/* ---------- Main card ---------- */
.pf-card { border-color: var(--hl-line); }
.pf-card-head {
  background:
    radial-gradient(460px 180px at 100% -20px, rgba(143, 220, 255, .28), transparent 70%),
    linear-gradient(115deg, var(--hl-navy-900) 0%, var(--hl-navy-700) 100%);
  box-shadow: inset 0 -1px 0 rgba(143, 220, 255, .35);
}
.pf-card-ico { background: rgba(143, 220, 255, .14); border-color: rgba(143, 220, 255, .45); color: var(--hl-gold-light); }
.pf-card-kicker { color: var(--hl-gold-light); }
.pf-card-sub { color: var(--hl-navy-800); }
.pf-card-sub i { color: var(--hl-gold); }

/* Eligibility table */
.pf-un-code { background: linear-gradient(140deg, var(--hl-navy-800), var(--hl-navy-600)); color: var(--hl-gold-light); box-shadow: 0 6px 14px -8px rgba(11, 60, 122, .7), inset 0 0 0 1px rgba(143, 220, 255, .35); }
.pf-un-table thead th { background: #f4f9fe; color: #66758a; }
.pf-un-table tbody tr:hover { background: rgba(0, 178, 255, .05); }
.pf-un-legend span { background: #f4f9fe; border-color: #e5eef8; }
.pf-g-science { --g: #0f7f73; --g-bg: rgba(15, 127, 115, .08); }
.pf-g-humanities { --g: #6a4fc0; --g-bg: rgba(106, 79, 192, .08); }
.pf-g-business { --g: #006aa3; --g-bg: rgba(0, 178, 255, .1); }

/* Steps */
.pf-steps > li::before { color: var(--hl-gold-light); background: linear-gradient(140deg, var(--hl-navy-800), var(--hl-navy-600)); box-shadow: 0 4px 10px -5px rgba(11, 60, 122, .6); }
.pf-step-tags > span { background: #f4f9fe; border-color: #e1ebf6; color: var(--hl-navy-700); }

/* Apply (main call to action) */
.pf-apply {
  color: var(--hl-navy-950); letter-spacing: .01em;
  background: linear-gradient(135deg, #b8e9ff 0%, var(--hl-gold-light) 35%, var(--hl-gold) 100%);
  box-shadow: 0 16px 30px -16px rgba(0, 119, 182, .95), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.pf-apply:hover, .pf-apply:focus-visible { color: var(--hl-navy-950); box-shadow: 0 20px 34px -16px rgba(0, 119, 182, 1), inset 0 1px 0 rgba(255, 255, 255, .65); }
.pf-apply.disabled { background: #ccd8e6; color: #687790; }
.btn-apply {
  --bs-btn-color: var(--hl-navy-950); --bs-btn-bg: var(--hl-gold-light); --bs-btn-border-color: #5fcbff;
  --bs-btn-hover-color: var(--hl-navy-950); --bs-btn-hover-bg: #c5ecff; --bs-btn-hover-border-color: #6fd0ff;
  --bs-btn-active-color: var(--hl-navy-950); --bs-btn-active-bg: #5fcbff; --bs-btn-active-border-color: #33bdff;
  --bs-btn-focus-shadow-rgb: 0, 178, 255;
}

/* Buttons + forms in the page column */
.applicant .btn-primary {
  --bs-btn-bg: var(--hl-navy-800); --bs-btn-border-color: var(--hl-navy-800);
  --bs-btn-hover-bg: var(--hl-navy-700); --bs-btn-hover-border-color: var(--hl-navy-700);
  --bs-btn-active-bg: var(--hl-navy-900); --bs-btn-active-border-color: var(--hl-navy-900);
  --bs-btn-disabled-bg: var(--hl-navy-600); --bs-btn-disabled-border-color: var(--hl-navy-600);
  box-shadow: 0 10px 22px -14px rgba(11, 60, 122, .9);
}
.applicant .btn-outline-primary {
  --bs-btn-color: var(--hl-navy-700); --bs-btn-border-color: #b3dcf5;
  --bs-btn-hover-bg: var(--hl-navy-800); --bs-btn-hover-border-color: var(--hl-navy-800); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--hl-navy-900); --bs-btn-active-border-color: var(--hl-navy-900);
}
.applicant .form-control:focus, .applicant .form-select:focus { border-color: var(--hl-gold); box-shadow: 0 0 0 .22rem rgba(0, 178, 255, .18); }
.applicant .icon-chip { color: var(--hl-gold-light); background: linear-gradient(140deg, var(--hl-navy-800), var(--hl-navy-600)); box-shadow: 0 12px 24px -14px rgba(11, 60, 122, .8), inset 0 0 0 1px rgba(143, 220, 255, .3); }
.applicant a:not(.btn):not(.pf-menu-link):not(.pf-apply):not(.pf-brand):not(.lx-new-btn) { color: var(--hl-navy-700); }
.applicant a:not(.btn):not(.pf-menu-link):not(.pf-apply):not(.pf-brand):not(.lx-new-btn):hover { color: var(--hl-gold-deep); }
.pf-header a, .pf-footer a { color: inherit; }

/* ---------- Important Dates ---------- */
.pf-timeline > li.is-upcoming::after { border-color: var(--hl-gold); }
.pf-timeline > li.is-running::after { border-color: #1f9d6a; box-shadow: 0 0 0 4px rgba(31, 157, 106, .16); }
.pf-date-title { color: var(--hl-navy-800); }
.is-upcoming > .pf-date-state { background: var(--hl-gold-pale); color: var(--hl-gold-deep); }

/* ---------- Signed-in portal ---------- */
.pp-greet {
  background:
    radial-gradient(520px 240px at 95% -20%, rgba(143, 220, 255, .3), transparent 65%),
    linear-gradient(115deg, var(--hl-navy-900) 0%, var(--hl-navy-700) 100%);
  box-shadow: 0 22px 44px -26px rgba(8, 43, 92, .7);
}
.pp-greet .kicker { color: var(--hl-gold-light); }
button.pp-unit-mark { box-shadow: 0 8px 18px -9px rgba(10, 116, 196, .75), inset 0 1px 0 rgba(255, 255, 255, .45); }

/* ---------- Footer ---------- */
.pf-footer {
  background: linear-gradient(115deg, var(--hl-navy-950), var(--hl-navy-800));
  color: rgba(236, 244, 252, .72); border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--hl-gold), transparent) 1;
}
.pf-footer a { color: var(--hl-gold-light); }

/* ---------- Home: unit-wise eligibility table (one row per eligible HSC group) ---------- */
.pf-el-note { font-size: .78rem; color: #66758a; }
.pf-el-table { --bs-table-bg: transparent; min-width: 520px; }
.pf-el-table thead th { padding: .75rem .9rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: #66758a; background: #f4f9fe; border-bottom: 1px solid var(--hl-line); }
.pf-el-table td, .pf-el-table th { padding: .7rem .9rem; border-color: #e8eef6; }
.pf-el-table tbody.pf-el-unit { border-top: 2px solid #dfe9f5; }
.pf-el-table tbody.pf-el-unit:first-of-type { border-top: 0; }
.pf-el-table tbody.pf-el-unit tr:hover td { background: rgba(0, 178, 255, .04); }
.pf-el-unitcell { background: #fbfdff; border-right: 1px solid #e8eef6; vertical-align: middle; width: 1%; white-space: nowrap; }
.pf-el-group { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .7rem; border-radius: 999px; font-size: .85rem; font-weight: 700; color: var(--g); background: var(--g-bg); border: 1px solid color-mix(in srgb, var(--g) 22%, transparent); white-space: nowrap; }
.pf-el-num { font-size: .95rem; font-weight: 600; color: var(--hl-navy-800); font-variant-numeric: tabular-nums; }
.pf-el-total { display: inline-block; min-width: 3.4rem; padding: .22rem .6rem; border-radius: 9px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--hl-navy-900); background: linear-gradient(140deg, #dff4ff, var(--hl-gold-pale)); box-shadow: inset 0 0 0 1px rgba(0, 178, 255, .35); }
@media (max-width: 575.98px) {
  .pf-el .pf-un-head { padding: .7rem .8rem; }
  .pf-el-table { min-width: 0; }
  .pf-el-table thead th { padding: .55rem .35rem; font-size: .64rem; letter-spacing: .05em; }
  .pf-el-table td, .pf-el-table th { padding: .5rem .35rem; }
  .pf-el-unitcell .pf-un-name { display: none; }
  .pf-el-unitcell .pf-un-code { flex-basis: 2rem; width: 2rem; height: 2rem; font-size: .85rem; border-radius: 9px; }
  .pf-el-group { padding: .15rem .45rem; font-size: .72rem; }
  .pf-el-group i { display: none; }
  .pf-el-num { font-size: .82rem; }
  .pf-el-total { min-width: 0; padding: .15rem .4rem; font-size: .82rem; }
  .pf-el-note { display: none; }
}
}

/* ---------- Notice board tabs (Notices · Prospectus · FAQ · Manual · Result) ---------- */
.nb-tabs { display: flex; gap: .4rem; flex-wrap: wrap; padding: .35rem; margin-bottom: 1.2rem; border-radius: 14px; background: #eef5fc; border: 1px solid #dbe8f5; }
.nb-tab { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .55rem .9rem; border-radius: 10px; font-size: .9rem; font-weight: 600; color: var(--hl-navy-700) !important; text-decoration: none; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.nb-tab i { color: var(--hl-gold-deep); }
.nb-tab:hover { background: rgba(255, 255, 255, .7); }
.nb-tab.is-active { color: #fff !important; background: linear-gradient(120deg, var(--hl-navy-900), var(--hl-navy-700)); box-shadow: 0 10px 20px -12px rgba(11, 60, 122, .8), inset 0 -2px 0 var(--hl-gold-light); }
.nb-tab.is-active i { color: var(--hl-gold-light); }
@media (max-width: 575.98px) { .nb-tab { flex: 1 1 30%; padding: .5rem .5rem; font-size: .82rem; } }
.nb-search .btn, .pf-head-search .btn { color: var(--hl-navy-950) !important; background: linear-gradient(135deg, #b8e9ff, var(--hl-gold-light) 45%, var(--hl-gold)) !important; border: 0 !important; font-weight: 700; box-shadow: 0 6px 14px -8px rgba(0, 119, 182, .9) !important; }

/* frame.css re-sets the brand to blue on body.applicant.pf-body (higher specificity than the
   tokens at the top of this file); restate navy + gold on the same selector so it wins. */
body.applicant.pf-body {
  --brand: #0a74c4; --brand-600: #0b66ad; --brand-700: #0d5aa7; --brand-50: #e8f6ff; --brand-100: #c9ecff; --brand-rgb: 10, 116, 196;
  --accent: #00b2ff; --accent-50: #e2f5ff;
  --bs-link-color: #0a74c4; --bs-link-color-rgb: 10, 116, 196; --bs-link-hover-color: #0077b6; --bs-link-hover-color-rgb: 0, 119, 182;
}
.pf-doc-btn:hover { color: var(--hl-navy-700); background: var(--brand-50); }
.pf-doc-btn.is-solid, .pf-body .nb-pdf-btn { color: #fff; background: linear-gradient(135deg, var(--hl-navy-700), var(--hl-navy-900)); }
.pf-faq-no { color: var(--hl-gold-light); background: linear-gradient(140deg, var(--hl-navy-800), var(--hl-navy-600)); }
.pf-body .pub-title .icon-chip.accent { background: linear-gradient(140deg, var(--hl-navy-800), var(--hl-navy-600)); color: var(--hl-gold-light); box-shadow: 0 8px 16px -8px rgba(11, 60, 122, .7); }
.pf-body .pub-steps li.current { border-color: rgba(0, 178, 255, .55); box-shadow: 0 0 0 3px rgba(0, 178, 255, .14); }
.fs-steps li.is-current { color: var(--hl-navy-800); background: var(--hl-gold-pale); border-color: #cfefff; }
.pf-body .btn-apply {
  --bs-btn-color: var(--hl-navy-950); --bs-btn-bg: var(--hl-gold-light); --bs-btn-border-color: #5fcbff;
  --bs-btn-hover-color: var(--hl-navy-950); --bs-btn-hover-bg: #c5ecff; --bs-btn-hover-border-color: #6fd0ff;
  --bs-btn-active-color: var(--hl-navy-950); --bs-btn-active-bg: #5fcbff; --bs-btn-active-border-color: #33bdff;
  --bs-btn-disabled-color: #687790; --bs-btn-disabled-bg: #ccd8e6; --bs-btn-disabled-border-color: #c6d3e2;
  box-shadow: 0 10px 22px -12px rgba(0, 119, 182, .85);
}
/* Coloured bands (Help desk, Equivalence, dashboard, signed-in pages) */
.pf-body .hero,
.pf-body .hd-hero,
.pf-body .pp-greet,
.pf-body .pub-split {
  background:
    radial-gradient(520px 240px at 100% 0%, rgba(143, 220, 255, .26), transparent 65%),
    radial-gradient(460px 240px at 0% 120%, rgba(0, 166, 240, .5), transparent 60%),
    linear-gradient(115deg, var(--hl-navy-950) 0%, var(--hl-navy-800) 60%, var(--hl-navy-700) 100%);
  box-shadow: 0 20px 40px -26px rgba(8, 43, 92, .75);
}

/* ---------- Equivalence: single form + tracking ---------- */
.pf-body .eq-part + .eq-part { margin-top: .5rem; padding-top: 1.25rem; border-top: 1px dashed var(--hl-line, #dfe7f1); }
.pf-body .trk-aside { border-color: rgba(0, 178, 255, .45); box-shadow: 0 10px 24px -18px rgba(11, 60, 122, .45); }
.pf-body .trk-aside .card-header { background: linear-gradient(135deg, var(--hl-navy-900), var(--hl-navy-700)); color: #fff; }
.pf-body .trk-aside .card-header .pub-head-title { color: #fff; }
.pf-body .trk-aside .card-header .pub-head-sub { color: var(--hl-gold-light); }
.pf-body .trk-aside .icon-chip { background: rgba(143, 220, 255, .18); color: var(--hl-gold-light); }
.pf-body .trk-card .pub-head { flex-wrap: wrap; gap: .5rem; }
.pf-body .trk-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; margin: 0 0 1rem; }
.pf-body .trk-facts > div { background: var(--hl-ivory, #f4f7fb); border: 1px solid var(--hl-line, #dfe7f1); border-radius: 10px; padding: .55rem .75rem; }
.pf-body .trk-facts dt { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--hl-gold-deep, #0077b6); }
.pf-body .trk-facts dd { margin: 0; font-weight: 600; color: var(--hl-navy-900, #0b3c7a); }
.pf-body .eq-steps li.done, .pf-body .eq-steps li.now { background: var(--hl-gold-pale, #e2f5ff); color: var(--hl-navy-900, #0b3c7a); }

/* ---------- Header help desk button ---------- */
.pf-head-help {
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .95rem; border-radius: 999px;
  font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap;
  color: var(--hl-navy-950); background: linear-gradient(140deg, #b8e9ff, var(--hl-gold-light) 45%, var(--hl-gold));
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .15s ease, box-shadow .15s ease;
}
.pf-head-help:hover, .pf-head-help:focus-visible { color: var(--hl-navy-950); transform: translateY(-1px); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .45); }
.pf-head-help.active { box-shadow: 0 0 0 2px #fff, 0 6px 16px -8px rgba(0, 0, 0, .6); }
@media (max-width: 575.98px) { .pf-head-help { padding: .45rem .7rem; } .pf-head-help span { display: none; } }

/* ---------- Header helpline ---------- */
.pf-head-phone {
  display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .9rem .35rem .4rem; border-radius: 999px;
  text-decoration: none; color: #fff; white-space: nowrap;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(143, 220, 255, .35);
}
.pf-head-phone .bi { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; color: var(--hl-navy-950); background: linear-gradient(140deg, #b8e9ff, var(--hl-gold-light) 45%, var(--hl-gold)); font-size: .85rem; }
.pf-head-phone > span { display: flex; flex-direction: column; line-height: 1.15; }
.pf-head-phone-label { font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--hl-gold-light); }
.pf-head-phone-no { font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.pf-head-phone:hover, .pf-head-phone:focus-visible { color: #fff; background: rgba(255, 255, 255, .12); }
@media (max-width: 575.98px) { .pf-head-phone { padding: .35rem; } .pf-head-phone > span { display: none; } }
body.applicant.pf-body .pf-header a.pf-head-phone, body.applicant.pf-body .pf-header a.pf-head-phone .pf-head-phone-no { color: #fff; }
body.applicant.pf-body .pf-header a.pf-head-phone .pf-head-phone-label { color: var(--hl-gold-light); }

/* ---------- /find : start your application ---------- */
.fx { background: #fff; border: 1px solid var(--hl-line); border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px -36px rgba(11, 60, 122, .55); }
.fx-hero {
  position: relative; padding: 1.75rem 1.75rem 1.5rem; color: #fff;
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(143, 220, 255, .28), transparent 65%),
    radial-gradient(420px 220px at 0% 120%, rgba(255, 255, 255, .08), transparent 60%),
    linear-gradient(135deg, var(--hl-navy-950), var(--hl-navy-800) 55%, var(--hl-navy-700));
}
.fx-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--hl-gold-light), transparent); }
.fx-kicker { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hl-gold-light); }
.fx-title { margin: 0; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem); font-weight: 800; letter-spacing: -.01em; color: #fff; }
.fx-lead { margin: 0; max-width: 46rem; color: rgba(255, 255, 255, .78); font-size: .95rem; }
.fx-steps { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; counter-reset: none; }
.fx-steps li { display: flex; align-items: center; gap: .65rem; padding: .6rem .75rem; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); min-width: 0; }
.fx-step-no { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: rgba(255, 255, 255, .85); border: 1.5px solid rgba(255, 255, 255, .35); }
.fx-step-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.fx-step-text b { font-size: .92rem; color: #fff; }
.fx-step-text small { font-size: .74rem; color: rgba(255, 255, 255, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-steps li.is-current { background: rgba(143, 220, 255, .16); border-color: rgba(143, 220, 255, .55); }
.fx-steps li.is-current .fx-step-no { border: 0; color: var(--hl-navy-950); background: linear-gradient(140deg, #b8e9ff, var(--hl-gold-light) 45%, var(--hl-gold)); box-shadow: 0 0 0 4px rgba(143, 220, 255, .2); }
.fx-steps li.is-current small { color: var(--hl-gold-light); }

.fx-form { padding: 1.5rem 1.75rem 1.75rem; background: linear-gradient(180deg, var(--hl-ivory-2, #fafcfe), #fff 40%); }
.fx-exams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: .9rem; }
.fx-exam { margin: 0; min-width: 0; padding: 1.1rem 1.15rem 1.2rem; border: 1px solid var(--hl-line); border-radius: 18px; background: #fff; box-shadow: 0 1px 0 rgba(11, 60, 122, .03), 0 14px 30px -26px rgba(11, 60, 122, .45); position: relative; transition: border-color .15s ease, box-shadow .15s ease; }
.fx-exam::before { content: ""; position: absolute; left: 1.15rem; right: 1.15rem; top: 0; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--hl-navy-700), var(--hl-gold)); }
.fx-exam:focus-within { border-color: rgba(0, 178, 255, .65); box-shadow: 0 0 0 4px rgba(0, 178, 255, .12), 0 18px 34px -26px rgba(11, 60, 122, .5); }
.fx-exam-head { float: none; width: 100%; display: flex; align-items: center; gap: .75rem; margin: 0 0 1rem; padding: 0; font-size: inherit; }
.fx-exam-ico { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--hl-gold-light); background: linear-gradient(140deg, var(--hl-navy-800), var(--hl-navy-600)); box-shadow: 0 8px 16px -10px rgba(11, 60, 122, .8); }
.fx-exam-title { display: block; font-weight: 800; font-size: 1.05rem; color: var(--hl-navy-950); }
.fx-exam-sub { display: block; font-size: .78rem; color: var(--muted); }
.fx-exam-no { margin-left: auto; flex: none; font-size: 2rem; font-weight: 800; line-height: 1; color: var(--hl-gold-pale); -webkit-text-stroke: 1px rgba(0, 178, 255, .45); }
.fx-field + .fx-field { margin-top: .8rem; }
.fx-field .form-label { font-size: .78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .3rem; }
.fx-control { position: relative; }
.fx-control > .bi { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--hl-gold-deep); pointer-events: none; z-index: 2; }
.fx-control .form-control, .fx-control .form-select { padding-left: 2.4rem; min-height: 2.9rem; border-radius: 12px; border-color: #d6e1ee; background-color: #fff; font-size: 1rem; }
.fx-control .fx-roll { font-size: 1.15rem; letter-spacing: .18em; font-weight: 700; }
.fx-control .fx-roll::placeholder { letter-spacing: .18em; font-weight: 500; color: #b9c7d8; }
.fx-link { align-self: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--hl-navy-950); background: linear-gradient(140deg, #b8e9ff, var(--hl-gold-light) 45%, var(--hl-gold)); box-shadow: 0 0 0 6px #fff, 0 8px 18px -8px rgba(0, 119, 182, .9); }

.fx-foot { margin-top: 1.4rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tips submit" "tips signin"; align-items: center; gap: .4rem 1.25rem; padding-top: 1.25rem; border-top: 1px dashed var(--hl-line); }
.fx-tips { grid-area: tips; list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.fx-tips li { display: flex; gap: .55rem; align-items: flex-start; font-size: .86rem; color: var(--ink-2); }
.fx-tips .bi { flex: none; margin-top: .1rem; color: var(--hl-gold-deep); }
.fx-submit { grid-area: submit; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.8rem; border: 0; border-radius: 14px; font-weight: 800; font-size: 1.05rem; color: var(--hl-navy-950); background: linear-gradient(140deg, #b8e9ff, var(--hl-gold-light) 40%, var(--hl-gold)); box-shadow: 0 12px 24px -12px rgba(0, 119, 182, .95), inset 0 1px 0 rgba(255, 255, 255, .5); transition: transform .15s ease, box-shadow .15s ease; }
.fx-submit:hover, .fx-submit:focus-visible { color: var(--hl-navy-950); transform: translateY(-1px); box-shadow: 0 16px 28px -12px rgba(0, 119, 182, .95), inset 0 1px 0 rgba(255, 255, 255, .5); }
.fx-submit:disabled { opacity: .7; transform: none; }
.fx-signin { grid-area: signin; margin: 0; text-align: center; font-size: .84rem; color: var(--muted); }
.fx-signin a { font-weight: 700; color: var(--hl-navy-700); }

@media (max-width: 991.98px) {
  .fx-exams { grid-template-columns: minmax(0, 1fr); }
  .fx-link { justify-self: center; margin: -.9rem 0; position: relative; z-index: 3; }
}
@media (max-width: 767.98px) {
  .fx-hero { padding: 1.35rem 1.1rem 1.2rem; }
  .fx-form { padding: 1.1rem 1rem 1.25rem; }
  .fx-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
  .fx-steps li { flex-direction: column; text-align: center; gap: .35rem; padding: .55rem .3rem; }
  .fx-step-text small { display: none; }
  .fx-step-text b { font-size: .78rem; }
  .fx-foot { grid-template-columns: minmax(0, 1fr); grid-template-areas: "submit" "signin" "tips"; }
  .fx-submit { width: 100%; }
  .fx-control .form-control, .fx-control .form-select { font-size: 16px; }
}
/* /find footer without tips: button centred, sign-in link under it */
.fx-foot { grid-template-columns: minmax(0, 1fr); grid-template-areas: "submit" "signin"; justify-items: center; }
@media (max-width: 767.98px) { .fx-foot { justify-items: stretch; } }

/* ---------- /login : applicant login ---------- */
.lx { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); max-width: 980px; margin: 0 auto; background: #fff; border: 1px solid var(--hl-line); border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px -36px rgba(11, 60, 122, .55); }
.lx-side {
  position: relative; padding: 2rem 1.75rem; color: #fff; display: flex; flex-direction: column;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(143, 220, 255, .26), transparent 65%),
    radial-gradient(380px 260px at 0% 100%, rgba(255, 255, 255, .07), transparent 60%),
    linear-gradient(160deg, var(--hl-navy-950), var(--hl-navy-800) 55%, var(--hl-navy-700));
}
.lx-side::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 3px; background: linear-gradient(180deg, transparent, var(--hl-gold-light), transparent); }
.lx-brand { display: flex; align-items: center; gap: .85rem; }
.lx-logo { flex: none; width: 4rem; height: 4rem; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 0 0 3px rgba(143, 220, 255, .55), 0 10px 22px -10px rgba(0, 0, 0, .7); }
.lx-logo img { width: 88%; height: 88%; object-fit: contain; }
.lx-logo-mark { font-weight: 800; color: var(--hl-navy-800); }
.lx-brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.lx-brand-text b { font-size: 1.1rem; color: #fff; }
.lx-brand-text small { font-size: .78rem; color: var(--hl-gold-light); }
.lx-side-title { margin: 2rem 0 .9rem; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.lx-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.lx-perks li { display: flex; align-items: center; gap: .75rem; font-size: .92rem; color: rgba(255, 255, 255, .9); }
.lx-perks .bi { flex: none; width: 2.2rem; height: 2.2rem; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--hl-gold-light); background: rgba(143, 220, 255, .12); border: 1px solid rgba(143, 220, 255, .28); }

.lx-main { padding: 2rem 2rem 1.75rem; min-width: 0; background: linear-gradient(180deg, var(--hl-ivory-2, #fafcfe), #fff 35%); }
.lx-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.5rem; }
.lx-head-ico { flex: none; width: 3rem; height: 3rem; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; color: var(--hl-gold-light); background: linear-gradient(140deg, var(--hl-navy-800), var(--hl-navy-600)); box-shadow: 0 10px 18px -10px rgba(11, 60, 122, .85); }
.lx-title { margin: 0; font-size: 1.55rem; font-weight: 800; color: var(--hl-navy-950); letter-spacing: -.01em; }
.lx-sub { margin: .15rem 0 0; font-size: .88rem; color: var(--muted); }
.lx-rolls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-bottom: .9rem; }
.lx-rolls .fx-field + .fx-field { margin-top: 0; }
.lx-pass-label { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.lx-pass-label a { font-size: .8rem; font-weight: 600; color: var(--hl-navy-700); text-decoration: none; }
.lx-pass-label a:hover { text-decoration: underline; }
.lx-pass .form-control { padding-right: 3rem; }
.lx-eye { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); z-index: 3; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 10px; background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.lx-eye:hover, .lx-eye:focus-visible { color: var(--hl-navy-700); background: var(--hl-gold-pale); }
.lx-eye .bi { position: static; transform: none; color: inherit; }
.lx-submit { width: 100%; margin-top: 1.3rem; }
.lx-new { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; padding: .85rem 1rem; border: 1px dashed rgba(0, 178, 255, .55); border-radius: 14px; background: var(--hl-gold-pale); }
.lx-new-ico { flex: none; width: 2.3rem; height: 2.3rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--hl-gold-deep); }
.lx-new > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.lx-new b { font-size: .92rem; color: var(--hl-navy-950); }
.lx-new small { font-size: .8rem; color: var(--ink-2); }
.lx-new-btn { flex: none; display: inline-flex; align-items: center; gap: .35rem; padding: .5rem 1rem; border-radius: 10px; font-weight: 700; font-size: .9rem; text-decoration: none; color: #fff; background: linear-gradient(140deg, var(--hl-navy-700), var(--hl-navy-800)); }
.lx-new-btn:hover, .lx-new-btn:focus-visible { color: #fff; background: var(--hl-navy-900); }

@media (max-width: 991.98px) {
  .lx { grid-template-columns: minmax(0, 1fr); }
  .lx-side { padding: 1.25rem 1.25rem; }
  .lx-side::after { top: auto; left: 0; width: auto; height: 3px; background: linear-gradient(90deg, transparent, var(--hl-gold-light), transparent); }
  .lx-side-title, .lx-perks { display: none; }
}
@media (max-width: 575.98px) {
  .lx-main { padding: 1.35rem 1rem 1.25rem; }
  .lx-rolls { grid-template-columns: minmax(0, 1fr); }
  .lx-title { font-size: 1.3rem; }
  .lx-new { flex-wrap: wrap; }
  .lx-new-btn { width: 100%; justify-content: center; }
}
body.applicant.pf-body a.lx-new-btn, body.applicant.pf-body a.lx-new-btn:hover, body.applicant.pf-body a.lx-new-btn:focus-visible { color: #fff; text-decoration: none; }

/* ---------- Calendar picker (flatpickr) ---------- */
.flatpickr-calendar { border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(11, 60, 122, .55); border: 1px solid var(--hl-line, #dfe7f1); font-family: inherit; }
.flatpickr-months { background: linear-gradient(135deg, var(--hl-navy-900, #0b3c7a), var(--hl-navy-700, #0a74c4)); border-radius: 13px 13px 0 0; }
.flatpickr-months .flatpickr-month, .flatpickr-current-month input.cur-year, .flatpickr-current-month .flatpickr-monthDropdown-months { color: #fff; fill: #fff; }
.flatpickr-current-month .flatpickr-monthDropdown-months option { color: #1b2430; }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { color: var(--hl-gold-light, #8fdcff); fill: var(--hl-gold-light, #8fdcff); }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill: #fff; }
.flatpickr-calendar.arrowTop::after { border-bottom-color: var(--hl-navy-900, #0b3c7a); }
span.flatpickr-weekday { color: var(--hl-gold-deep, #0077b6); font-weight: 700; }
.flatpickr-day:hover, .flatpickr-day:focus { background: var(--hl-gold-pale, #e2f5ff); border-color: var(--hl-gold-pale, #e2f5ff); }
.flatpickr-day.today { border-color: var(--hl-gold, #00b2ff); }
.flatpickr-day.selected, .flatpickr-day.selected:hover, .flatpickr-day.selected:focus { background: var(--hl-navy-700, #0a74c4); border-color: var(--hl-navy-700, #0a74c4); color: #fff; }
input[data-date] + input.form-control, input.flatpickr-input.form-control[readonly] { background-color: #fff; }
/* /find: SSC and HSC one under the other (Important Dates sits on the right) */
.fx-exams { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
.fx-link { justify-self: center; margin: -.9rem 0; position: relative; z-index: 3; }
.fx-exam .fx-fields { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1fr); gap: .8rem; }
.fx-exam .fx-fields .fx-field + .fx-field { margin-top: 0; }
@media (max-width: 767.98px) { .fx-exam .fx-fields { grid-template-columns: minmax(0, 1fr); } }
/* /find banner: title only */
.fx-hero { padding: 1.25rem 1.75rem; }
@media (max-width: 767.98px) { .fx-hero { padding: 1.1rem 1.1rem; } }
/* /find: HSC supplementary exam yes / no */
.fx-sup { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-top: 1rem; padding: .75rem .9rem; border-radius: 12px; background: var(--hl-gold-pale, #e2f5ff); border: 1px dashed rgba(0, 178, 255, .5); }
.fx-sup-q { font-weight: 600; font-size: .92rem; color: var(--hl-navy-950, #082b5c); }
.fx-sup-q .bi { color: var(--hl-gold-deep, #0077b6); }
.fx-sup-opts { display: inline-flex; gap: .5rem; }
.fx-sup-opt { display: inline-flex; align-items: center; gap: .4rem; min-width: 5.5rem; justify-content: center; padding: .5rem 1rem; border-radius: 10px; border: 1.5px solid #d6e1ee; background: #fff; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.fx-sup-opt:hover { border-color: var(--hl-gold, #00b2ff); }
.btn-check:focus-visible + .fx-sup-opt { outline: 3px solid rgba(0, 178, 255, .45); outline-offset: 2px; }
.btn-check:checked + .fx-sup-opt { color: #fff; border-color: var(--hl-navy-700, #0a74c4); background: linear-gradient(140deg, var(--hl-navy-700, #0a74c4), var(--hl-navy-800, #0d5aa7)); }
@media (max-width: 575.98px) { .fx-sup-opts { width: 100%; } .fx-sup-opt { flex: 1; } }
body.applicant.pf-body .btn-check:checked + .fx-sup-opt, body.applicant.pf-body .btn-check:checked + .fx-sup-opt .bi { color: #fff; }

/* ---------- Centre Choice cards ---------- */
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .75rem; }
.cc-card { position: relative; display: flex; align-items: center; gap: .7rem; padding: .85rem .95rem; border: 1.5px solid #d6e1ee; border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.cc-card:hover { border-color: var(--hl-gold, #00b2ff); }
.cc-ico { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--hl-navy-700, #0a74c4); background: var(--hl-gold-pale, #e2f5ff); }
.cc-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.cc-text b { color: var(--hl-navy-950, #082b5c); font-size: 1rem; }
.cc-text small { color: var(--muted); font-size: .78rem; }
.cc-tick { position: absolute; top: .5rem; right: .55rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; display: none; align-items: center; justify-content: center; font-size: .8rem; color: #fff; background: var(--hl-navy-700, #0a74c4); }
.btn-check:checked + .cc-card { border-color: var(--hl-navy-700, #0a74c4); background: linear-gradient(180deg, #fff, var(--hl-gold-pale, #e2f5ff)); box-shadow: 0 10px 22px -16px rgba(11, 60, 122, .6); }
.btn-check:checked + .cc-card .cc-tick { display: inline-flex; }
.btn-check:checked + .cc-card .cc-ico { color: #fff; background: linear-gradient(140deg, var(--hl-navy-700, #0a74c4), var(--hl-navy-800, #0d5aa7)); }
.btn-check:focus-visible + .cc-card { outline: 3px solid rgba(0, 178, 255, .45); outline-offset: 2px; }


/* ---------- Progress + next step (applicant pages) ---------- */
.pg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0; background: #fff; border: 1px solid var(--hl-line, #dfe7f1); border-radius: 18px; overflow: hidden; box-shadow: 0 16px 34px -28px rgba(11, 60, 122, .55); }
.pg-progress { position: relative; padding: 1rem 1.15rem; display: flex; flex-direction: column; justify-content: center; gap: .55rem; color: #fff;
  background: radial-gradient(320px 160px at 100% 0%, rgba(143, 220, 255, .25), transparent 65%), linear-gradient(135deg, var(--hl-navy-950, #082b5c), var(--hl-navy-800, #0d5aa7) 60%, var(--hl-navy-700, #0a74c4)); }
.pg-progress-top { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.pg-title { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hl-gold-light, #8fdcff); }
.pg-count { font-size: .9rem; color: rgba(255, 255, 255, .85); }
.pg-count b { font-size: 1.35rem; color: #fff; }
.pg-bar { position: relative; height: .7rem; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.pg-fill { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #b8e9ff, var(--hl-gold-light, #8fdcff) 40%, var(--hl-gold, #00b2ff)); box-shadow: 0 0 12px rgba(143, 220, 255, .55); transition: width .4s ease; }
.pg-pct { position: absolute; right: 1.15rem; bottom: .35rem; font-size: .7rem; font-weight: 700; color: rgba(255, 255, 255, .6); }
.pg-next { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.15rem; background: linear-gradient(180deg, #fff, var(--hl-ivory-2, #fafcfe)); min-width: 0; }
.pg-next-ico { flex: none; width: 3rem; height: 3rem; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.35rem; color: var(--hl-gold-light, #8fdcff); background: linear-gradient(140deg, var(--hl-navy-800, #0d5aa7), var(--hl-navy-600, #00a6f0)); box-shadow: 0 10px 18px -10px rgba(11, 60, 122, .8); }
.pg-next-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.pg-next-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hl-gold-deep, #0077b6); }
.pg-next-label { font-size: 1.12rem; font-weight: 800; color: var(--hl-navy-950, #082b5c); }
.pg-next-hint { font-size: .82rem; color: var(--muted); }
.pg-next-btn { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1.15rem; border-radius: 12px; font-weight: 800; text-decoration: none; color: var(--hl-navy-950, #082b5c); background: linear-gradient(140deg, #b8e9ff, var(--hl-gold-light, #8fdcff) 40%, var(--hl-gold, #00b2ff)); box-shadow: 0 10px 20px -12px rgba(0, 119, 182, .95), inset 0 1px 0 rgba(255, 255, 255, .5); transition: transform .15s ease; }
.pg-next-btn:hover, .pg-next-btn:focus-visible { transform: translateY(-1px); }
body.applicant.pf-body a.pg-next-btn, body.applicant.pf-body a.pg-next-btn:hover { color: var(--hl-navy-950, #082b5c); text-decoration: none; }
.pg-next.is-here .pg-next-ico { color: var(--hl-navy-950, #082b5c); background: linear-gradient(140deg, #b8e9ff, var(--hl-gold-light, #8fdcff) 45%, var(--hl-gold, #00b2ff)); }
.pg-next.is-locked .pg-next-ico { color: #fff; background: #a9b6c6; box-shadow: none; }
.pg-next.is-done .pg-next-ico { color: #fff; background: linear-gradient(140deg, #1f9d6a, #157a51); }
@media (max-width: 767.98px) {
  .pg { grid-template-columns: minmax(0, 1fr); }
  .pg-next { flex-wrap: wrap; }
  .pg-next-btn { width: 100%; justify-content: center; }
}
.pg-w-0 { width: 0%; }
.pg-w-5 { width: 5%; }
.pg-w-10 { width: 10%; }
.pg-w-15 { width: 15%; }
.pg-w-20 { width: 20%; }
.pg-w-25 { width: 25%; }
.pg-w-30 { width: 30%; }
.pg-w-35 { width: 35%; }
.pg-w-40 { width: 40%; }
.pg-w-45 { width: 45%; }
.pg-w-50 { width: 50%; }
.pg-w-55 { width: 55%; }
.pg-w-60 { width: 60%; }
.pg-w-65 { width: 65%; }
.pg-w-70 { width: 70%; }
.pg-w-75 { width: 75%; }
.pg-w-80 { width: 80%; }
.pg-w-85 { width: 85%; }
.pg-w-90 { width: 90%; }
.pg-w-95 { width: 95%; }
.pg-w-100 { width: 100%; }

/* ==========================================================================
   Brighter blue, as on cou.ac.bd: the dark bands (header, card heads, heroes,
   active menu item) run from a medium blue into the site's sky blue #00B2FF.
   Text colours stay dark for contrast. Loaded last, so these win.
   ========================================================================== */
:root, body.applicant { --cou-sky: #00b2ff; --cou-blue: #0a74c4; --cou-deep: #0a5bb0; }
body.applicant.pf-body .pf-header {
  background:
    radial-gradient(700px 260px at 88% -60px, rgba(255, 255, 255, .18), transparent 70%),
    linear-gradient(115deg, var(--cou-deep) 0%, var(--cou-blue) 45%, var(--cou-sky) 100%);
}
body.applicant.pf-body .pf-header::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7) 50%, transparent); }
body.applicant.pf-body .pf-card-head,
body.applicant.pf-body .fx-hero,
body.applicant.pf-body .lx-side,
body.applicant.pf-body .pg-progress,
body.applicant.pf-body .pp-greet,
body.applicant.pf-body .pub-split,
body.applicant.pf-body .hero,
body.applicant.pf-body .hd-hero,
body.applicant.pf-body .trk-aside .card-header {
  background: radial-gradient(420px 220px at 100% 0%, rgba(255, 255, 255, .16), transparent 65%),
              linear-gradient(135deg, var(--cou-deep) 0%, var(--cou-blue) 55%, var(--cou-sky) 100%);
}
body.applicant.pf-body .pf-menu-link.active,
body.applicant.pf-body .nb-tab.is-active { background: linear-gradient(120deg, var(--cou-blue), var(--cou-sky)); }
body.applicant.pf-body .pf-footer { background: linear-gradient(115deg, var(--cou-deep), var(--cou-blue)); }
.flatpickr-months { background: linear-gradient(135deg, var(--cou-blue), var(--cou-sky)); }
body.applicant.pf-body .pf-header a.pf-head-phone { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .45); }
body.applicant.pf-body .pf-header a.pf-head-phone .pf-head-phone-label, body.applicant.pf-body .pf-brand-sub { color: #fff; opacity: .92; }

/* ---------- Important Dates as calendar cards (/find) ---------- */
.idc .pf-box-body { padding: .75rem; }
.idc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.idc-item { display: flex; align-items: flex-start; gap: .75rem; padding: .7rem .75rem; border: 1px solid #dfe7f1; border-radius: 14px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.idc-item:hover { border-color: #8fdcff; box-shadow: 0 10px 22px -18px rgba(10, 91, 176, .6); }
.idc-cal { flex: none; width: 3.1rem; border-radius: 11px; overflow: hidden; text-align: center; background: #fff; border: 1px solid #c9ecff; box-shadow: 0 6px 14px -10px rgba(10, 91, 176, .7); }
.idc-cal-m { display: block; padding: .15rem 0; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(120deg, #0a74c4, #00b2ff); }
.idc-cal-d { display: block; padding: .2rem 0 .25rem; font-size: 1.25rem; font-weight: 800; line-height: 1.1; color: #0b3c7a; }
.idc-text { display: flex; flex-direction: column; min-width: 0; gap: .15rem; }
.idc-title { font-weight: 700; font-size: .92rem; color: #1b2430; line-height: 1.25; }
.idc-when { font-size: .78rem; color: #4a5568; }
.idc-when .bi { color: #0a74c4; }
.idc-dot { color: #a9b6c6; margin: 0 .1rem; }
.idc-note { align-self: flex-start; margin-top: .2rem; padding: .1rem .5rem; border-radius: 999px; font-size: .7rem; font-weight: 700; color: #0a5bb0; background: #e2f5ff; }
.idc-item.is-running { border-color: #00b2ff; background: linear-gradient(180deg, #f2fbff, #fff); box-shadow: 0 0 0 3px rgba(0, 178, 255, .12); }
.idc-item.is-running .idc-note { color: #fff; background: linear-gradient(120deg, #1f9d6a, #23b37a); }
.idc-item.is-running .idc-note::before { content: ""; display: inline-block; width: .42rem; height: .42rem; margin-right: .35rem; border-radius: 50%; background: #fff; vertical-align: .05rem; }
.idc-item.is-over { opacity: .6; }
.idc-item.is-over .idc-cal-m { background: #a9b6c6; }
.idc-item.is-over .idc-note { color: #6b7686; background: #eef2f7; }
.idc-when { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idc-note { white-space: nowrap; }

/* ---------- Home: one card per HSC group, details open in place ---------- */
.gc-intro { margin-bottom: .9rem; }
.gc-intro-title { margin: 0; font-size: 1.1rem; font-weight: 800; color: #1b2430; }
.gc-intro-title .bi { color: #0a74c4; }
.gc-intro-sub { margin: .2rem 0 0; font-size: .88rem; color: #4a5568; }
.gc-list { display: grid; gap: .85rem; }
.gc { border: 1px solid #dfe7f1; border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 12px 26px -24px rgba(10, 91, 176, .7); transition: border-color .15s ease, box-shadow .15s ease; }
.gc:hover { border-color: #8fdcff; }
.gc-head { display: flex; align-items: center; gap: .85rem; padding: .9rem 1rem; }
.gc-ico { flex: none; width: 2.9rem; height: 2.9rem; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; }
.gc-science .gc-ico { background: linear-gradient(140deg, #0a74c4, #00b2ff); }
.gc-business .gc-ico { background: linear-gradient(140deg, #b7791f, #f0b429); }
.gc-humanities .gc-ico { background: linear-gradient(140deg, #6a4fc0, #9b7bea); }
.gc-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.gc-title { font-weight: 800; font-size: 1.05rem; color: #1b2430; }
.gc-meta { font-size: .8rem; color: #6b7686; }
.gc-btn { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border: 0; border-radius: 11px; font-weight: 700; font-size: .88rem; color: #fff; background: linear-gradient(120deg, #0a74c4, #00b2ff); box-shadow: 0 8px 18px -12px rgba(10, 116, 196, .9); }
.gc-btn:hover, .gc-btn:focus-visible { filter: brightness(1.05); }
.gc-btn .bi { transition: transform .2s ease; }
.gc-btn .gc-btn-less { display: none; }
.gc-btn[aria-expanded="true"] .gc-btn-more { display: none; }
.gc-btn[aria-expanded="true"] .gc-btn-less { display: inline; }
.gc-btn[aria-expanded="true"] .bi { transform: rotate(180deg); }
.gc-body { padding: .2rem 1rem 1rem; border-top: 1px dashed #dfe7f1; background: linear-gradient(180deg, #f6fbff, #fff 120px); }
.gc-h { margin: .9rem 0 .5rem; font-size: .85rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #0a5bb0; }
.gc-table { font-size: .9rem; }
.gc-table thead th { background: #eef5fc; color: #0b3c7a; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; }
.gc-unit { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: #1b2430; }
.gc-unit .pf-un-code, .gc-unit-name .pf-un-code { width: 1.7rem; height: 1.7rem; font-size: .8rem; }
.gc-unit-subs { margin-bottom: .8rem; }
.gc-unit-name { display: flex; align-items: center; gap: .45rem; margin-bottom: .4rem; font-weight: 700; font-size: .9rem; color: #1b2430; }
.gc-subs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .4rem; }
.gc-subs li { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .45rem .65rem; border: 1px solid #e3edf7; border-radius: 10px; background: #fff; font-size: .86rem; }
.gc-sub-name { color: #1b2430; min-width: 0; }
.gc-sub-seats { flex: none; padding: .05rem .45rem; border-radius: 999px; font-size: .72rem; font-weight: 700; color: #0a5bb0; background: #e2f5ff; }
.gc-foot { display: flex; justify-content: flex-end; margin-top: .6rem; }
@media (max-width: 575.98px) {
  .gc-head { flex-wrap: wrap; }
  .gc-btn { width: 100%; justify-content: center; }
  .gc-foot .gc-apply { width: 100%; justify-content: center; }
}
.gc-unit .pf-un-code, .gc-unit-name .pf-un-code { flex: 0 0 1.7rem; width: 1.7rem; min-width: 0; max-width: 1.7rem; height: 1.7rem; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }
.gc-h-note { margin-left: .35rem; font-size: .7rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: #6b7686; }
.gc-unit { white-space: nowrap; }
@media (max-width: 575.98px) {
  .gc-body { padding: .2rem .7rem .9rem; }
  .gc-table { font-size: .84rem; }
  .gc-table th, .gc-table td { padding-left: .4rem; padding-right: .4rem; }
  .gc-subs { grid-template-columns: minmax(0, 1fr); }
}
/* Forgot password (same layout as the login page) */
.lx-form .pub-captcha { margin-top: .2rem; }
.lx-hint { margin: .7rem 0 0; font-size: .8rem; color: #6b7686; text-align: center; }
.lx-hint .bi { color: #0a74c4; }
/* Eligible subjects as a table */
.gc-subtable tbody.gc-subunit + tbody.gc-subunit { border-top: 2px solid #dfe7f1; }
.gc-subtable .gc-subunit-cell { vertical-align: top; background: #f6fbff; border-right: 1px solid #e3edf7; white-space: nowrap; }
.gc-subtable td, .gc-subtable th { padding-top: .45rem; padding-bottom: .45rem; }
.gc-subtable tfoot th { background: #eef5fc; color: #0b3c7a; font-weight: 800; }
@media (max-width: 575.98px) {
  .gc-subtable .gc-subunit-cell .gc-unit { flex-direction: column; align-items: flex-start; gap: .2rem; font-size: .8rem; }
}

/* "Click here to Apply" in green (home page group cards and anywhere .pf-apply is used) */
body.applicant.pf-body .pf-apply {
  color: #fff;
  background: linear-gradient(135deg, #15803d 0%, #16a34a 55%, #22c55e 100%);
  box-shadow: 0 14px 28px -14px rgba(21, 128, 61, .9), inset 0 1px 0 rgba(255, 255, 255, .25);
}
body.applicant.pf-body .pf-apply:hover, body.applicant.pf-body .pf-apply:focus-visible {
  color: #fff; filter: brightness(1.06);
  box-shadow: 0 18px 32px -14px rgba(21, 128, 61, 1), inset 0 1px 0 rgba(255, 255, 255, .3);
}
body.applicant.pf-body .pf-apply.disabled { color: #687790; background: #ccd8e6; box-shadow: none; filter: none; }
/* "Click here to Apply" centred under each group's details */
.gc-foot { justify-content: center; }
.fx-group { font-weight: 700; color: rgba(255, 255, 255, .85); }
