/* ═══════════════════════════════════════════════════════════
   DEFENCE PREP — FUN STUDENT UI  🎯
   Cartoon-style, energetic, emoji-rich, NON-boring!
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Fredoka+One&display=swap');

/* ── CSS VARIABLES ───────────────────────────────────────── */
:root {
  --navy:        #0B1D3A;
  --navy-light:  #1A3A60;
  --gold:        #FFCA28;
  --gold-dark:   #F9A825;
  --gold-light:  #FFF8E1;
  --green:       #2ECC71;
  --green-dark:  #27AE60;
  --red:         #E74C3C;
  --purple:      #9B59B6;
  --blue:        #3498DB;
  --orange:      #E67E22;
  --pink:        #FF6B9D;
  --teal:        #1ABC9C;

  --bg:          #F0F5FF;
  --white:       #FFFFFF;
  --text:        #2C3E50;
  --muted:       #7F8C8D;
  --border:      #D5E0F5;

  --radius:      14px;
  --radius-lg:   22px;
  --radius-xl:   32px;

  --shadow-card: 0 8px 32px rgba(11,29,58,0.10);
  --shadow-btn:  0 6px 20px rgba(255,202,40,0.40);
  --shadow-fun:  0 4px 0px rgba(11,29,58,0.18);
}

/* ── RESET & BASE ────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 15% 30%, rgba(52,152,219,0.07) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(255,202,40,0.07) 0%, transparent 50%);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR ──────────────────────────────────────────────── */
nav {
  background: var(--navy);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.nav-brand {
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 1px;
}
.nav-brand span { color: #fff; }

nav > div:last-child {
  background: rgba(255,202,40,0.15);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,202,40,0.3);
  letter-spacing: 0.5px;
}

/* ── PAGE SYSTEM ─────────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

/* ── CARD WRAP ───────────────────────────────────────────── */
.card-wrap {
  max-width: 600px;
  margin: 36px auto;
  padding: 0 16px 80px;
}

/* ── THE MAIN CARD ───────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 2px solid rgba(52,152,219,0.10);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── CARD HEADER — fun gradient ──────────────────────────── */
.card-header {
  background: linear-gradient(135deg, var(--navy) 0%, #183660 60%, #1e4a80 100%);
  padding: 28px 32px 24px;
  position: relative;
  overflow: hidden;
}

.card-header::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: rgba(255,202,40,0.08);
}
.card-header::after {
  content: '';
  position: absolute;
  bottom: -20px; left: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(52,152,219,0.10);
}

.card-header h2 {
  font-family: 'Fredoka One', cursive;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.card-header p {
  color: rgba(255,255,255,0.70);
  font-size: 0.9rem;
  margin-top: 6px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* ── CARD BODY ───────────────────────────────────────────── */
.card-body { padding: 28px 32px; }

/* ── SECTION TITLE ───────────────────────────────────────── */
.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 18px;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(52,152,219,0.08), transparent);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
}
.section-title:first-child { margin-top: 0; }

/* ── FORM GROUPS ─────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input[type="text"],
input[type="tel"],
input[type="date"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(52,152,219,0.12);
}

input[readonly] {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 800;
  cursor: default;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%230B1D3A' d='M7 9L2 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

/* Multiple select */
select[multiple] {
  height: auto !important;
  padding: 10px;
  background-image: none;
}

/* ── PHONE ROW ───────────────────────────────────────────── */
.phone-row { display: flex; gap: 10px; align-items: flex-start; }
.phone-row input { flex: 1; }

.btn-otp {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.85rem;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
  min-width: 110px;
  box-shadow: 0 4px 0 rgba(0,0,0,0.25);
  letter-spacing: 0.3px;
}
.btn-otp:hover { background: #1a3060; transform: translateY(-1px); }
.btn-otp:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,0.25); }
.btn-otp:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ── OTP BOX ─────────────────────────────────────────────── */
#otpBox {
  background: #EFF6FF;
  border: 2px dashed var(--blue);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 12px;
  animation: slideUp 0.3s ease;
}

.otp-row { display: flex; gap: 8px; }
.otp-row input {
  letter-spacing: 10px;
  font-size: 1.5rem;
  text-align: center;
  font-weight: 900;
  color: var(--navy);
}

.btn-verify {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.85rem;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 0 var(--green-dark);
  transition: transform 0.1s;
}
.btn-verify:hover { transform: translateY(-1px); }
.btn-verify:active { transform: translateY(2px); box-shadow: none; }

.otp-status { font-size: 0.82rem; margin-top: 8px; font-weight: 700; }
.otp-status.success { color: var(--green-dark); }
.otp-status.error   { color: var(--red); }

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #D5F5E3;
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 999px;
  margin-top: 10px;
  border: 2px solid #A9DFBF;
  animation: pop 0.3s ease;
}

@keyframes pop {
  0%   { transform: scale(0.8); opacity: 0; }
  80%  { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

/* ── RADIO GROUP — FUN CHIPS ─────────────────────────────── */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2.5px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  transition: all 0.2s;
  font-weight: 700;
  color: var(--text);
  background: #fff;
  user-select: none;
}

.radio-group input[type="radio"] {
  width: auto;
  padding: 0;
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
}

.radio-group label:has(input:checked) {
  border-color: var(--gold-dark);
  background: var(--gold-light);
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 3px 0 var(--gold-dark);
  transform: translateY(-2px);
}

/* ── STEP INDICATOR ──────────────────────────────────────── */
.steps {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg);
  border: 2px solid var(--border);
  padding: 4px;
}

.step {
  flex: 1;
  padding: 8px 4px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  transition: all 0.3s;
  cursor: default;
}

.step.active {
  background: var(--navy);
  color: var(--gold);
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(11,29,58,0.3);
}

.step.done {
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

/* ── HEIGHT VISUAL PICKER ────────────────────────────────── */
.height-visual-wrap {
  text-align: center;
  padding: 20px 16px;
  background: linear-gradient(180deg, #EFF8FF 0%, #E8F4FD 100%);
  border-radius: var(--radius-lg);
  border: 2px solid #BDE0F5;
  margin-bottom: 12px;
  position: relative;
}

.height-cartoon {
  font-size: 5rem;
  line-height: 1;
  display: block;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.height-meter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

.height-display {
  font-family: 'Fredoka One', cursive;
  font-size: 2.2rem;
  color: var(--navy);
  line-height: 1;
}

.height-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Height slider */
.height-slider-wrap {
  margin-top: 16px;
  position: relative;
}

.height-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--blue) 0%, var(--blue) 50%, var(--border) 50%);
  outline: none;
  cursor: pointer;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.height-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(11,29,58,0.4);
  border: 3px solid var(--gold);
  transition: transform 0.1s;
}
.height-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.height-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 4px;
}
.height-ticks span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
}

/* ── WEIGHT VISUAL PICKER ────────────────────────────────── */
.weight-visual-wrap {
  text-align: center;
  padding: 18px 16px;
  background: linear-gradient(180deg, #FFF8E1 0%, #FFF3CD 100%);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold);
  margin-bottom: 12px;
}

.weight-cartoon {
  font-size: 4rem;
  line-height: 1;
  display: block;
  transition: all 0.3s;
}

.weight-display {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  color: var(--navy);
  margin-top: 12px;
}

.weight-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--gold-dark) 0%, var(--gold-dark) 50%, var(--border) 50%);
  outline: none;
  cursor: pointer;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  margin-top: 14px;
}

.weight-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(230,126,34,0.5);
  border: 3px solid #fff;
  transition: transform 0.1s;
}
.weight-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

/* ── HIDDEN SELECT (for form data collection) ────────────── */
.hidden-select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
}

/* ── FUN EMOJI OPTION PICKER ─────────────────────────────── */
.emoji-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.emoji-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border: 2.5px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  text-align: center;
  user-select: none;
}

.emoji-option:hover {
  border-color: var(--blue);
  background: #EFF6FF;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(52,152,219,0.2);
}

.emoji-option.selected {
  border-color: var(--gold-dark);
  background: var(--gold-light);
  transform: translateY(-4px);
  box-shadow: 0 6px 0 var(--gold-dark);
}

.emoji-option .opt-emoji {
  font-size: 2.2rem;
  line-height: 1;
  display: block;
}

.emoji-option .opt-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.emoji-option.selected .opt-label { color: #7B5B00; }

/* ── GENDER PICKER ───────────────────────────────────────── */
.gender-picker {
  display: flex;
  gap: 14px;
}

.gender-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 10px;
  border: 3px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  text-align: center;
}

.gender-card:hover {
  border-color: var(--blue);
  background: #EFF6FF;
  transform: translateY(-4px);
}

.gender-card.selected {
  border-color: var(--gold-dark);
  background: var(--gold-light);
  transform: translateY(-5px);
  box-shadow: 0 8px 0 var(--gold-dark);
}

.gender-card .gender-emoji {
  font-size: 3rem;
  line-height: 1;
}

.gender-card .gender-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
}

.gender-card input[type="radio"] { display: none; }

/* ── FUN PROGRESS BAR ────────────────────────────────────── */
.fun-progress-wrap {
  margin: 0 0 28px;
  background: var(--border);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.fun-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── NEXT / PRIMARY BUTTON ───────────────────────────────── */
.btn-next {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Fredoka One', cursive;
  font-weight: 400;
  font-size: 1.15rem;
  border: none;
  border-radius: var(--radius-xl);
  padding: 16px 24px;
  cursor: pointer;
  margin-top: 24px;
  transition: all 0.2s;
  box-shadow: 0 5px 0 var(--gold-dark), var(--shadow-btn);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-next::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}

.btn-next:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 var(--gold-dark), 0 12px 30px rgba(255,202,40,0.4);
}

.btn-next:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--gold-dark);
}

/* Back button override */
#btnPrev {
  background: var(--navy) !important;
  color: #fff !important;
  box-shadow: 0 5px 0 rgba(0,0,0,0.3) !important;
}
#btnPrev:hover {
  box-shadow: 0 8px 0 rgba(0,0,0,0.3) !important;
}

/* ── HINT TEXT ───────────────────────────────────────────── */
.hint {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 600;
}

/* ── EXAM CHIPS on welcome ───────────────────────────────── */
.exam-chips {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.exam-chip {
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.20);
  color: #fff;
  padding: 7px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* ── CONDITIONAL EXAM-SPECIFIC SECTIONS ──────────────────── */
.conditional { display: none; }
.conditional.visible { display: block; }

/* ── ROW 2 ───────────────────────────────────────────────── */
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .row-2 { grid-template-columns: 1fr; } }

/* ── REPORT ──────────────────────────────────────────────── */
#report { padding-bottom: 80px; }
.report-wrap { max-width: 680px; margin: 0 auto; padding: 32px 16px; }

.verdict-card {
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  animation: slideUp 0.5s ease;
}

.verdict-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.verdict-card.eligible   { background: linear-gradient(135deg, #0B5C30, #27AE60); }
.verdict-card.ineligible { background: linear-gradient(135deg, #5C1B0B, #E74C3C); }

.verdict-icon { font-size: 4.5rem; margin-bottom: 12px; animation: bounce 0.6s ease 0.4s both; }

@keyframes bounce {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.2); }
  80%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.verdict-title {
  font-family: 'Fredoka One', cursive;
  font-size: 2.2rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.5px;
}

.verdict-sub { color: rgba(255,255,255,0.80); font-size: 0.95rem; margin-top: 8px; font-weight: 600; }

.exam-label-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  margin-top: 16px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.3);
}

/* ── REPORT SECTIONS ─────────────────────────────────────── */
.report-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px 28px;
  margin-bottom: 18px;
  border: 2px solid rgba(52,152,219,0.08);
}

.report-section h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.criteria-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.criteria-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
}

.criteria-item.pass {
  background: #D5F5E3;
  color: #1A5E35;
  border: 2px solid #A9DFBF;
}

.criteria-item.fail {
  background: #FDEDEC;
  color: #922B21;
  border: 2px solid #F5B7B1;
}

.criteria-item .icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

/* ── CRITERIA COLUMNS ─────────────────────────────────────── */
.criteria-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 10px;
}

.col-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.05rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.col-title.red { color: var(--red); }
.col-title.green { color: var(--green-dark); }

.rec-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rec-item {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  background: #FEF9C3;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  color: #78350F;
  border: 2px solid #FDE68A;
}
.rec-icon { flex-shrink: 0; }

@media (max-width: 650px) {
  .criteria-container {
    grid-template-columns: 1fr;
  }
}

/* ── ADMISSION CARD ──────────────────────────────────────── */
.admission-card {
  margin: 20px 0;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  border: 2px dashed var(--border);
}

.admission-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .admission-flex { flex-direction: row; gap: 32px; }
  .admission-divider { display: block !important; height: 3rem; width: 2px; background: var(--border); }
}

.admission-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 800;
}

.admission-divider { display: none; }

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  transition: all 0.2s;
  font-family: 'Nunito', sans-serif;
  box-shadow: 0 5px 0 rgba(0,0,0,0.2);
}

.action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 rgba(0,0,0,0.2);
}

.action-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,0.2); }

.whatsapp-btn { background: #25D366; color: #fff; }
.call-btn     { background: var(--navy); color: #fff; }

/* ── RESTART BUTTON ──────────────────────────────────────── */
.btn-restart {
  width: 100%;
  background: transparent;
  color: var(--navy);
  font-family: 'Fredoka One', cursive;
  font-weight: 400;
  font-size: 1.1rem;
  border: 3px solid var(--navy);
  border-radius: var(--radius-xl);
  padding: 14px;
  cursor: pointer;
  margin-top: 12px;
  transition: all 0.2s;
}

.btn-restart:hover {
  background: var(--navy);
  color: var(--gold);
}

/* ── SPINNER ─────────────────────────────────────────────── */
.spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,29,58,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  flex-direction: column;
  gap: 20px;
}

.spinner {
  width: 56px;
  height: 56px;
  border: 5px solid rgba(255,255,255,0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.spinner-text {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ── TOAST ───────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy);
  color: #fff;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1000;
  white-space: nowrap;
}

.toast.show { transform: translateX(-50%) translateY(0); }
.toast.gold  { background: var(--gold); color: var(--navy); }

/* ── CONFETTI-STYLE CELEBRATION ──────────────────────────── */
.confetti-icon {
  display: inline-block;
  animation: wiggle 0.5s ease infinite alternate;
}

@keyframes wiggle {
  from { transform: rotate(-5deg); }
  to   { transform: rotate(5deg); }
}

/* ── VISION OPTION GRID ──────────────────────────────────── */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.vision-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 8px;
  border: 2.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
}

.vision-opt:hover { border-color: var(--blue); background: #EFF6FF; }
.vision-opt.selected { border-color: var(--green-dark); background: #D5F5E3; color: #1A5E35; box-shadow: 0 3px 0 var(--green-dark); }
.vision-opt .v-emoji { font-size: 1.8rem; }

/* ── FUN FACT STRIP ──────────────────────────────────────── */
.fun-fact-strip {
  background: linear-gradient(135deg, #EFF8FF, #E8F4FF);
  border: 2px solid #BDE0F5;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── WING / BRANCH PICKER ────────────────────────────────── */
.wing-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.wing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  border: 2.5px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  text-align: center;
}

.wing-card:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: 0 6px 16px rgba(11,29,58,0.15); }
.wing-card.selected { border-color: var(--gold-dark); background: var(--gold-light); transform: translateY(-4px); box-shadow: 0 6px 0 var(--gold-dark); }
.wing-card .wing-emoji { font-size: 2.5rem; }
.wing-card .wing-label { font-size: 0.82rem; font-weight: 800; color: var(--navy); }

/* ── CHEST / MEDICAL MULTI-SELECT ────────────────────────── */
select[multiple] option {
  padding: 8px 12px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  border-radius: 6px;
  margin-bottom: 4px;
}

/* ── FLOATING EMOJI DECORATORS ───────────────────────────── */
.page-emoji-top {
  text-align: center;
  font-size: 3rem;
  margin: 20px 0 -10px;
  display: block;
}

/* ── FLAT FEET VISUALS ───────────────────────────────────── */
.flat-feet-visuals {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0;
  flex-wrap: nowrap; /* Keeps images in one row */
}

.flat-feet-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flat-feet-option img {
  width: 70px; /* Reduced size for single-row layout */
  height: auto;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 6px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.flat-feet-option span {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

/* ── MEDICAL PICKER CUSTOM GRID ──────────────────────────── */
#medicalPicker {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

#medicalPicker .emoji-option[data-val="none"] {
  grid-column: span 3; /* Spans across all 3 columns */
  flex-direction: row;
  justify-content: center;
  gap: 15px;
  padding: 18px;
  border: 3px solid var(--border);
  background: #fdfdfd;
}

#medicalPicker .emoji-option[data-val="none"] .opt-label { font-size: 1rem; }

@media (max-width: 500px) {
  #medicalPicker { grid-template-columns: repeat(2, 1fr); }
  #medicalPicker .emoji-option[data-val="none"] { grid-column: span 2; }
}