﻿/* ============================================================
   InnoLearn — Onboarding Wizard Styles
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:      #5c6ef8;
  --primary-dark: #4757e8;
  --primary-light:#eef0ff;
  --success:      #22c55e;
  --warning:      #f59e0b;
  --danger:       #ef4444;
  --gray-50:      #f9fafb;
  --gray-100:     #f3f4f6;
  --gray-200:     #e5e7eb;
  --gray-300:     #d1d5db;
  --gray-400:     #9ca3af;
  --gray-500:     #6b7280;
  --gray-700:     #374151;
  --gray-900:     #111827;
  --radius:       12px;
  --shadow-md:    0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.12);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--gray-50);
  color: var(--gray-900);
  min-height: 100vh;
  display: flex;
}

/* ── Layout ──────────────────────────────────────────────── */
.ob-wrap {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* ── Left Panel ──────────────────────────────────────────── */
.ob-left {
  width: 340px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #3b4de8 0%, #5c6ef8 50%, #8b5cf6 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 48px 36px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.ob-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 52px;
}

.ob-brand-icon {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.ob-brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.3px;
}

.ob-brand-name span { opacity: .75; }

/* ── Step List ───────────────────────────────────────────── */
.ob-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.ob-step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  position: relative;
}

.ob-step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 16px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,.2);
}

.ob-step-item.done::after { background: rgba(255,255,255,.6); }

.ob-step-num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  background: transparent;
  transition: all .3s;
  position: relative;
  z-index: 1;
}

.ob-step-item.active .ob-step-num {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.2);
}

.ob-step-item.done .ob-step-num {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

.ob-step-label { padding-top: 4px; }
.ob-step-label strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  transition: color .3s;
}
.ob-step-item.active .ob-step-label strong,
.ob-step-item.done .ob-step-label strong { color: #fff; }

.ob-step-label small {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  line-height: 1.4;
}
.ob-step-item.active .ob-step-label small { color: rgba(255,255,255,.65); }

/* ── Left Footer ─────────────────────────────────────────── */
.ob-left-footer {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-top: 24px;
  line-height: 1.5;
}

.ob-left-footer a { color: rgba(255,255,255,.6); text-decoration: none; }
.ob-left-footer a:hover { color: #fff; }

/* ── Right Panel ─────────────────────────────────────────── */
.ob-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 48px;
  overflow-y: auto;
  min-height: 100vh;
}

/* ── Step Panels ─────────────────────────────────────────── */
.ob-panel {
  width: 100%;
  max-width: 560px;
  display: none;
  animation: fadeSlideIn .35s ease;
}

.ob-panel.active { display: block; }

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

.ob-panel-header { margin-bottom: 36px; }
.ob-panel-header h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: -.4px;
}
.ob-panel-header p { font-size: 15px; color: var(--gray-500); line-height: 1.5; }

/* ── Form Elements ───────────────────────────────────────── */
.ob-form { display: flex; flex-direction: column; gap: 20px; }

.ob-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.ob-field { display: flex; flex-direction: column; gap: 6px; }

.ob-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
}

.ob-field label .req { color: var(--danger); margin-left: 2px; }

.ob-field input,
.ob-field select,
.ob-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--gray-900);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.ob-field input:focus,
.ob-field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(92,110,248,.12);
}

.ob-field input.error { border-color: var(--danger); }
.ob-field .field-hint { font-size: 12px; color: var(--gray-400); }
.ob-field .field-error { font-size: 12px; color: var(--danger); display: none; }
.ob-field input.error + .field-error { display: block; }

/* ── Slug preview ────────────────────────────────────────── */
.slug-preview {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.slug-preview:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(92,110,248,.12);
}

.slug-prefix {
  padding: 11px 12px;
  background: var(--gray-50);
  border-right: 1.5px solid var(--gray-200);
  font-size: 13px;
  color: var(--gray-400);
  white-space: nowrap;
  flex-shrink: 0;
}

.slug-preview input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 11px 12px;
  flex: 1;
}

/* Slug availability indicator */
.slug-status {
  padding: 0 12px;
  font-size: 16px;
  flex-shrink: 0;
  transition: color .2s;
}
.slug-status.checking  { color: var(--gray-400); }
.slug-status.available { color: #16a34a; }
.slug-status.taken     { color: #dc2626; }

.slug-check-msg {
  font-size: 12px;
  margin-top: 5px;
  font-weight: 500;
  min-height: 16px;
}
.slug-check-msg.checking  { color: var(--gray-400); }
.slug-check-msg.available { color: #16a34a; }
.slug-check-msg.taken     { color: #dc2626; }

/* Slug taken → red border on the preview */
.slug-preview:has(~ .slug-check-msg.taken) {
  border-color: #dc2626;
}
.slug-preview:has(~ .slug-check-msg.available) {
  border-color: #16a34a;
}

/* ── Password input ──────────────────────────────────────── */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 40px; }
.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  font-size: 14px;
  padding: 2px;
}
.pw-toggle:hover { color: var(--gray-600); }

/* ── Password strength ───────────────────────────────────── */
.pw-strength { margin-top: 6px; display: none; }
.pw-strength.visible { display: block; }
.pw-strength-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--gray-200);
  overflow: hidden;
  margin-bottom: 4px;
}
.pw-strength-fill {
  height: 100%;
  border-radius: 2px;
  transition: width .3s, background .3s;
}
.pw-strength-text { font-size: 11px; }

/* ── Plan Cards ──────────────────────────────────────────── */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.plan-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: all .25s;
  position: relative;
  background: #fff;
}

.plan-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(92,110,248,.12);
}

.plan-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.plan-card.plan-popular {
  border-color: var(--primary);
}

.plan-popular-badge {
  position: absolute;
  top: -1px;
  right: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 0 0 6px 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.plan-card-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  transition: all .2s;
}

.plan-card.selected .plan-card-check {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.plan-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.plan-price {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 14px;
}

.plan-price strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
}

.plan-price.plan-custom { font-size: 15px; font-weight: 600; color: var(--gray-700); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.plan-features li {
  font-size: 12px;
  color: var(--gray-600);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}

.plan-features li i {
  font-size: 10px;
  color: var(--success);
  margin-top: 2px;
  flex-shrink: 0;
}

.plan-features li.extra i { color: var(--primary); }

.plan-trial-note {
  margin-top: 20px;
  padding: 12px 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  font-size: 13px;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Review Summary ──────────────────────────────────────── */
.ob-review-card {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.ob-review-section {
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-100);
}

.ob-review-section:last-child { border-bottom: none; }

.ob-review-section h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.ob-review-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.ob-review-row .lbl { font-size: 13px; color: var(--gray-500); }
.ob-review-row .val { font-size: 13px; font-weight: 500; color: var(--gray-900); }

.plan-badge-lg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.plan-badge-lg.plan-core     { background: #f0f9ff; color: #0369a1; }
.plan-badge-lg.plan-standard { background: var(--primary-light); color: var(--primary-dark); }
.plan-badge-lg.plan-premium  { background: #faf5ff; color: #7c3aed; }
.plan-badge-lg.plan-enterprise { background: #f0fdf4; color: #166534; }

/* ── Nav buttons ─────────────────────────────────────────── */
.ob-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  gap: 12px;
}

.btn-ob-back {
  padding: 11px 22px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
}

.btn-ob-back:hover { border-color: var(--gray-400); }

.btn-ob-next {
  padding: 11px 28px;
  border: none;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
  margin-left: auto;
}

.btn-ob-next:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(92,110,248,.3); }
.btn-ob-next:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-ob-launch {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(92,110,248,.35);
  letter-spacing: -.1px;
}

.btn-ob-launch:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(92,110,248,.45); }
.btn-ob-launch:disabled { opacity: .7; cursor: not-allowed; transform: none; }

/* ── Error banner (step 4 submit error) ──────────────────── */
.ob-error {
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-size: 13px;
  color: #b91c1c;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

/* ── Step-level inline validation banner ─────────────────── */
.ob-step-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  border-left: 4px solid #ef4444;
  border-radius: 8px;
  font-size: 13px;
  color: #b91c1c;
  font-weight: 500;
  margin-bottom: 18px;
  animation: ob-err-in .2s ease;
}

.ob-step-error i {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 14px;
  color: #ef4444;
}

@keyframes ob-err-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Invalid field highlight ─────────────────────────────── */
.ob-field input.ob-field-invalid,
.ob-field select.ob-field-invalid {
  border-color: #ef4444 !important;
  background: #fff5f5;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .12);
}

.ob-field input.ob-field-invalid:focus,
.ob-field select.ob-field-invalid:focus {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .18);
}

/* ── Success Screen ──────────────────────────────────────── */
.ob-success {
  width: 100%;
  max-width: 480px;
  display: none;
  text-align: center;
  animation: fadeSlideIn .5s ease;
}

.ob-success.active { display: block; }

.ob-success-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: #fff;
  margin: 0 auto 28px;
  box-shadow: 0 8px 24px rgba(34,197,94,.3);
}

.ob-success h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  letter-spacing: -.4px;
}

.ob-success p { font-size: 15px; color: var(--gray-500); line-height: 1.6; margin-bottom: 32px; }

.ob-success-details {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 28px;
  text-align: left;
}

.ob-success-details .detail-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--gray-100);
}

.ob-success-details .detail-row:last-child { border-bottom: none; }
.ob-success-details .detail-row .lbl { color: var(--gray-400); }
.ob-success-details .detail-row .val { font-weight: 500; }

.btn-go-to-app {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(92,110,248,.35);
  text-decoration: none;
}

.btn-go-to-app:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(92,110,248,.45); }

.ob-already-have {
  margin-top: 20px;
  font-size: 13px;
  color: var(--gray-400);
  text-align: center;
}

.ob-already-have a { color: var(--primary); text-decoration: none; font-weight: 500; }
.ob-already-have a:hover { text-decoration: underline; }

/* ── Progress bar at top of right panel ─────────────────── */
.ob-progress {
  width: 100%;
  max-width: 560px;
  margin-bottom: 36px;
}

.ob-progress-track {
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
}

.ob-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #8b5cf6);
  border-radius: 2px;
  transition: width .4s ease;
}

.ob-progress-label {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 6px;
  text-align: right;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .ob-left { display: none; }
  .ob-right { padding: 40px 24px; }
}

@media (max-width: 560px) {
  .ob-row { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .ob-right { padding: 28px 16px; }
}

/* ── Divider ─────────────────────────────────────────────── */
.ob-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 4px 0;
}

/* ── Checkbox ────────────────────────────────────────────── */
.ob-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}

.ob-check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--primary);
  cursor: pointer;
}

.ob-check-label a { color: var(--primary); }

/* ── Curriculum chips ────────────────────────────────────── */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.curriculum-chip {
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  transition: all .2s;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  color: var(--gray-700);
}

.curriculum-chip:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.curriculum-chip.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}

.curriculum-chip .chip-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: transparent;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all .2s;
}

.curriculum-chip.selected .chip-check {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.curriculum-chip .chip-main {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}

.curriculum-chip .chip-sub {
  display: block;
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 2px;
  font-weight: 400;
}

.curriculum-chip.selected .chip-main { color: var(--primary-dark); }
.curriculum-chip.selected .chip-sub  { color: var(--primary); }

/* ── Curriculum quick links ──────────────────────────────── */
.curriculum-links-wrap {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.curriculum-link-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s;
  animation: fadeSlideIn .25s ease;
}

.curriculum-link-item:hover { background: #e0f2fe; }

.curriculum-link-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #0ea5e9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.curriculum-link-item.ib .curriculum-link-icon   { background: #6366f1; }
.curriculum-link-item.cbc .curriculum-link-icon  { background: #16a34a; }
.curriculum-link-item.kcse .curriculum-link-icon { background: #dc2626; }
.curriculum-link-item.caps .curriculum-link-icon { background: #d97706; }
.curriculum-link-item.waec .curriculum-link-icon { background: #059669; }
.curriculum-link-item.uganda .curriculum-link-icon { background: #7c3aed; }
.curriculum-link-item.montessori .curriculum-link-icon { background: #db2777; }
.curriculum-link-item.custom .curriculum-link-icon { background: var(--gray-400); }

.curriculum-link-text strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 1px;
}

.curriculum-link-text span {
  font-size: 11px;
  color: var(--gray-500);
  line-height: 1.4;
}

/* ── Section picker ──────────────────────────────────────── */
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.section-card {
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  padding: 14px 14px 12px;
  cursor: pointer;
  user-select: none;
  transition: all .22s;
  background: #fff;
  position: relative;
}

.section-card:hover { border-color: var(--primary); }

.section-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.section-card-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: transparent;
  transition: all .2s;
}

.section-card.selected .section-card-check {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.section-card-emoji {
  font-size: 22px;
  margin-bottom: 6px;
  display: block;
}

.section-card-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.section-card-desc {
  font-size: 11px;
  color: var(--gray-400);
  line-height: 1.4;
}

.section-error-msg {
  font-size: 12px;
  color: var(--danger);
  display: none;
  margin-top: 6px;
}

.section-error-msg.visible { display: block; }

@media (max-width: 560px) {
  .section-grid { grid-template-columns: 1fr; }
}
