/**
 * TRAIN SOCCSKSARGEN 2026 — compact, purposeful blue gradient UI
 *
 * @format
 */

:root {
  color-scheme: dark;
  --bg: #071321;
  --surface: #0c1b30;
  --surface-raised: #102541;
  --line: #203954;
  --text: #f5f9fe;
  --muted: #a9bfd8;
  --blue: #60a5fa;
  --blue-deep: #2563eb;
  --blue-light: #7dd3fc;
  --font: "DM Sans", sans-serif;
  --display: "Space Grotesk", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 0%, #1d4ed81e, transparent 42%),
    radial-gradient(ellipse at 92% 38%, #0284c712, transparent 38%);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.topline {
  min-height: 34px;
  padding: 7px max(24px, calc((100% - 1120px) / 2));
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #ffffff0b;
  background: #06101d;
  color: #b9cde3;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.pulse {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 10px #60a5fa;
}
.top-divider {
  color: #52749c;
}
.top-right {
  margin-left: auto;
  color: #8191a8;
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font: 800 19px/1.15 var(--display);
  letter-spacing: 0.09em;
  flex-shrink: 0;
  color: #f8fbff;
  text-shadow: 0 0 18px #60a5fa4d;
}
.brand-logo {
  display: block;
  width: 62px;
  height: 62px;
  padding: 4px;
  object-fit: contain;
  border: 1px solid #60a5fa99;
  border-radius: 15px;
  background: linear-gradient(145deg, #173a65, #0b1b32);
  box-shadow: 0 0 0 3px #3b82f61c, 0 0 22px #3b82f64d, inset 0 1px 0 #ffffff22;
}
.brand small {
  display: block;
  margin-top: 6px;
  color: #93c5fd;
  font: 700 10px/1 var(--font);
  letter-spacing: 0.16em;
}
.nav nav,
.admin-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #bac7d9;
  font-size: 12px;
}
.nav nav > a:not(.nav-cta):hover,
.text-link:hover {
  color: #fff;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 10px 14px;
  border: 1px solid #60a5fa5c;
  border-radius: 7px;
  background: #3b82f616;
  color: #eff5fd;
  font-weight: 700;
}
.nav-cta span {
  color: #c0d7f7;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 24px;
  min-height: 565px;
  padding-top: 42px;
  padding-bottom: 72px;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #a9c3e8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.eyebrow-line {
  display: inline-block;
  width: 20px;
  height: 1px;
  background: #93c5fd;
}
.hero h1,
.registration-intro h1,
.verify-card h1,
.login-card h1,
.admin-heading h1 {
  margin: 24px 0 18px;
  font: 600 clamp(46px, 5.8vw, 70px)/1.04 var(--display);
  letter-spacing: -0.065em;
}
.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, #dae7fa, #38bdf8 53%, #bae6fd);
  background-clip: text;
  -webkit-background-clip: text;
}
.period {
  color: #93c5fd;
}
.hero-lead {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: #ecf3fd;
}
.hero-description {
  max-width: 465px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 27px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  min-height: 45px;
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.18s,
    border-color 0.18s,
    background 0.18s,
    box-shadow 0.18s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  color: #0c182a;
  background: linear-gradient(110deg, #7dd3fc, #7dd3fc);
  box-shadow: 0 5px 20px #0ea5e91b;
}
.button-primary:hover {
  box-shadow: 0 9px 28px #0ea5e933;
}
.button-secondary {
  background: var(--surface-raised);
  border-color: var(--line);
  color: var(--text);
}
.text-link {
  color: #d3dff0;
  font-size: 11px;
  font-weight: 600;
}
.text-link span {
  margin-left: 5px;
  color: #c0d7f7;
}
.hero-meta {
  display: flex;
  gap: 24px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.hero-meta > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.meta-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #c0d7f7;
  background: #3b82f60b;
  font-size: 18px;
}
.hero-meta b,
.hero-meta small {
  display: block;
}
.hero-meta b {
  font-size: 9px;
  letter-spacing: 0.06em;
}
.hero-meta small {
  margin-top: 3px;
  color: #96a7be;
  font-size: 8px;
  letter-spacing: 0.04em;
}
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid #60a5fa20;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 50% 45%, #2563eb26, transparent 57%),
    linear-gradient(145deg, #121b28, #0c131c);
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#93c5fd0a 1px, transparent 1px),
    linear-gradient(90deg, #93c5fd0a 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 78%);
  pointer-events: none;
}
.hero-event-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(88%, 440px);
  aspect-ratio: 1;
  border: 1px solid #7dd3fc38;
  border-radius: 50%;
  background: radial-gradient(circle, #244777 0, #142338 54%, #0f1723 72%);
  box-shadow:
    0 0 65px #0284c720,
    inset 0 0 35px #93c5fd0c;
  transform: translate(var(--mx, 0), var(--my, 0));
  transition: transform 0.2s ease-out;
}
.hero-event-frame:before,
.hero-event-frame:after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid #7dd3fc25;
  border-radius: 50%;
  transform: rotate(-25deg) scaleY(0.68);
}
.hero-event-frame:after {
  inset: -27px;
  transform: rotate(34deg) scaleY(0.75);
  border-color: #7dd3fc25;
}
.hero-event-logo {
  position: relative;
  z-index: 1;
  width: 130%;
  height: 130%;
  object-fit: contain;
  filter: drop-shadow(0 8px 25px #0003);
  clip-path: circle(38.5%);
}
.scroll-cue {
  position: absolute;
  bottom: 25px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8b9db6;
  font-size: 8px;
  letter-spacing: 0.14em;
}
.scroll-cue span {
  width: 24px;
  height: 1px;
  background: #7dd3fc;
}
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0e1520;
}
.ticker-track {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 30px;
  padding: 15px 20px;
  white-space: nowrap;
  color: #c0cddf;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.ticker b {
  color: #93c5fd;
}
.section {
  padding-top: 90px;
  padding-bottom: 85px;
}
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 25px;
}
.section h2,
.tracks-heading h2,
.cta-section h2 {
  margin: 0;
  font: 600 clamp(34px, 4vw, 48px)/1.15 var(--display);
  letter-spacing: -0.05em;
}
.muted {
  color: #98a7bc;
}
.section-copy {
  color: #c5d0df;
  font-size: 13px;
  line-height: 1.9;
}
.subdued {
  color: #96a5bb;
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  border-block: 1px solid var(--line);
}
.stat-strip > div {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}
.stat-strip > div:first-child {
  padding-left: 0;
}
.stat-strip > div:last-child {
  border: 0;
}
.stat-strip strong {
  display: block;
  font: 600 26px var(--display);
  letter-spacing: -0.04em;
}
.stat-strip strong span {
  color: #93c5fd;
}
.stat-strip small {
  color: #98a7bd;
  font-size: 8px;
  letter-spacing: 0.08em;
}
.tracks-section {
  padding: 85px 0;
  background: #0e1520;
  border-block: 1px solid var(--line);
}
.tracks-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 23px 0 32px;
}
.tracks-heading p {
  max-width: 290px;
  margin: 0;
  color: #a8b5c8;
  font-size: 12px;
}
.track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.track-card {
  position: relative;
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(145deg, #172231, #111924);
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.track-card:hover {
  transform: translateY(-4px);
  border-color: #98bdf26e;
  background: linear-gradient(145deg, #1a2a40, #111a26);
}
.track-featured {
  border-color: #98bdf244;
  background: linear-gradient(145deg, #1b2b41, #111b28);
}
.track-top {
  display: flex;
  justify-content: space-between;
  color: #a3b4cc;
  font-size: 8px;
  letter-spacing: 0.1em;
}
.track-icon {
  color: #c0d7f7;
  font-size: 19px;
}
.track-card h3 {
  margin: 35px 0 8px;
  font: 600 19px var(--display);
  letter-spacing: -0.03em;
}
.track-card p {
  max-width: 280px;
  margin: 0;
  color: #a9b7ca;
  font-size: 11px;
  line-height: 1.8;
}
.track-arrow {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: #c0d7f7;
  transition: transform 0.18s;
}
.track-card:hover .track-arrow {
  transform: translate(2px, -2px);
}
.cta-section {
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
}
.cta-section .section-label {
  justify-content: center;
}
.cta-section h2 {
  position: relative;
  margin: 21px 0;
  font-size: clamp(36px, 4.7vw, 54px);
}
.cta-section p {
  color: #a8b6c9;
  font-size: 13px;
}
.cta-section .button {
  margin-top: 13px;
}
.cta-section > small {
  display: block;
  margin-top: 15px;
  color: #8c9baf;
  font-size: 8px;
  letter-spacing: 0.1em;
}
.cta-orb {
  display: none;
}
.footer {
  border-top: 1px solid var(--line);
  background: #06101d;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 85px;
}
.footer p,
.footer-inner > span {
  margin: 0;
  color: #96a5b9;
  font-size: 10px;
}
.form-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 8% 18%, #2872d91f, transparent 38%), var(--bg);
}
.registration-wrap {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: 54px;
  width: min(1050px, calc(100% - 40px));
  margin: 38px auto 75px;
}
.registration-intro {
  position: sticky;
  top: 24px;
  padding-top: 28px;
}
.registration-intro h1 {
  font-size: clamp(42px, 4.7vw, 58px);
}
.registration-intro > p {
  max-width: 370px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.event-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}
.event-note > span {
  color: #c0d7f7;
  font-size: 22px;
}
.event-note b,
.event-note small {
  display: block;
}
.event-note b {
  font-size: 10px;
  letter-spacing: 0.07em;
}
.event-note small {
  margin-top: 4px;
  color: #9daec6;
  font-size: 8px;
  letter-spacing: 0.07em;
}
.registration-note {
  margin-top: 24px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #121b28;
  color: #b9c6d9;
  font-size: 10px;
}
.form-card,
.login-card,
.verify-card {
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, #141e2b, #10161e);
  box-shadow: 0 16px 45px #0002;
}
.form-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-label {
  font-size: 9px;
}
.step-label {
  color: #9aabc4;
  font-size: 8px;
  letter-spacing: 0.1em;
}
.form-card h2 {
  margin: 14px 0 4px;
  font: 600 28px var(--display);
  letter-spacing: -0.04em;
}
.form-subtitle,
.login-card > p {
  margin-bottom: 23px;
  color: #a4b3c7;
  font-size: 11px;
}
.form-card form,
.login-card form {
  display: grid;
  gap: 15px;
}
.form-card label,
.login-card label {
  display: grid;
  gap: 6px;
  color: #d6e0ee;
  font-size: 10px;
  font-weight: 600;
}
.form-card input:not([type="checkbox"]),
.form-card select,
.login-card input {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #344154;
  border-radius: 6px;
  outline: none;
  background: #0b1018;
  color: #f5f9fe;
  font-size: 11px;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.form-card input:focus,
.form-card select:focus,
.login-card input:focus {
  border-color: #98bdf2;
  box-shadow: 0 0 0 3px #60a5fa18;
}
.form-card input::placeholder {
  color: #89799d;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.consent {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 9px !important;
  color: #aebbcc !important;
  font-weight: 400 !important;
  line-height: 1.7;
}
.consent input {
  margin-top: 3px;
  accent-color: #60a5fa;
}
.button-full {
  width: 100%;
  margin-top: 2px;
}
.privacy-note {
  margin: 0;
  color: #8d9db3;
  font-size: 9px;
  line-height: 1.7;
  text-align: center;
}
.notice {
  margin: 14px 0;
  padding: 11px 13px;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.65;
}
.notice p {
  margin: 0 0 5px;
}
.notice p:last-child {
  margin: 0;
}
.notice-error {
  border: 1px solid #7dadef4d;
  background: #1b2635;
  color: #e0ebfb;
}
.notice-success {
  border: 1px solid #38bdf850;
  background: #1a283b;
  color: #ebf2fc;
}
.verify-card,
.login-card {
  width: min(460px, calc(100% - 32px));
  margin: 9vh auto;
}
.verify-card {
  text-align: center;
}
.verify-card .eyebrow {
  justify-content: center;
}
.verify-card h1,
.login-card h1 {
  font-size: 39px;
}
.verify-card p {
  max-width: 370px;
  margin: 0 auto 25px;
  color: #a8b6ca;
  font-size: 12px;
}
.verify-symbol {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border: 1px solid #98bdf255;
  border-radius: 50%;
  background: #1a293d;
  color: #c0d7f7;
  font-size: 25px;
}
.login-card .brand {
  margin-bottom: 35px;
}
.login-card .text-link {
  display: inline-block;
  margin-top: 17px;
}
.admin-page {
  background: var(--bg);
}
.admin-nav {
  font-size: 11px;
}
.admin-wrap {
  padding: 38px 0 75px;
}
.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.admin-heading h1 {
  margin: 13px 0 7px;
  font-size: 44px;
}
.admin-heading p {
  margin: 0;
  color: #a5b3c7;
  font-size: 11px;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.admin-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: linear-gradient(145deg, #172231, #101720);
}
.admin-stat small {
  color: #a0b0c6;
  font-size: 9px;
}
.admin-stat strong {
  font: 600 27px var(--display);
}
.table-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #101720;
}
.table-tools {
  display: flex;
  gap: 9px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.table-tools select,
.table-tools input {
  padding: 9px 11px;
  border: 1px solid #344154;
  border-radius: 6px;
  background: #0b1018;
  color: #f5f9fe;
  font-size: 10px;
}
.table-tools input {
  flex: 1;
  min-width: 120px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  background: #172231;
  color: #a9bad1;
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
td {
  min-width: 115px;
  color: #d6e0ee;
  font-size: 10px;
}
td b,
td small {
  display: block;
  overflow-wrap: anywhere;
}
td b {
  color: #f7fafe;
  font-size: 10px;
}
td small {
  margin-top: 4px;
  color: #9daec5;
  font-size: 9px;
}
.status {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 5px;
  background: #242e3d;
  color: #dee8f6;
  font-size: 8px;
  white-space: nowrap;
}
.status-approved {
  background: #14532d;
  color: #dcfce7;
  border: 1px solid #22c55e;
}
.status-rejected {
  background: #203148;
  color: #d6e5fa;
}
.status-pending-review {
  background: #1f3047;
  color: #b9d2f6;
}
.status-pending-email-confirmation {
  background: #223147;
  color: #d2e2f9;
}
.decision-form {
  display: grid;
  gap: 6px;
  min-width: 130px;
}
.decision-form input {
  width: 100%;
  min-width: 100px;
  padding: 7px;
  border: 1px solid #344154;
  border-radius: 5px;
  background: #0b1018;
  color: #fff;
  font-size: 9px;
}
.mini-button {
  padding: 7px;
  border: 0;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}
.mini-approve {
  background: #1e3759;
  color: #cbdef9;
}
.mini-reject {
  background: #233754;
  color: #d8e6fa;
}
.empty-state {
  padding: 40px;
  color: #a5b3c7;
  text-align: center;
}
.table-foot {
  padding: 11px 14px;
  color: #8d9fb7;
  font-size: 9px;
}
.reveal-ready {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.track-card:nth-child(2) {
  transition-delay: 0.06s;
}
.track-card:nth-child(3) {
  transition-delay: 0.12s;
}
@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 38px;
    padding-bottom: 65px;
  }
  .hero-copy {
    max-width: 650px;
  }
  .hero-art {
    min-height: 350px;
  }
  .hero-event-frame {
    width: min(74%, 340px);
  }
  .section-grid {
    gap: 28px;
  }
  .registration-wrap {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .registration-intro {
    position: static;
    padding-top: 10px;
  }
  .registration-intro > p {
    max-width: 600px;
  }
  .event-note {
    margin-top: 20px;
  }
  .registration-note {
    margin-top: 14px;
  }
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .topline {
    padding-inline: 16px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }
  .top-right {
    display: none;
  }
  .nav {
    min-height: 69px;
  }
  .brand {
    font-size: 12px;
  }
  .brand-logo {
    width: 34px;
    height: 34px;
  }
  .nav nav {
    gap: 10px;
  }
  .nav nav > a:not(.nav-cta) {
    display: none;
  }
  .nav-cta {
    padding: 9px 10px;
    font-size: 10px;
  }
  .hero {
    padding-top: 28px;
  }
  .hero h1 {
    font-size: clamp(43px, 12vw, 60px);
  }
  .hero-lead {
    font-size: 16px;
  }
  .hero-description {
    font-size: 12px;
  }
  .hero-actions {
    gap: 15px;
    flex-wrap: wrap;
  }
  .hero-meta {
    gap: 14px;
    flex-wrap: wrap;
  }
  .hero-meta b {
    font-size: 8px;
  }
  .hero-meta small {
    font-size: 7px;
  }
  .hero-art {
    min-height: 300px;
  }
  .hero-event-frame {
    width: min(80%, 290px);
  }
  .ticker-track {
    justify-content: flex-start;
    gap: 22px;
    padding: 13px 16px;
    font-size: 8px;
  }
  .section {
    padding-top: 65px;
    padding-bottom: 62px;
  }
  .section-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .section h2,
  .tracks-heading h2 {
    font-size: 36px;
  }
  .stat-strip {
    margin-top: 28px;
  }
  .stat-strip > div {
    padding: 14px 9px;
  }
  .stat-strip strong {
    font-size: 22px;
  }
  .stat-strip small {
    font-size: 6px;
    letter-spacing: 0.04em;
  }
  .tracks-section {
    padding: 65px 0;
  }
  .tracks-heading {
    display: block;
    margin-bottom: 24px;
  }
  .tracks-heading p {
    margin-top: 14px;
  }
  .track-grid {
    grid-template-columns: 1fr;
  }
  .track-card {
    min-height: 205px;
  }
  .track-card h3 {
    margin-top: 27px;
  }
  .cta-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .cta-section h2 {
    font-size: 35px;
  }
  .footer-inner {
    min-height: 0;
    padding: 22px 0;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer p {
    font-size: 9px;
  }
  .registration-wrap {
    width: calc(100% - 28px);
    margin-top: 20px;
    margin-bottom: 45px;
  }
  .registration-intro h1 {
    font-size: 43px;
  }
  .form-card {
    padding: 22px 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .form-card-head .section-label {
    font-size: 8px;
  }
  .admin-wrap {
    padding-top: 25px;
  }
  .admin-heading {
    align-items: start;
    flex-direction: column;
  }
  .admin-heading h1 {
    font-size: 37px;
  }
  .admin-stats {
    gap: 8px;
  }
  .admin-stat {
    padding: 13px;
  }
  .admin-stat small {
    font-size: 8px;
  }
  .admin-stat strong {
    font-size: 23px;
  }
  .table-tools {
    flex-wrap: wrap;
  }
  .table-tools select {
    width: 100%;
  }
  .table-tools input {
    flex: 1;
  }
  .admin-nav > span {
    display: none;
  }
  .login-card,
  .verify-card {
    padding: 23px 18px;
  }
  .ticker-track span {
    font-size: 8px;
  }
}
/* Compact sponsor strip floating at the bottom of the viewport */
.sponsor-train {
  position: fixed;
  z-index: 999;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4px 0 3px;
  overflow: hidden;
  background: linear-gradient(100deg, rgba(4, 15, 31, .96), rgba(8, 31, 58, .96), rgba(4, 15, 31, .96));
  border-top: 1px solid rgba(96, 165, 250, .42);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .22);
  backdrop-filter: blur(12px);
}
.sponsor-train-heading,
.sponsor-track-base { display: none; }
.sponsor-rail {
  height: 52px;
  padding: 0;
}
.sponsor-image-runner {
  animation-duration: 18s;
}
.sponsor-image-runner img {
  height: 46px;
  max-height: 46px;
  filter: drop-shadow(0 2px 5px #0008);
}
body { padding-bottom: 58px; }
@media (max-width: 600px) {
  .sponsor-train { padding: 3px 0; }
  .sponsor-rail { height: 43px; }
  .sponsor-image-runner img { height: 37px; max-height: 37px; }
  body { padding-bottom: 49px; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}

/* Breakout session description */
.breakout-help{display:block;margin-top:8px;color:var(--muted);font-size:12px;line-height:1.6;font-weight:400;padding:10px 12px;border-left:2px solid var(--blue);background:linear-gradient(100deg,#1d4ed81e,transparent);border-radius:0 7px 7px 0}


/* Single-choice breakout session radio cards */
.breakout-options {
  min-width: 0;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
.breakout-options legend {
  margin-bottom: 10px;
  color: #eaf2ff;
  font-size: 12px;
  font-weight: 700;
}
.breakout-option {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 12px !important;
  margin: 0 0 10px;
  padding: 14px;
  border: 1px solid #30445f;
  border-radius: 9px;
  background: linear-gradient(120deg, #152943, #101b2a);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.breakout-option:has(input:checked) {
  border-color: #60a5fa;
  background: linear-gradient(120deg, #1b3d67, #132943);
  box-shadow: 0 0 0 1px #60a5fa26 inset;
}
.breakout-option:hover {
  border-color: #5284bd;
  transform: translateY(-1px);
}
.breakout-option input[type="radio"] {
  flex: 0 0 auto;
  width: 17px !important;
  height: 17px;
  margin: 2px 0 0;
  accent-color: #60a5fa;
  cursor: pointer;
}
.breakout-option span {
  display: block;
  min-width: 0;
}
.breakout-option strong {
  display: block;
  color: #f2f7ff;
  font-size: 12px;
  line-height: 1.5;
}
.breakout-option small {
  display: block;
  margin-top: 5px;
  color: #aabbd2;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}


/* Larger, more accessible registration controls */
.form-card form { gap: 19px; }
.form-card label,
.form-card .breakout-options legend {
  font-size: 13px;
  line-height: 1.55;
}
.form-card input:not([type="checkbox"]),
.form-card select {
  min-height: 50px;
  padding: 13px 15px;
  border-radius: 8px;
  font-size: 14px;
}
.form-card input::placeholder { color: #8fa5c0; }
.form-card .form-row { gap: 15px; }
.form-card .breakout-option {
  padding: 17px;
  border-radius: 11px;
}
.form-card .breakout-option strong { font-size: 14px; }
.form-card .breakout-option small { font-size: 12px; line-height: 1.7; }
.form-card input[type="checkbox"] {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  accent-color: #60a5fa;
  cursor: pointer;
}
.form-card .consent {
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 11px !important;
  font-size: 12px;
  line-height: 1.7;
}
.form-card .consent input { margin-top: 3px; }
.privacy-consent-panel {
  padding: 18px;
  border: 1px solid #345273;
  border-radius: 11px;
  background: linear-gradient(145deg, #142b45, #0e1d30);
}
.privacy-consent-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d8eaff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
}
.privacy-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #4775a7;
  border-radius: 8px;
  color: #93c5fd;
  background: #2563eb20;
  font-size: 16px;
}
.privacy-consent-panel > p {
  margin: 13px 0 16px;
  color: #c0d0e3;
  font-size: 12px;
  line-height: 1.85;
}
.privacy-consent-panel > p strong { color: #f3f8ff; }
.form-card .privacy-accept {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #304760;
  color: #edf5ff !important;
}
.privacy-accept em {
  display: block;
  margin-top: 3px;
  color: #a8bdd6;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
}
@media (max-width: 600px) {
  .form-card input:not([type="checkbox"]),
  .form-card select { min-height: 52px; font-size: 15px; }
  .privacy-consent-panel { padding: 14px; }
}

/* Keep breakout radio controls compact inside the larger form fields. */
.form-card .breakout-option input[type="radio"] {
  width: 19px !important;
  min-width: 19px;
  min-height: 19px;
  height: 19px;
  padding: 0;
}


/* Click-to-expand event date and venue details */
.event-details { margin-top: 27px; }
.event-note { display:flex; align-items:center; gap:14px; width:100%; padding:17px 18px; border:1px solid #60a5fa8a; border-radius:12px; background:linear-gradient(115deg,#1d4ed83b,#0c1b30 78%); color:var(--text); text-align:left; cursor:pointer; list-style:none; box-shadow:0 0 0 1px #60a5fa12 inset,0 10px 30px #02081740; transition:border-color .18s ease,transform .18s ease,background .18s ease; }
.event-note::-webkit-details-marker { display:none; }
.event-note:hover,.event-details[open] .event-note { border-color:#93c5fd; background:linear-gradient(115deg,#1d4ed855,#102541 78%); transform:translateY(-1px); }
.event-date-icon { display:grid; place-items:center; flex:0 0 42px; height:42px; border:1px solid #60a5fa7a; border-radius:10px; background:#2563eb2e; color:#bae6fd; font-size:23px; }
.event-note b { display:block; color:#f4f9ff; font:700 16px/1.35 var(--display); letter-spacing:.025em; }
.event-note small { display:block; margin-top:5px; color:#a9d6ff; font-size:9px; font-weight:700; letter-spacing:.09em; }
.event-chevron { display:inline-block; margin-left:4px; color:#e0f2fe; }
.event-details[open] .event-chevron { transform:rotate(45deg); }
.event-detail-content { margin-top:9px; padding:18px; border:1px solid #2e4d70; border-radius:10px; background:#0d2036; color:#d4e4f7; font-size:12px; line-height:1.75; }
.event-detail-content > strong { color:#f4f8ff; font-size:12px; }
.event-detail-content p { margin:5px 0; color:#b8cce4; }
.venue-line { display:grid; gap:4px; margin-top:15px; padding-top:13px; border-top:1px solid #29415c; }
.venue-line > span { color:#8ebcf0; font-size:9px; font-weight:700; letter-spacing:.12em; }
.venue-line > b { color:#fff; font-size:14px; }
.venue-line > a,.venue-facebook { color:#93c5fd; text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
.venue-facebook { display:inline-block; margin-top:12px; font-size:11px; font-weight:700; }
.field-hint { display:block; margin:3px 0 7px; color:#a9c7e8; font-size:11px; font-weight:500; }
.form-card textarea { width:100%; min-height:94px; padding:13px 15px; border:1px solid #344c69; border-radius:8px; background:#0a1727; color:#f5f9fe; font:inherit; font-size:14px; resize:vertical; }
.form-card textarea:focus { outline:2px solid #60a5fa88; border-color:#60a5fa; }
.privacy-consent-panel > p { margin:13px 0; }
@media (max-width:600px) { .event-note { padding:14px; gap:11px; } .event-note b { font-size:14px; } .event-detail-content { padding:14px; } }

/* Live countdown to TRAIN SOCCSKSARGEN 2026 */
.event-countdown { grid-column:1 / -1; position:relative; z-index:2; width:100%; max-width:none; margin-top:26px; padding:17px 18px 14px; border:1px solid #60a5fa55; border-radius:12px; background:linear-gradient(130deg,#102b4bdb,#091728f2 78%); box-shadow:0 12px 35px #02081742,inset 0 1px #ffffff09; overflow:hidden; }
.event-countdown:before { content:""; position:absolute; inset:0 auto 0 0; width:3px; background:linear-gradient(#7dd3fc,#2563eb); }
.countdown-heading { display:flex; align-items:center; gap:8px; color:#b8d8fb; font-size:9px; font-weight:700; letter-spacing:.14em; }
.countdown-live-dot { width:6px; height:6px; border-radius:50%; background:#7dd3fc; box-shadow:0 0 11px #38bdf8; animation:countdownPulse 1.8s ease-in-out infinite; }
.countdown-units { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:14px; }
.countdown-unit { min-width:0; padding:9px 5px 8px; border:1px solid #3a5b7d77; border-radius:8px; background:#061426a8; text-align:center; }
.countdown-unit strong { display:block; color:#f2f8ff; font:600 clamp(22px,3vw,30px)/1.1 var(--display); font-variant-numeric:tabular-nums; letter-spacing:-.04em; }
.countdown-unit span { display:block; margin-top:6px; color:#8fb7e2; font-size:8px; font-weight:700; letter-spacing:.1em; }
.countdown-date-label { margin:11px 0 0; color:#d1e6ff; font-size:9px; font-weight:700; letter-spacing:.09em; }
.countdown-date-label span { color:#5f8ab9; padding:0 5px; }
.countdown-event-message { margin:12px 0 0; color:#eff7ff; font:600 18px/1.4 var(--display); }
.countdown-event-message[hidden],.countdown-units[hidden],.countdown-date-label[hidden] { display:none; }
.registration-intro .event-countdown { width:100%; max-width:none; margin-top:17px; }
@keyframes countdownPulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.55; transform:scale(.8); } }
@media(max-width:700px) { .event-countdown { max-width:100%; margin-top:20px; padding:14px 12px 12px; } .countdown-units { gap:5px; } .countdown-unit { padding:9px 2px 7px; } .countdown-unit strong { font-size:clamp(20px,6vw,27px); } .countdown-unit span { font-size:7px; letter-spacing:.06em; } }
@media(prefers-reduced-motion:reduce) { .countdown-live-dot { animation:none; } }

/* Clickable venue location and Google Maps directions */
.hero-venue { display:flex; align-items:center; gap:13px; max-width:520px; margin-top:14px; padding:13px 15px; border:1px solid #42648a99; border-radius:10px; background:linear-gradient(115deg,#102b4bd9,#091728e8); }
.hero-venue .meta-icon { display:grid; place-items:center; flex:0 0 34px; height:34px; border-radius:8px; background:#2563eb35; color:#bae6fd; font-size:22px; }
.hero-venue > span:nth-child(2) { display:grid; gap:4px; min-width:0; }
.hero-venue b { color:#f4f9ff; font-size:11px; letter-spacing:.04em; }
.hero-venue small { color:#a9c7e8; font-size:9px; letter-spacing:.05em; }
.hero-venue > a { margin-left:auto; flex-shrink:0; color:#93c5fd; font-size:9px; font-weight:700; letter-spacing:.04em; text-decoration:none; }
.hero-venue > a:hover,.map-directions-link:hover { color:#e0f2fe; text-decoration:underline; text-underline-offset:3px; }
.venue-line > .venue-name-map { color:#fff; font-size:15px; font-weight:700; text-decoration:none; }
.venue-line > .map-directions-link { display:inline-block; margin-top:7px; font-weight:700; text-decoration:none; }
@media(max-width:600px) { .hero-venue { flex-wrap:wrap; gap:10px; } .hero-venue > a { width:100%; margin-left:47px; } }

/* Keep the highlighted TRAIN R12 identity prominent on smaller screens too. */
@media (max-width: 600px) {
  .brand { gap: 10px; font-size: 17px; }
  .brand-logo { width: 54px; height: 54px; border-radius: 13px; }
  .brand small { font-size: 9px; }
}


/* Single large sponsor image, continuously moving through the footer */
.sponsor-train {
  position: relative;
  overflow: hidden;
  padding: 25px 0 0;
  border-top: 1px solid #24496e;
  background:
    radial-gradient(ellipse at 50% 0%, #1d4ed825, transparent 62%),
    linear-gradient(180deg, #0b1b30, #071321);
}
.sponsor-train-heading {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b9d7f8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .19em;
}
.sponsor-live-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 13px #38bdf8;
}
.sponsor-heading-line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, #3b82f66b, transparent);
}
.sponsor-rail {
  position: relative;
  width: 100%;
  height: clamp(150px, 23vw, 260px);
  overflow: hidden;
  padding: 8px 0 16px;
}
.sponsor-image-runner {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  align-items: center;
  width: max-content;
  max-width: none;
  gap: 0;
  animation: sponsor-image-run 24s linear infinite;
  will-change: transform;
}
.sponsor-image-runner img {
  display: block;
  width: auto;
  height: clamp(125px, 20vw, 225px);
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px #0007);
  transform: translateY(-50%);
}
.sponsor-track-base {
  height: 13px;
  margin-top: 5px;
  border-top: 2px solid #365574;
  background: repeating-linear-gradient(90deg, transparent 0 26px, #365574 26px 31px, transparent 31px 52px);
  opacity: .85;
}
@keyframes sponsor-image-run {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.footer .footer-inner {
  padding-top: 25px;
  padding-bottom: 25px;
}
@media (max-width: 600px) {
  .sponsor-train { padding-top: 21px; }
  .sponsor-train-heading { width: calc(100% - 32px); font-size: 8px; }
  .sponsor-rail { height: 155px; }
  .sponsor-image-runner img { height: 130px; }
  .footer .footer-inner { gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .sponsor-image-runner { animation: none; position: static; transform: none; margin-left: auto; margin-right: auto; }
  .sponsor-image-runner img { max-width: 92vw; height: auto; max-height: 180px; margin: 0 auto; transform: none; }
}


/* Final compact, fixed sponsor ticker: seamless logo-to-logo strip */
.sponsor-train {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 9999 !important;
  width: 100%;
  height: 54px;
  box-sizing: border-box;
  padding: 4px 0 !important;
  overflow: hidden;
  background: linear-gradient(100deg, rgba(4, 15, 31, .98), rgba(8, 31, 58, .98), rgba(4, 15, 31, .98));
  border-top: 1px solid rgba(96, 165, 250, .45);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .25);
  backdrop-filter: blur(12px);
}
.sponsor-train-heading, .sponsor-track-base { display: none !important; }
.sponsor-rail {
  position: relative;
  width: 100%;
  height: 44px !important;
  padding: 0 !important;
  overflow: hidden;
}
.sponsor-image-runner {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  gap: 0 !important;
  width: max-content !important;
  height: 44px;
  animation: sponsor-image-run 28s linear infinite !important;
  will-change: transform;
}
.sponsor-image-runner img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 36px !important;
  max-height: 36px !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain;
  transform: none !important;
}
body { padding-bottom: 64px !important; }
@media (max-width: 600px) {
  .sponsor-train { height: 47px; }
  .sponsor-rail, .sponsor-image-runner { height: 39px !important; }
  .sponsor-image-runner img { height: 31px !important; max-height: 31px !important; }
  body { padding-bottom: 56px !important; }
}


/* Registration submit stays disabled until all required fields and consents are complete. */
.form-card button[type="submit"]:disabled { opacity:.45; cursor:not-allowed; filter:grayscale(.25); box-shadow:none; transform:none; }
.form-card button[type="submit"]:disabled:hover { opacity:.45; transform:none; }
.submit-hint { margin:9px 0 0; color:#91a7c2; font-size:12px; line-height:1.5; }


/* Registration validation and success confirmation */
.form-card .notice-error {
  padding: 13px 15px;
  border: 1px solid #f87171;
  border-radius: 10px;
  background: #7f1d1d;
  color: #fff1f2;
  font-size: 13px;
  line-height: 1.6;
}
.form-card .notice-error p { margin: 4px 0; }
.registration-success {
  padding: 24px 20px;
  border: 1px solid #34d39980;
  border-radius: 14px;
  background: linear-gradient(145deg, #10372f, #0d2030 78%);
  color: #e6fff6;
}
.registration-success-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 17px;
  border: 1px solid #34d399;
  border-radius: 50%;
  background: #10b98120;
  color: #6ee7b7;
  font-size: 26px;
  font-weight: 700;
}
.registration-success h3 {
  margin: 10px 0;
  color: #fff;
  font: 600 clamp(25px, 4vw, 32px)/1.2 var(--display);
}
.registration-success > p {
  color: #c4e5dc;
  font-size: 13px;
  line-height: 1.7;
}
.registration-reference {
  display: grid;
  gap: 9px;
  margin: 20px 0 14px;
  padding: 16px;
  border: 1px solid #3c786b;
  border-radius: 10px;
  background: #061b1a99;
}
.registration-reference > span {
  color: #8ddfc6;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}
.registration-reference strong {
  color: #fff;
  font: 700 clamp(22px, 5vw, 29px)/1.2 var(--display);
  letter-spacing: .06em;
  overflow-wrap: anywhere;
}
.reference-copy {
  justify-self: start;
  padding: 7px 11px;
  border: 1px solid #4b8e7e;
  border-radius: 7px;
  background: #123b34;
  color: #d1fae5;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.registration-success .registration-next-step {
  margin: 13px 0 20px;
  font-size: 12px;
}
.registration-success .button { text-decoration: none; }
@media (max-width: 600px) {
  .registration-success { padding: 20px 15px; }
  .registration-reference { padding: 13px; }
}


/* Admin registrations pagination and high-contrast red decision actions */
.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 14px;
  border-top: 1px solid var(--line);
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #344154;
  border-radius: 7px;
  background: #0b1018;
  color: #d8e6fa;
  font-size: 11px;
  font-weight: 700;
  transition: background .15s ease, border-color .15s ease;
}
.page-link:hover {
  border-color: #ef4444;
  background: #35151b;
}
.page-link.is-current {
  border-color: #ef4444;
  background: #b91c1c;
  color: #fff;
}
.page-next { padding-inline: 14px; }
.mini-approve {
  border: 1px solid #16a34a;
  background: #15803d;
  color: #fff;
}
.mini-approve:hover {
  border-color: #4ade80;
  background: #16a34a;
}
.mini-reject {
  border: 1px solid #ef4444;
  background: #b91c1c;
  color: #fff;
}
.mini-reject:hover {
  border-color: #f87171;
  background: #dc2626;
}
@media (max-width: 600px) {
  .admin-pagination { gap: 5px; padding: 12px 8px; }
  .page-link { min-width: 33px; min-height: 34px; padding: 6px 9px; }
}


/* Resend approval QR email action */
.resend-qr-form { margin-top: 8px; }
.mini-resend-qr {
  width: 100%;
  border: 1px solid #2563eb;
  background: #1d4ed8;
  color: #fff;
}
.mini-resend-qr:hover {
  border-color: #60a5fa;
  background: #2563eb;
}


/* Admin feedback validation states */
.admin-page .notice-error {
  padding: 13px 16px;
  border: 1px solid #f87171;
  border-radius: 10px;
  background: #7f1d1d;
  color: #fff1f2;
  line-height: 1.6;
}
.admin-page .notice-success {
  padding: 13px 16px;
  border: 1px solid #34d399;
  border-radius: 10px;
  background: #14532d;
  color: #dcfce7;
  line-height: 1.6;
}

/* Accessible confirmation modal for resending a participant QR email */
body.modal-open { overflow: hidden; }
.admin-modal { display: none; position: fixed; inset: 0; z-index: 10050; align-items: center; justify-content: center; padding: 20px; }
.admin-modal.is-open { display: flex; }
.admin-modal-backdrop { position: absolute; inset: 0; background: rgba(2, 8, 18, .82); backdrop-filter: blur(5px); }
.admin-modal-dialog {
  position: relative; z-index: 1; width: min(100%, 480px); max-height: min(88vh, 760px); overflow-y: auto;
  padding: 28px; border: 1px solid #35516f; border-radius: 18px;
  background: linear-gradient(150deg, #10243b, #081321 78%); color: #eaf3ff;
  box-shadow: 0 24px 90px #0009;
}
.admin-modal-close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 1px solid #35516f; border-radius: 9px; background: #0b192a; color: #dbeafe; font-size: 25px; cursor: pointer; }
.admin-modal-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border: 1px solid #3b82f6; border-radius: 14px; background: #1d4ed833; color: #93c5fd; font-size: 23px; }
.admin-modal-dialog h2 { margin: 10px 0 9px; color: #fff; font: 600 27px/1.2 var(--display); }
.admin-modal-dialog > p { margin: 0 0 18px; color: #a9bed6; font-size: 13px; line-height: 1.65; }
.resend-recipient-card { display: grid; gap: 5px; margin: 18px 0; padding: 15px; border: 1px solid #2e4967; border-radius: 12px; background: #061426; }
.resend-recipient-card small { margin-top: 6px; color: #8fb6e1; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.resend-recipient-card strong { color: #f3f8ff; font-size: 13px; overflow-wrap: anywhere; }
.resend-recipient-card .resend-recipient-email { color: #93c5fd; }
.admin-modal-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.admin-modal-actions button:disabled { opacity: .45; cursor: not-allowed; }
.modal-validation-note { margin: 10px 0; padding: 10px 12px; border: 1px solid #f87171; border-radius: 8px; background: #7f1d1d; color: #fff1f2; font-size: 12px; line-height: 1.5; }
.modal-validation-note[hidden] { display: none; }
@media (max-width: 520px) {
  .admin-modal { padding: 12px; }
  .admin-modal-dialog { padding: 23px 17px; border-radius: 14px; }
  .admin-modal-actions { display: grid; grid-template-columns: 1fr; }
  .admin-modal-actions button { width: 100%; }
}


/* Admin status badges: solid colors with readable white text. */
.admin-dashboard-page .participant-table .status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border: 0;
    border-radius: 6px;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
}
.admin-dashboard-page .participant-table .status-approved {
    background-color: #15803d !important;
}
.admin-dashboard-page .participant-table .status-rejected {
    background-color: #b91c1c !important;
}
.admin-dashboard-page .participant-table .status-pending-review {
    background-color: #b45309 !important;
}
.admin-dashboard-page .participant-table .status-pending-email-confirmation {
    background-color: #1d4ed8 !important;
}


/* Homepage emphasis: larger live countdown and event date */
.hero .event-countdown {
  margin-top: 30px;
  padding: 28px 30px 24px;
  border-radius: 16px;
  box-shadow: 0 18px 48px #02081755, inset 0 1px #ffffff12;
}
.hero .countdown-heading {
  gap: 11px;
  font-size: 13px;
  letter-spacing: .16em;
}
.hero .countdown-live-dot { width: 9px; height: 9px; }
.hero .countdown-units { gap: 14px; margin-top: 22px; }
.hero .countdown-unit {
  padding: 20px 10px 17px;
  border-radius: 12px;
}
.hero .countdown-unit strong {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1;
  letter-spacing: -.045em;
}
.hero .countdown-unit span {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .14em;
}
.hero .countdown-date-label {
  margin-top: 20px;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.35;
  letter-spacing: .1em;
}
.hero .countdown-date-label span { padding: 0 10px; }
@media(max-width:700px) {
  .hero .event-countdown { margin-top: 22px; padding: 21px 13px 18px; }
  .hero .countdown-heading { font-size: 10px; letter-spacing: .11em; }
  .hero .countdown-units { gap: 6px; margin-top: 16px; }
  .hero .countdown-unit { padding: 14px 3px 12px; }
  .hero .countdown-unit strong { font-size: clamp(26px, 8vw, 40px); }
  .hero .countdown-unit span { margin-top: 7px; font-size: 9px; letter-spacing: .07em; }
  .hero .countdown-date-label { margin-top: 16px; font-size: clamp(14px, 4vw, 18px); letter-spacing: .06em; }
  .hero .countdown-date-label span { padding: 0 4px; }
}


/* Participant type and assigned schedule are the first, most visible registration choices. */
.participant-type-options{margin:0;padding:18px;border:1px solid #60a5fa88;border-radius:14px;background:linear-gradient(145deg,#112b49,#0b1c30)}
.participant-type-options legend{padding:0 8px;color:#bfdbfe;font-size:11px;font-weight:800;letter-spacing:.12em}
.participant-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.form-card .participant-type-option{position:relative;display:flex;align-items:flex-start;gap:11px;padding:16px 13px;border:1px solid #365777;border-radius:11px;background:#0a192b;cursor:pointer;transition:border-color .18s,background .18s,transform .18s}
.form-card .participant-type-option:has(input:checked){border-color:#60a5fa;background:linear-gradient(145deg,#163d68,#10263e);box-shadow:0 0 0 2px #60a5fa24}
.form-card .participant-type-option input[type=radio]{width:17px;min-width:17px;height:17px;margin:3px 0 0;accent-color:#60a5fa}
.participant-type-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border-radius:8px;background:#1d4ed833;color:#93c5fd;font-size:15px}
.form-card .participant-type-option strong,.form-card .participant-type-option small,.form-card .participant-type-option b{display:block}
.form-card .participant-type-option strong{font:700 16px/1.3 var(--display);color:#fff}
.form-card .participant-type-option small{margin-top:6px;color:#b4c9e2;font-size:11px;line-height:1.5}
.form-card .participant-type-option b{margin-top:11px;color:#bfdbfe;font-size:11px;line-height:1.4;letter-spacing:.025em}
.schedule-emphasis{display:flex;flex-direction:column;gap:7px;margin-top:14px;padding:16px 17px;border:2px solid #60a5fa;border-radius:12px;background:linear-gradient(110deg,#1d4ed833,#10233a);text-align:center}
.schedule-emphasis-label{color:#93c5fd;font-size:10px;font-weight:800;letter-spacing:.16em}
.schedule-emphasis strong{color:#fff;font:700 clamp(17px,2.5vw,23px)/1.3 var(--display);letter-spacing:.015em}
.schedule-emphasis>span:last-child{color:#c2d7f0;font-size:12px;line-height:1.5}
@media(max-width:600px){.participant-type-options{padding:13px}.participant-type-grid{grid-template-columns:1fr}.form-card .participant-type-option{padding:14px}.schedule-emphasis{padding:14px 10px}}


/* Center all homepage countdown content for a balanced event banner. */
.hero .event-countdown { text-align: center; }
.hero .countdown-heading { justify-content: center; }
.hero .countdown-date-label { text-align: center; }


/* Make the assigned registration time impossible to miss. */
.form-card .participant-type-option b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  padding: 9px 11px;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  background: linear-gradient(135deg, #713f12, #92400e);
  color: #fff7cc;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .035em;
  box-shadow: 0 0 0 1px #fbbf2418, 0 5px 18px #f59e0b18;
}
.form-card .participant-type-option b::before {
  content: "◷";
  font-size: 16px;
  line-height: 1;
}
.form-card .participant-type-option:has(input:checked) b {
  border-color: #fde047;
  background: linear-gradient(135deg, #a16207, #854d0e);
  color: #fff;
  box-shadow: 0 0 0 2px #facc1530, 0 0 22px #f59e0b30;
}
.form-card .schedule-emphasis {
  border: 2px solid #fbbf24;
  background: radial-gradient(ellipse at top, #854d0e55, transparent 72%), linear-gradient(110deg, #172b43, #0c1a2b);
  box-shadow: 0 0 0 3px #fbbf2412, 0 12px 28px #0003;
}
.form-card .schedule-emphasis-label {
  color: #fcd34d;
  font-size: 11px;
}
.form-card .schedule-emphasis strong {
  color: #fff;
  font-size: clamp(21px, 3vw, 29px);
  font-weight: 800;
  letter-spacing: .01em;
  text-shadow: 0 2px 18px #f59e0b30;
}
.form-card .schedule-emphasis strong:not(:empty) {
  text-wrap: balance;
}
@media(max-width:600px) {
  .form-card .participant-type-option b { font-size: 12px; padding: 9px 10px; }
  .form-card .schedule-emphasis strong { font-size: clamp(19px, 5.5vw, 25px); }
}


/* Registration schedule hierarchy: date first, event time largest, guidance small. */
.form-card .participant-type-icon { display: none !important; }
.form-card .participant-type-option { gap: 0; }
.form-card .participant-type-option b { display: none !important; }
.form-card .schedule-emphasis { gap: 8px; padding: 20px 16px 17px; }
.form-card .schedule-emphasis .schedule-emphasis-date {
  display: block;
  color: #f8fafc;
  font: 800 clamp(15px, 2vw, 19px)/1.35 var(--display);
  letter-spacing: .055em;
}
.form-card .schedule-emphasis .schedule-emphasis-time {
  display: block;
  width: fit-content;
  align-self: center;
  margin: 3px 0 1px;
  padding: 7px 22px 9px;
  border: 1px solid #fde047;
  border-radius: 12px;
  background: linear-gradient(135deg, #a16207, #854d0e);
  color: #fff;
  font: 800 clamp(34px, 5vw, 46px)/1.05 var(--display);
  letter-spacing: -.025em;
  text-shadow: 0 2px 14px #0004;
  box-shadow: 0 0 0 3px #fbbf2418, 0 8px 24px #f59e0b26;
}
.form-card .schedule-emphasis .schedule-emphasis-time[hidden] { display: none !important; }
.form-card .schedule-emphasis > span:last-child {
  max-width: 360px;
  align-self: center;
  color: #b9c9dc;
  font-size: 11px;
  line-height: 1.45;
}
@media(max-width:600px) {
  .form-card .schedule-emphasis { padding: 17px 10px 14px; }
  .form-card .schedule-emphasis .schedule-emphasis-date { font-size: 14px; }
  .form-card .schedule-emphasis .schedule-emphasis-time { font-size: 38px; }
  .form-card .schedule-emphasis > span:last-child { font-size: 10px; }
}


/* Featured TRAIN 2026 poster below the event countdown */
.train-poster-highlight {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 18px auto 0;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, .58);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(16, 43, 75, .96), rgba(7, 19, 33, .98));
  box-shadow: 0 12px 34px rgba(2, 8, 23, .28), 0 0 0 3px rgba(37, 99, 235, .08);
  text-align: center;
}
.train-poster-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 1px 2px 11px;
  text-align: left;
}
.poster-kicker { color: #bfdbfe; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.poster-pill { flex: 0 0 auto; padding: 5px 9px; border: 1px solid rgba(125, 211, 252, .42); border-radius: 999px; background: rgba(37, 99, 235, .18); color: #e0f2fe; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.train-poster-link { display: block; overflow: hidden; border: 1px solid rgba(191, 219, 254, .3); border-radius: 10px; background: #fff; line-height: 0; }
.train-poster-link img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; margin: 0 auto; transition: transform .35s ease, filter .35s ease; }
.train-poster-link:hover img, .train-poster-link:focus-visible img { transform: scale(1.012); filter: saturate(1.04); }
.train-poster-highlight > p { margin: 11px 4px 2px; color: #c6d8ee; font-size: 12px; line-height: 1.6; }
.train-poster-highlight > p strong { color: #fff; }
.registration-intro .train-poster-highlight { margin-top: 14px; }
@media (max-width: 600px) {
  .train-poster-highlight { margin-top: 14px; padding: 9px; border-radius: 12px; }
  .poster-kicker { font-size: 9px; letter-spacing: .1em; }
  .train-poster-link img { max-height: 75vh; }
}
@media (prefers-reduced-motion: reduce) { .train-poster-link img { transition: none; } }

/* Match the countdown's full row width while preserving the poster's natural ratio. */
.hero .train-poster-highlight { grid-column: 1 / -1; width: 100%; max-width: none; justify-self: stretch; }
.registration-intro .train-poster-highlight { width: 100%; max-width: none; }
