/* ── Hệ thống tuyển sinh — style chung (theme Cam + Navy trên nền trắng) ── */
:root {
  /* Navy (header, footer, tiêu đề) */
  --navy: #15347e;
  --navy-dark: #102a66;
  --navy-deep: #0b2150;
  --navy-light: #eaf0fb;
  --navy-line: #dde5f4;
  /* Xanh dương cho icon tròn */
  --blue: #2a5bd7;
  --blue-soft: #e8effb;
  /* Cam — accent chính (nút, nhãn, link nổi bật) */
  --orange: #ee6a2b;
  --orange-dark: #d4541a;
  --orange-soft: #fdeadd;
  --green: #1aa463;
  --violet: #7d4ddb;

  /* Vàng — dùng cho thanh hotline + hero (giữ phong cách nửa trên như cũ) */
  --gold: #f5b50a;
  --gold-dark: #a86a00;
  --gold-soft: #fff4d6;
  --green-dark: var(--navy-dark);
  --green-light: var(--navy-light);

  --ink: #1d2433;
  --muted: #5b6678;
  --bg: #f4f7fd;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 42, 102, .07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }

/* ── Thanh hotline (vàng) — giữ như cũ ── */
.topbar { background: var(--gold); color: var(--navy-dark); font-size: 13px; font-weight: 700; padding: 7px 0; text-align: center; letter-spacing: .02em; }
.topbar b { font-weight: 800; }

/* ── Header (navy gradient) — giữ như cũ ── */
header.site {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 14px rgba(11, 33, 80, .25);
}
header.site .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand .logo {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--navy-dark); display: flex;
  align-items: center; justify-content: center; font-weight: 800; font-size: 16px;
  border: 2px solid rgba(255,255,255,.4); flex-shrink: 0;
}
.brand b { font-size: 18px; color: #fff; display: block; line-height: 1.2; }
.brand small { display: block; color: #b9c6e8; font-size: 12.5px; line-height: 1.35; }

nav.main { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
nav.main a {
  padding: 9px 15px; border-radius: 8px; font-weight: 600; font-size: 14px; color: #d7deef;
  transition: .15s;
}
nav.main a:hover { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
nav.main a.on { background: var(--gold); color: var(--navy-dark); }
nav.main a.cta, .btn-cta {
  background: var(--orange); color: #fff; font-weight: 700; padding: 10px 20px; border-radius: 9px;
  box-shadow: 0 6px 16px rgba(238,106,43,.32);
}
nav.main a.cta:hover, .btn-cta:hover { background: var(--orange-dark); color: #fff; }

/* ── Hero (navy card) — giữ như cũ ── */
.hero { padding: 40px 0 8px; }
.hero-card {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 70%, #2c3aa0);
  color: #fff; border-radius: 22px; padding: 52px 54px; position: relative; overflow: hidden;
  box-shadow: 0 18px 50px rgba(11, 33, 80, .32);
}
.hero-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(245,181,10,.18), transparent 70%); border-radius: 50%; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28); padding: 6px 16px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px; }
.hero-card h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.12; font-weight: 800; }
.hero-card h1 .accent { color: var(--gold); }
.hero-card p.lead { margin: 18px 0 30px; font-size: 17px; opacity: .92; max-width: 620px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 10px;
  font-weight: 700; font-size: 15px; cursor: pointer; border: none; transition: .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; }
.btn-primary:disabled { background: #9aa5c4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(238,106,43,.3); }
.btn-accent:hover { background: var(--orange-dark); color: #fff; }
.btn-gold, .btn-light { background: var(--gold); color: var(--navy-dark); box-shadow: 0 6px 18px rgba(245,181,10,.32); }
.btn-gold:hover, .btn-light:hover { background: var(--gold-dark); color: #fff; }
.btn-ghost { background: var(--navy-light); color: var(--navy); }
.btn-ghost:hover { background: #dde6f8; color: var(--navy-dark); }
/* outline dùng trên nền hero tối */
.btn-outline { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.16); color: #fff; }

/* ── Sections & tiêu đề ── */
section.block { padding: 46px 0; }
section.block.alt { background: #fff; }
.kicker {
  display: block; text-align: center; color: var(--orange); font-weight: 800;
  text-transform: uppercase; letter-spacing: .14em; font-size: 13px; margin-bottom: 8px;
}
.kicker::before { content: "— "; }
.kicker::after { content: " —"; }
h1.sec, h2.sec { font-size: 28px; color: var(--navy-dark); text-align: center; margin-bottom: 8px; font-weight: 800; }
p.sec-sub { text-align: center; color: var(--muted); margin-bottom: 30px; }

.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px; border: 1px solid #eef0f7;
}

/* ── Thẻ nổi bật (Đăng ký / Tra cứu) ── */
.hl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 720px) { .hl-grid { grid-template-columns: 1fr; } }
.hl-card {
  background: #fff; border: 1px solid #e9edf6; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 28px; display: flex; gap: 18px; align-items: flex-start; transition: .18s;
}
.hl-card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(15,42,102,.13); }
.hl-card .hic {
  width: 58px; height: 58px; border-radius: 14px; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0;
}
.hl-card h3 { color: var(--navy-dark); font-size: 18px; margin-bottom: 6px; }
.hl-card p { color: var(--muted); font-size: 14.5px; }
.hl-card .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--orange-dark); }

/* ── Thẻ số liệu (chỉ tiêu) ── */
.stat-card { text-align: center; }
.stat-card .stat-ic {
  width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 14px;
  box-shadow: 0 8px 20px rgba(42,91,215,.28);
}
.stat-card .num { font-size: 46px; font-weight: 800; color: var(--navy); line-height: 1.05; }
.stat-card .lbl { color: var(--ink); font-weight: 700; margin-top: 6px; }
.stat-card .lbl small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; margin-top: 3px; }

/* ── Thành tích ── */
.achv-wrap { background: #fff; border: 1px solid #eef0f7; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 28px; }
.achv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
@media (max-width: 720px) { .achv-grid { grid-template-columns: 1fr; } }
ul.achv { list-style: none; }
ul.achv li { padding: 11px 0 11px 30px; position: relative; border-bottom: 1px dashed #e4e8f3; font-size: 14.5px; }
ul.achv li::before { content: "🏆"; position: absolute; left: 0; }
ul.achv li b { color: var(--orange-dark); }

/* ── Thẻ thông tin tuyển sinh ── */
.info-card { background: #fff; border: 1px solid #eef0f7; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.info-card .iic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff; margin-bottom: 14px; }
.info-card .iic.c-violet { background: var(--violet); }
.info-card .iic.c-green { background: var(--green); }
.info-card .iic.c-orange { background: var(--orange); }
.info-card .iic.c-blue { background: var(--blue); }
.info-card h3 { color: var(--navy-dark); font-size: 16.5px; margin-bottom: 6px; }
.info-card p { color: var(--muted); font-size: 14px; }

/* ── Quy trình (các bước ngang có mũi tên) ── */
.proc-flow { display: flex; align-items: stretch; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 34px; }
.proc-step { background: #fff; border: 1px solid #eef0f7; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 18px 20px; text-align: center; position: relative; flex: 1 1 180px; max-width: 230px; margin-top: 22px; }
.proc-step .n {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
  box-shadow: 0 6px 16px rgba(42,91,215,.32);
}
.proc-step .pic { font-size: 22px; color: var(--navy); }
.proc-step h3 { color: var(--navy-dark); margin: 6px 0 4px; font-size: 16px; }
.proc-step p { color: var(--muted); font-size: 13.5px; }
.proc-arrow { display: flex; align-items: center; color: var(--navy-line); font-size: 22px; font-weight: 700; }
@media (max-width: 760px) { .proc-arrow { display: none; } .proc-step { max-width: none; flex-basis: 100%; } }

/* ── Dải trích dẫn (quan điểm) ── */
.quote-band { background: linear-gradient(135deg, #eef3fc, #f6f9ff); border: 1px solid #e6ecf8;
  border-radius: var(--radius); padding: 30px 34px; display: flex; align-items: center; gap: 26px; }
.quote-band .q-photo { width: 124px; height: 124px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 3px solid #fff; box-shadow: var(--shadow); background: var(--navy-light); }
.quote-band .q-mark { font-size: 48px; color: var(--orange); line-height: .8; font-family: Georgia, serif; }
blockquote.quote { font-size: 18px; font-style: italic; color: var(--navy-dark); margin: 4px 0 8px; }
.quote-band .q-by { color: var(--muted); font-size: 14px; }
.quote-band .q-by b { color: var(--navy-dark); text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 600px) { .quote-band { flex-direction: column; text-align: center; padding: 24px 18px; } }

/* slider quan điểm */
.philo-slide { display: none; }
.philo-slide.active { display: flex; gap: 24px; align-items: center; animation: philoFade .5s ease; }
.philo-slide .q-text { flex: 1; }
img.q-photo { object-fit: cover; }
@media (max-width: 600px) { .philo-slide.active { flex-direction: column; text-align: center; } }
@keyframes philoFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.philo-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.philo-dot { width: 10px; height: 10px; border-radius: 50%; background: #cdd6e8; border: none; cursor: pointer; padding: 0; transition: .2s; }
.philo-dot.on { background: var(--orange); width: 26px; border-radius: 6px; }

/* ── Lịch tuyển sinh (tùy trang dùng) ── */
.sched-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #eef0f7; padding: 24px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.panel-head h3 { display: flex; align-items: center; gap: 10px; color: var(--navy-dark); font-size: 20px; font-weight: 800; }
.panel-head .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--navy-light); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 18px; }
.sched-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.sched-card { border-radius: 14px; padding: 18px; border: 1px solid transparent; }
.sched-card .ic { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff; margin-bottom: 26px; }
.sched-card .lbl { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.sched-card .val { font-size: 18px; font-weight: 800; color: var(--navy-dark); margin-top: 3px; }
.sched-card.c-blue { background: #eef3ff; } .sched-card.c-blue .ic { background: var(--blue); }
.sched-card.c-amber { background: var(--orange-soft); } .sched-card.c-amber .ic { background: var(--orange); }
.sched-card.c-violet { background: #f4eefe; } .sched-card.c-violet .ic { background: var(--violet); }
.sched-card.c-green { background: #e9f8ef; } .sched-card.c-green .ic { background: var(--green); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; background: var(--orange-soft); color: var(--orange-dark);
  padding: 7px 15px; border-radius: 999px; font-weight: 700; font-size: 13.5px; }

/* ── Forms ── */
.form-card { max-width: 720px; margin: 0 auto; }
label.fl { display: block; font-weight: 600; font-size: 14px; margin: 16px 0 6px; }
label.fl .req { color: #d23f31; }
input.fi, select.fi, textarea.fi {
  width: 100%; padding: 11px 14px; border: 1.5px solid #d6dcec; border-radius: 10px;
  font-size: 15px; font-family: inherit; background: #fff; transition: border .15s;
}
input.fi:focus, select.fi:focus, textarea.fi:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(238,106,43,.13); }
input.fi.err-field, select.fi.err-field, textarea.fi.err-field { border-color: #d23f31; box-shadow: 0 0 0 3px rgba(210,63,49,.12); }
.fi-err { color: #d23f31; font-size: 13px; margin-top: 4px; display: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }

.wizard-steps { display: flex; justify-content: center; gap: 8px; margin: 26px 0 30px; flex-wrap: wrap; }
.wstep { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.wstep .dot { width: 30px; height: 30px; border-radius: 50%; background: #dde2f1; color: var(--muted);
  display: flex; align-items: center; justify-content: center; font-weight: 800; }
.wstep.on .dot { background: var(--orange); color: #fff; }
.wstep.on { color: var(--navy-dark); }
.wstep .bar { width: 36px; height: 2px; background: #dde2f1; }

/* ── Trang đăng ký: điều kiện và thanh tiến trình ── */
body[data-page="register"] section.block { padding-top: 22px; }
body[data-page="register"] .sec { margin-bottom: 2px; }
body[data-page="register"] .sec-sub { margin-bottom: 0; }
.register-progress { margin: 20px 0 18px; gap: 8px; }
.register-progress .wstep { font-size: 13px; gap: 7px; white-space: nowrap; }
.register-progress .wstep .dot { width: 32px; height: 32px; font-size: 12px; background: #e3e9f5; color: #56637d; }
.register-progress .wstep.on .dot, .register-progress .wstep.done .dot { background: #1769eb; color: #fff; box-shadow: 0 5px 13px rgba(23,105,235,.25); }
.register-progress .wstep.done { color: var(--navy); }
.register-progress .wstep .bar { width: clamp(25px, 4vw, 48px); background: #d9e2f2; }
.eligibility-card {
  display: grid; grid-template-columns: minmax(0, 1fr) 275px; gap: 24px; align-items: center;
  max-width: 990px; margin: 0 auto 14px; padding: 25px 28px 18px;
  border: 1px solid #cfe0ff; border-radius: 13px; background: linear-gradient(110deg, #fff 0%, #fbfdff 68%, #f1f6ff 100%);
  box-shadow: 0 7px 22px rgba(24, 70, 149, .08);
}
.eligibility-title { display: flex; align-items: flex-start; gap: 14px; }
.eligibility-icon, .form-step-icon {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  background: #1769eb; color: #fff; font-weight: 900; box-shadow: 0 7px 16px rgba(23,105,235,.22);
}
.eligibility-title h2 { color: var(--navy-dark); font-size: 22px; line-height: 1.25; margin: 2px 0 6px; }
.eligibility-title p, .register-step-heading p { color: #66728b; font-size: 12.5px; }
.eligibility-list { list-style: none; counter-reset: eligibility; margin: 17px 0 14px 54px; color: #162b57; font-size: 13.5px; }
.eligibility-list li { counter-increment: eligibility; position: relative; padding: 0 0 14px 0; line-height: 1.62; }
.eligibility-list li + li { border-top: 1px dashed #d7e1f4; padding-top: 13px; }
.eligibility-list li::before {
  content: counter(eligibility); position: absolute; right: calc(100% + 20px); top: 1px;
  width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #1769eb; color: #fff; font-size: 12px; font-weight: 800;
}
.eligibility-note { display: flex; gap: 12px; align-items: center; padding: 10px 13px; border: 1px solid #ffe1a1; border-radius: 8px; background: #fff8e8; color: #97500b; font-size: 12.5px; font-weight: 600; }
.eligibility-note span { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%; background: #ffb316; color: #fff; font-weight: 900; }
.eligibility-art { width: 100%; max-width: 260px; justify-self: center; }
.eligibility-art svg { display: block; width: 100%; height: auto; }
.register-step-one { max-width: 990px; margin: 0 auto; padding: 20px 26px 18px; }
.register-step-heading { display: flex; gap: 13px; align-items: center; margin-bottom: 16px; }
.register-step-heading h3 { color: var(--navy-dark); margin: 0 0 2px; font-size: 20px; }
.form-step-icon { width: 38px; height: 38px; color: #fff; font-size: 13px; }
.guardian-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.register-step-one .fl { margin-top: 0; }
.register-step-one #quanHe { margin-top: 0; }
@media (max-width: 760px) {
  body[data-page="register"] section.block { padding: 18px 0 30px; }
  .register-progress { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 4px 2px 10px; margin-top: 15px; }
  .register-progress .wstep { flex: 0 0 auto; }
  .register-progress .wstep .bar { width: 20px; }
  .eligibility-card { grid-template-columns: 1fr; padding: 20px 17px 16px; gap: 4px; }
  .eligibility-title h2 { font-size: 19px; }
  .eligibility-list { margin-left: 42px; font-size: 13px; }
  .eligibility-list li::before { right: calc(100% + 14px); }
  .eligibility-art { max-width: 185px; margin-top: -5px; }
  .guardian-grid { grid-template-columns: 1fr; gap: 12px; }
  .register-step-one { padding: 19px 17px; }
  .register-step-heading h3 { font-size: 18px; }
}

.upload-box { border: 2px dashed #c2cbe6; border-radius: 12px; padding: 22px; text-align: center; cursor: pointer; transition: .15s; background: #fafbff; }
.upload-box:hover { border-color: var(--orange); background: var(--orange-soft); }
.upload-box img.preview { max-height: 140px; border-radius: 8px; margin-top: 10px; }
#boxAnhThe img.preview { max-height: none; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 6px; }

.alert { padding: 14px 18px; border-radius: 10px; margin: 14px 0; font-size: 14px; display: none; }
.alert.err { background: #fdecea; color: #b3261e; display: block; }
.alert.ok { background: #e6f4ea; color: #137333; display: block; }
.alert.info { background: #e8f0fe; color: #1a56b4; display: block; }
.alert ul { text-align: left; }

.otp-inputs { display: flex; gap: 10px; justify-content: center; margin: 18px 0; }
.otp-inputs input { width: 48px; height: 56px; text-align: center; font-size: 24px; font-weight: 700; border: 1.5px solid #d6dcec; border-radius: 10px; }
.otp-inputs input:focus { border-color: var(--orange); outline: none; }

.result-box { background: var(--navy-light); border-radius: 12px; padding: 22px; margin-top: 18px; }
.result-box .code { font-size: 30px; font-weight: 800; letter-spacing: 4px; color: var(--navy-dark); text-align: center; }

/* ── Card kết quả tra cứu ── */
.track-card { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #eef0f7; background: #fff; overflow: hidden; }
.track-top { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid #eef0f7; }
.track-top .seq { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-light); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex-shrink: 0; }
.track-top .name { font-weight: 800; color: var(--navy-dark); font-size: 17px; }
.track-top .code { color: var(--muted); font-size: 13.5px; letter-spacing: .5px; }
.track-top .spacer { flex: 1; }
.r-badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 13.5px; white-space: nowrap; }
.r-badge.wait { background: var(--orange-soft); color: var(--orange-dark); }
.r-badge.ok { background: #e6f4ea; color: #137333; }
.r-badge.no { background: #fdecea; color: #b3261e; }
.r-badge.draft { background: #eef0f7; color: #5f6680; }
.track-body { padding: 24px; }
.track-state { text-align: center; padding: 18px 0 6px; }
.track-state .st-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--navy-light); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 14px; }
.track-state h3 { color: var(--navy-dark); font-size: 20px; }
.meta-box { background: #f6f8fe; border: 1px solid #eaeefb; border-radius: 12px; padding: 16px 20px; margin-top: 18px; }
.meta-box .row { display: flex; gap: 10px; padding: 6px 0; font-size: 14.5px; }
.meta-box .row .k { color: var(--muted); min-width: 150px; font-weight: 600; }
.meta-box .row .v { color: var(--ink); font-weight: 600; }

/* Kết quả tuyển sinh công khai */
.admission-result { color: var(--navy-dark); max-width: 1220px; margin: 0 auto; }
.result-caption { text-align:center; margin:2px 0 18px; }
.result-caption h2 { margin:0; font-size:32px; line-height:1.2; color:#173d90; font-weight:900; }
.result-caption p { margin:6px 0 0; font-size:14px; color:#5b6787; }
.admission-hero { display:grid; grid-template-columns:1.18fr 1.95fr .85fr; align-items:center; gap:24px; padding:22px 30px; background:#fff; border-radius:16px; box-shadow:0 12px 40px rgba(17,51,122,.08); margin-bottom:10px; border:1px solid #edf1f9; }
.candidate, .admission-status { display:flex; align-items:center; gap:16px; }
.candidate { border-right:1px solid #e1e8f4; padding-right:24px; }
.candidate > span { width:72px; height:72px; display:grid; place-items:center; border-radius:50%; background:#eaf1ff; color:#1d3f92; font-size:26px; font-weight:900; letter-spacing:.02em; flex:0 0 auto; }
.candidate h2, .admission-status h2 { margin:0; font-size:18px; line-height:1.1; }
.candidate p, .admission-status p, .result-update span { margin:4px 0 0; font-size:13px; color:#51627f; line-height:1.45; }
.candidate p { font-size:14px; }
.admission-status small { font-weight:900; color:#d9262d; letter-spacing:.02em; font-size:14px; }
.result-icon { width:68px; height:68px; display:grid; place-items:center; border:2px dotted currentColor; border-radius:50%; color:#d9262d; font-size:33px; font-weight:900; flex:0 0 auto; }
.admission-result.accept .result-icon { color:#14934b; }
.admission-result.reject .result-icon { color:#e11f26; }
.admission-result.pending .result-icon { color:#d68200; }
.result-update { display:grid; gap:8px; justify-items:end; text-align:right; align-self:stretch; padding-left:4px; }
.result-update b { display:inline-flex; align-items:center; gap:8px; border-radius:999px; padding:10px 16px; background:#fff1f1; color:#d9262d; font-size:13px; font-weight:900; box-shadow:inset 0 0 0 1px rgba(217,38,45,.12); }
.admission-result.accept .result-update b { background:#edf9f0; color:#14934b; box-shadow:inset 0 0 0 1px rgba(20,147,75,.14); }
.admission-result.pending .result-update b { background:#fff3df; color:#a96d00; box-shadow:inset 0 0 0 1px rgba(209,129,0,.12); }
.pill-ic { width:18px; height:18px; display:inline-grid; place-items:center; border-radius:50%; font-size:12px; line-height:1; background:rgba(255,255,255,.82); }
.admission-info-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:10px; }
.admission-info, .admission-schedule { background:#fff; border:1px solid #eef1f8; border-radius:14px; padding:18px 20px; box-shadow:0 8px 24px rgba(18,52,126,.05); }
.admission-info h2, .admission-schedule h2 { margin:0 0 12px; padding-bottom:10px; border-bottom:1px solid #dfe6f4; font-size:15px; color:#173d90; display:flex; align-items:center; gap:10px; font-weight:900; }
.section-ic { width:26px; height:26px; display:grid; place-items:center; border-radius:50%; background:#173d90; color:#fff; font-size:13px; font-weight:900; flex:0 0 auto; }
.section-ic.accept { background:#14934b; }
.section-ic.reject { background:#e11f26; }
.detail-row { display:grid; grid-template-columns:43% 57%; gap:8px; padding:6px 0; font-size:13px; line-height:1.45; }
.detail-row span { color:#415174; }
.detail-row b { color:#17233c; overflow-wrap:anywhere; font-weight:700; }
.result-detail { background:#fafcff; }
.admission-result.accept .result-detail { background:#f4fbf6; border-color:#cfe8d8; }
.admission-result.reject .result-detail { background:#fff7f7; border-color:#f3d7d7; }
.admission-schedule { margin-top:10px; }
.admission-schedule-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.exam-card { border:1px solid #d9e4ff; border-radius:12px; padding:14px 15px 15px; background:#fbfdff; box-shadow:0 2px 8px rgba(23,61,144,.04); }
.exam-card-title { display:flex; gap:12px; align-items:center; padding-bottom:10px; border-bottom:1px solid rgba(23,61,144,.10); margin-bottom:10px; }
.exam-card-title > span { width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:#1769eb; color:#fff; font-weight:900; font-size:13px; letter-spacing:.02em; flex:0 0 auto; }
.exam-card-title small { display:block; color:#1769eb; font-weight:700; font-size:12px; margin-bottom:2px; }
.exam-card-title h3 { margin:0; font-size:18px; line-height:1.05; color:#1769eb; }
.exam-card dl { margin:0; }
.exam-card dl div { display:grid; grid-template-columns:41% 59%; gap:8px; padding:4px 0; font-size:12.8px; line-height:1.45; }
.exam-card dt { color:#44547b; }
.exam-card dd { margin:0; font-weight:700; overflow-wrap:anywhere; color:#17233c; }
.exam-card.topic-math { border-color:#6da2ff; }
.exam-card.topic-vn { border-color:#63ba7a; }
.exam-card.topic-en { border-color:#ffb365; }
.exam-card.topic-math .exam-card-title > span { background:#1f63ef; }
.exam-card.topic-vn .exam-card-title > span { background:#1d9950; }
.exam-card.topic-en .exam-card-title > span { background:#ff8514; }
.exam-card.topic-math .exam-card-title small, .exam-card.topic-math .exam-card-title h3 { color:#1f63ef; }
.exam-card.topic-vn .exam-card-title small, .exam-card.topic-vn .exam-card-title h3 { color:#1d9950; }
.exam-card.topic-en .exam-card-title small, .exam-card.topic-en .exam-card-title h3 { color:#ff8514; }
.empty-schedule { min-height:220px; text-align:center; }
.empty-symbol { font-size:46px; color:#c7d9ff; }
.empty-schedule h3 { margin:4px 0; }
.empty-schedule p { margin:0; color:#42547b; font-size:13px; }
.admission-note { margin-top:12px; padding:14px 18px 14px 20px; border:1px solid #b8d0ff; border-radius:12px; background:#f3f7ff; display:flex; align-items:flex-start; gap:14px; position:relative; overflow:hidden; }
.note-ic { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:#e3ebff; color:#1f57d6; font-weight:900; flex:0 0 auto; margin-top:2px; }
.admission-note strong { color:#123c91; display:block; margin-bottom:4px; }
.admission-note ul { margin:6px 0 0; padding-left:18px; color:#243556; font-size:13px; line-height:1.6; }
.admission-note li + li { margin-top:4px; }
.note-art { position:absolute; right:16px; bottom:10px; font-size:52px; opacity:.14; line-height:1; }
.admission-actions { display:flex; justify-content:center; gap:16px; flex-wrap:wrap; margin:14px 0 2px; }
.admission-actions .btn { min-width:190px; justify-content:center; }
.admission-actions .btn.btn-primary { background:#173d90; border-color:#173d90; }
.admission-actions .btn.btn-ghost { background:#fff; border-color:#d9e4f5; color:#173d90; }
.admission-actions .btn.btn-ghost:hover { border-color:#173d90; color:#173d90; }
@media (max-width: 1100px) { .admission-hero { grid-template-columns:1fr; gap:16px; } .candidate { border-right:0; border-bottom:1px solid #e1e8f4; padding:0 0 14px; } .admission-status { justify-self:stretch; } .result-update { justify-items:start; text-align:left; } .result-caption h2 { font-size:28px; } }
@media (max-width: 800px) { .admission-info-grid,.admission-schedule-grid { grid-template-columns:1fr; } .admission-info, .admission-schedule { padding:16px; } .admission-actions .btn { flex:1 1 100%; } .detail-row { grid-template-columns:45% 55%; } .admission-note { padding-right:62px; } }
@media (max-width: 560px) { .result-caption h2 { font-size:22px; } .result-caption p { font-size:13px; } .admission-hero { padding:18px; } .candidate > span { width:60px; height:60px; font-size:23px; } .result-icon { width:58px; height:58px; font-size:28px; } .admission-status h2, .candidate h2 { font-size:17px; } .admission-status p, .candidate p { font-size:12.5px; } .admission-note { flex-direction:column; } .note-art { right:12px; bottom:8px; font-size:44px; } }
@media print { header.site,.topbar,footer.site,#trackSearch,#trackTitle,#trackSub,.admission-actions { display:none !important; } body { background:#fff; } #result { max-width:none !important; margin:0 !important; } }

table.dt { width: 100%; border-collapse: collapse; font-size: 14px; }
table.dt th { background: var(--navy); color: #fff; padding: 10px 12px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
table.dt td { padding: 9px 12px; border-bottom: 1px solid #eef1f8; }
table.dt tr:hover td { background: #f6f8fe; }
.badge { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge.wait { background: var(--orange-soft); color: var(--orange-dark); }
.badge.ok { background: #e6f4ea; color: #137333; }
.badge.no { background: #fdecea; color: #b3261e; }
.badge.draft { background: #e8eaed; color: #5f6368; }

/* ── Footer ── */
footer.site { background: var(--navy-deep); color: #b9c6e8; padding: 44px 0 22px; margin-top: 48px; border-top: 4px solid var(--gold); }
footer.site h4 { color: #fff; margin-bottom: 14px; font-size: 15px; }
/* Liên hệ + Hotline rộng hơn để địa chỉ/SĐT không bị xuống dòng; 2 cột link hẹp lại */
footer.site .cols { display: grid; grid-template-columns: 1.15fr 1.5fr 0.8fr 0.85fr; gap: 30px; }
footer.site #ftHotlines p { white-space: nowrap; }
@media (max-width: 860px) { footer.site .cols { grid-template-columns: repeat(2, 1fr); } footer.site #ftHotlines p { white-space: normal; } }
@media (max-width: 480px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site p { margin: 7px 0; font-size: 14px; }
footer.site a { color: #cdd8f1; }
footer.site a:hover { color: #fff; }
footer.site .ftlink a { display: inline-flex; align-items: center; gap: 7px; }
footer.site .ftlink.accent a { color: var(--orange); font-weight: 600; }
footer.site .copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer.site .copy .pol a { color: #b9c6e8; margin-left: 14px; }
@media (max-width: 640px) { footer.site .copy { justify-content: center; text-align: center; } }

.spinner { display: inline-block; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ── */
@media (max-width: 860px) {
  header.site .inner { flex-wrap: wrap; }
  nav.main { width: 100%; justify-content: flex-start; }
}
@media (max-width: 680px) {
  .container { padding: 0 14px; }
  .topbar { font-size: 11px; padding: 6px 12px; line-height: 1.4; }
  header.site { position: static; transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  header.site .inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .brand { justify-content: center; text-align: center; }
  .brand b, .brand small { -webkit-transform: translateZ(0); transform: translateZ(0); }
  nav.main { justify-content: center; }
  nav.main a { padding: 12px 14px; font-size: 13px; }
  .hero { padding: 22px 0 4px; }
  .hero-card { padding: 28px 20px; border-radius: 16px; }
  .hero-card h1 { font-size: 27px; }
  .hero-card p.lead { font-size: 15px; }
  .hero .actions { flex-direction: column; }
  .hero .actions .btn { width: 100%; justify-content: center; }
  section.block { padding: 32px 0; }
  h1.sec, h2.sec { font-size: 23px; }
  .hl-card { padding: 20px; }
  .form-card { padding: 0; }
  .form-card.register-step-one { padding: 19px 17px; }
  .stat-card .num { font-size: 40px; }
}
@media (max-width: 420px) {
  .brand b { font-size: 16px; }
  .otp-inputs input { width: 40px; height: 48px; font-size: 20px; }
}
