/* =============================================================================
   Aspire Soccer Camp 2026 - Registration Form Styles
   Mobile-first, brand: #e63946 red
   ============================================================================= */

/* ── Custom Properties ───────────────────────────────────────────────────────── */
:root {
  --red: #e63946;
  --red-dark: #c1121f;
  --red-light: #fde8ea;
  --accent-foreground: #fff;
  --navy: #1d3557;
  --navy-light: #457b9d;
  --text: #1a202c;
  --text-muted: #718096;
  --text-light: #a0aec0;
  --border: #e2e8f0;
  --border-focus: #e63946;
  --surface: #ffffff;
  --bg: #f7f8fa;
  --success: #2d6a4f;
  --success-bg: #d8f3dc;
  --error: #c53030;
  --error-bg: #fff5f5;
  --warning: #c05621;
  --warning-bg: #fffaf0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
}

/* ── Reset ───────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul { list-style: none; }

/* ── Header ──────────────────────────────────────────────────────────────────── */
.site-header {
  background: var(--surface);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent-foreground);
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.brand-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.header-camp-info {
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  flex-shrink: 0;
}

/* ── Progress Bar ────────────────────────────────────────────────────────────── */
.progress-container {
  background: var(--surface);
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--border);
}
.step-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}
.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  position: relative;
}
.step-dot:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15px;
  left: calc(50% + 12px);
  right: calc(-50% + 12px);
  height: 2px;
  background: var(--border);
  transition: background var(--transition);
}
.step-dot.completed:not(:last-child)::after {
  background: var(--red);
}
.dot-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}
.step-dot.active .dot-circle {
  border-color: var(--red);
  background: var(--red);
  color: var(--accent-foreground);
}
.step-dot.completed .dot-circle {
  border-color: var(--red);
  background: var(--red);
  color: var(--accent-foreground);
  font-size: 14px;
}
.step-dot.completed .dot-circle::before {
  content: '✓';
  font-size: 14px;
}
.step-dot.completed .dot-circle .dot-num { display: none; }
.step-dot span:last-child {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.3px;
  transition: color var(--transition);
  white-space: nowrap;
}
.step-dot.active span:last-child,
.step-dot.completed span:last-child {
  color: var(--red);
}

/* ── Main Content ────────────────────────────────────────────────────────────── */
.main-content {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 16px 80px;
}

/* ── Form Steps ──────────────────────────────────────────────────────────────── */
.form-step {
  display: none;
  animation: stepIn 0.3s ease;
}
.form-step.active { display: block; }

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

/* ── Step Hero ───────────────────────────────────────────────────────────────── */
.step-hero {
  text-align: center;
  padding: 8px 0 24px;
}
.step-emoji {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
}
.step-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 8px;
}
.step-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto;
}

/* ── Form Cards ──────────────────────────────────────────────────────────────── */
.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.card-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.card-title + .field-group,
.card-title + .field-row,
.card-subtitle + .field-group,
.card-subtitle + .field-row {
  margin-top: 16px;
}
.card-title:only-child,
.card-title:last-child { margin-bottom: 0; }

/* ── Form Fields ─────────────────────────────────────────────────────────────── */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.field-group {
  margin-bottom: 14px;
}
.field-group:last-child { margin-bottom: 0; }

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
input[type="number"] { -moz-appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }
textarea {
  height: auto;
  min-height: 90px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.5;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12);
}
input::placeholder, textarea::placeholder { color: var(--text-light); }
input.error, textarea.error, select.error {
  border-color: var(--error);
  background: var(--error-bg);
}
.field-error {
  display: block;
  font-size: 12px;
  color: var(--error);
  margin-top: 4px;
  min-height: 16px;
  font-weight: 500;
}
.field-hint {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Gender Button Group ─────────────────────────────────────────────────────── */
.btn-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-group-btn {
  flex: 1;
  min-width: 80px;
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  transition: all var(--transition);
  cursor: pointer;
  padding: 0 10px;
}
.btn-group-btn:hover {
  border-color: var(--red);
  color: var(--red);
}
.btn-group-btn.selected {
  border-color: var(--red);
  background: var(--red-light);
  color: var(--red);
}

/* ── Child Card ──────────────────────────────────────────────────────────────── */
.child-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.child-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.child-card-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.child-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  color: var(--accent-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}
.child-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.btn-remove-child {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 20px;
  line-height: 1;
  padding: 4px;
  border-radius: 50%;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-remove-child:hover { color: var(--error); background: var(--error-bg); }

.btn-add-child {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 20px;
}
.btn-add-child:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-light);
}
.btn-add-icon {
  font-size: 20px;
  font-weight: 400;
}

/* ── Session Picker ──────────────────────────────────────────────────────────── */
.child-sessions-block {
  margin-bottom: 24px;
}
.child-sessions-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0 4px;
}
.child-sessions-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.week-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.week-card.has-selection {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(230,57,70,0.12), var(--shadow-sm);
}
.week-card.is-full { opacity: 0.6; pointer-events: none; }

.week-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--border);
}
.week-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.week-num-badge {
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.week-date-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.spots-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.spots-good  { background: #d8f3dc; color: #2d6a4f; }
.spots-low   { background: #fff3cd; color: #856404; }
.spots-urgent{ background: #ffe0e0; color: var(--red-dark); }
.spots-full  { background: #f0f0f0; color: var(--text-muted); }

.week-options {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
}
.week-opt-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
  transition: all var(--transition);
}
.week-opt-btn:hover {
  border-color: var(--red);
  background: var(--red-light);
}
.week-opt-btn.active {
  border-color: var(--red);
  background: var(--red);
  color: var(--accent-foreground);
}
.week-opt-btn.active .opt-icon,
.week-opt-btn.active .opt-label,
.week-opt-btn.active .opt-price { color: var(--accent-foreground); }
.opt-icon  { font-size: 18px; }
.opt-label { font-size: 13px; font-weight: 700; }
.opt-price { font-size: 12px; color: var(--text-muted); }
.week-opt-btn.active .opt-price { color: rgba(255,255,255,0.8); }

.day-picker {
  padding: 4px 16px 16px;
  display: none;
}
.day-picker.visible { display: block; }
.day-picker-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.day-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 88px;
  padding: 10px 4px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 11px;
}
.day-btn:hover {
  border-color: var(--red);
  background: var(--red-light);
}
.day-btn.selected {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.day-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.day-btn .day-name { font-weight: 700; font-size: 11px; }
.day-btn .day-date { font-size: 13px; font-weight: 800; }
.day-btn .day-price { font-size: 10px; color: var(--text-muted); }
.day-btn.selected .day-price { color: rgba(255,255,255,0.8); }
.day-btn .day-spots {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  padding: 2px 6px;
  border-radius: 999px;
}
.day-btn .day-spots.is-low {
  background: #fff3cd;
  color: #856404;
}
.day-btn .day-spots.is-full {
  background: #ffe0e0;
  color: var(--red-dark);
}
.day-btn.selected .day-spots {
  background: rgba(255,255,255,0.16);
  color: #fff;
}
.day-picker-hint {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}
.week-subtotal {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  padding: 0 16px 14px;
  text-align: right;
}

/* ── Sticky Total Bar ────────────────────────────────────────────────────────── */
.total-bar {
  position: sticky;
  bottom: 0;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  margin: 0 -16px;
  padding: 14px 24px;
  z-index: 50;
  display: none;
}
.total-bar.has-total { display: block; }
.total-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
}
.total-label { font-size: 14px; font-weight: 600; opacity: 0.8; }
.total-amount { font-size: 24px; font-weight: 800; }

/* ── Additional Info ─────────────────────────────────────────────────────────── */
.allergies-card {
  margin-bottom: 16px;
}

/* ── Waiver ──────────────────────────────────────────────────────────────────── */
.waiver-card { background: #fafafa; }
.waiver-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.waiver-text p { margin-bottom: 8px; font-weight: 500; color: var(--text); }
.waiver-text ul { padding-left: 0; }
.waiver-text li {
  padding: 4px 0 4px 20px;
  position: relative;
  font-size: 13px;
}
.waiver-text li::before {
  content: '•';
  position: absolute;
  left: 6px;
  color: var(--red);
}
.waiver-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 4px 0;
}
.waiver-check input[type="checkbox"] { display: none; }
.check-custom {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  margin-top: 1px;
}
.waiver-check input:checked + .check-custom {
  background: var(--red);
  border-color: var(--red);
}
.waiver-check input:checked + .check-custom::after {
  content: '✓';
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.check-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}
.check-label a {
  color: var(--red);
  text-decoration: underline;
}

/* ── Order Summary ───────────────────────────────────────────────────────────── */
.order-summary { margin-bottom: 16px; }
.order-items { margin-bottom: 16px; }
.order-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.order-item:last-child { border-bottom: none; }
.order-item-name { font-size: 14px; font-weight: 600; color: var(--text); }
.order-item-detail { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.order-item-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.order-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  padding: 20px 0;
}

/* ── Promo Code ──────────────────────────────────────────────────────────────── */
.promo-section {
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.promo-input-group {
  display: flex;
  gap: 8px;
}
.promo-input-group input {
  flex: 1;
  height: 46px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.btn-promo {
  height: 46px;
  padding: 0 18px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.btn-promo:hover { background: var(--navy-light); }
.promo-status {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  min-height: 18px;
}
.promo-status.success { color: var(--success); }
.promo-status.error { color: var(--error); }

/* ── Credit Option ────────────────────────────────────────────────────────────── */
.credit-option {
  background: #e8f5e9;
  border: 1px solid #4caf50;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.credit-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  color: #2e7d32;
  cursor: pointer;
}

.credit-checkbox input[type="checkbox"] {
  cursor: pointer;
}

.credit-note {
  margin: 8px 0 0 26px;
  color: #666;
  font-size: 14px;
}

/* ── Order Total ─────────────────────────────────────────────────────────────── */
.order-total {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.discount-row { color: var(--success); }
.discount-amount { font-weight: 700; }
.total-final {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  padding-top: 10px;
  border-top: 2px solid var(--border);
  margin-top: 5px;
}

/* ── Stripe Payment Element ──────────────────────────────────────────────────── */
.payment-card { margin-bottom: 16px; }
#payment-element {
  margin-top: 16px;
  min-height: 120px;
}
.payment-message {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
  text-align: center;
}
.payment-message.error { color: var(--error); }
.payment-message.success { color: var(--success); }

.security-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}
.badge {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.step-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.step-actions.single { justify-content: center; }
.padded-bottom { padding-bottom: 80px; }

.btn-primary {
  flex: 1;
  height: 56px;
  background: var(--red);
  color: var(--accent-foreground);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(230,57,70,0.3);
}
.btn-primary:hover:not(:disabled) {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(230,57,70,0.35);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.btn-arrow { font-size: 18px; transition: transform var(--transition); }
.btn-primary:hover .btn-arrow { transform: translateX(3px); }

.btn-secondary {
  height: 56px;
  padding: 0 20px;
  background: var(--surface);
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
}

/* ── Loading Spinner ─────────────────────────────────────────────────────────── */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999;
  gap: 16px;
}
.loading-overlay p {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Inline spinner for buttons */
.btn-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ── Confirmation (Step 6) ───────────────────────────────────────────────────── */
.confirmation-hero {
  text-align: center;
  padding: 12px 0 28px;
}
.success-icon {
  width: 80px;
  height: 80px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 700;
  margin: 0 auto 20px;
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 24px rgba(230,57,70,0.4);
}
@keyframes successPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.confirm-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.confirm-row:last-child { border-bottom: none; }
.confirm-row span:first-child { color: var(--text-muted); font-weight: 500; }
.confirm-row span:last-child { font-weight: 700; color: var(--text); text-align: right; }
.confirm-sessions {
  font-size: 13px;
  margin-top: 12px;
}
.confirm-child-block {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.confirm-child-block:last-child { border-bottom: none; }
.confirm-child-name { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.confirm-child-sessions { font-size: 13px; color: var(--text-muted); }

.what-to-bring {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.what-to-bring li {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.what-to-bring li:last-child { border-bottom: none; }

.refer-card {
  background: linear-gradient(135deg, #fff5f5, #fff);
  border-color: var(--red-light);
}
.refer-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 8px 0 16px;
}
.referral-code {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.code-badge {
  font-size: 18px;
  font-weight: 800;
  color: var(--red);
  background: var(--red-light);
  padding: 8px 18px;
  border-radius: 8px;
  letter-spacing: 2px;
}
.btn-copy {
  height: 42px;
  padding: 0 18px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-copy:hover { background: var(--navy-light); }
.btn-copy.copied { background: var(--success); }

/* ── Alert / Banner ──────────────────────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}
.alert-error { background: var(--error-bg); color: var(--error); border: 1px solid #feb2b2; }
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid #b7e4c7; }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 400px) {
  .step-title { font-size: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .day-picker-grid { gap: 6px; }
  .day-btn { padding: 8px 2px; }
}
@media (min-width: 640px) {
  .main-content { padding: 32px 24px 100px; }
  .step-title { font-size: 30px; }
  .form-card { padding: 28px; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PRINT STYLES (for roster - triggered from admin)
   ═══════════════════════════════════════════════════════════════════════════════ */
@media print {
  .site-header,
  .progress-container,
  .step-actions,
  .total-bar { display: none !important; }

  body { background: #fff; font-size: 12px; }
  .main-content { padding: 0; max-width: none; }
}

/* ── Practice Day Picker (Spring Programs) ──────────────────────────────────── */
.practice-day-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.practice-day-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.practice-day-btn:hover {
  border-color: var(--red);
  background: var(--red-light);
}

.practice-day-btn.selected {
  border-color: var(--red);
  background: var(--red-light);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.practice-day-label {
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 4px;
}

.practice-day-times {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

.practice-day-error {
  color: var(--error);
  font-size: 14px;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .practice-day-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .practice-day-options.division-options {
    grid-template-columns: repeat(3, 1fr);
  }
}
