:root {
  --blue-700: #1A2744;
  --blue-600: #00C2A8;
  --blue-500: #00C2A8;
  --blue-100: rgba(0,194,168,0.12);
  --blue-50:  rgba(0,194,168,0.06);
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-100: #dcfce7;
  --red-500: #ef4444;
  --red-100: #fee2e2;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --gray-900: #1A2744;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--gray-50);
  min-height: 100vh;
}

/* NAV */
nav { padding: 0 0; background: var(--white); border-bottom: 1px solid #F3F4F6; height: 58px; display:flex; align-items:center; }
nav .container { max-width: 720px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 10px; width:100%; }
nav .logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
nav .logo img { width:32px; height:32px; border-radius:8px; }
nav .logo-text { font-family:'Nunito',sans-serif; font-weight:900; font-size:1.1rem; color:#1A2744; }
nav .logo-text span { color:#00C2A8; }

/* MAIN */
.container { max-width: 720px; margin: 0 auto; padding: 0 24px; }
main { padding: 48px 0; }

/* STEPPER */
.stepper { display: flex; gap: 8px; margin-bottom: 40px; align-items: center; }
.step-dot {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
  background: var(--gray-100); color: var(--gray-500);
  transition: all 0.3s;
}
.step-dot.active { background: #1A2744; color: var(--white); }
.step-dot.done { background: var(--green-500); color: var(--white); }
.step-line { flex: 1; height: 2px; background: var(--gray-200); }
.step-line.done { background: var(--green-500); }

/* PANELS */
.panel { display: none; animation: fadeIn 0.3s ease; }
.panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.subtitle { color: var(--gray-500); margin-bottom: 32px; font-size: 1rem; }

/* CARDS */
.card {
  background: var(--white); border-radius: 16px;
  padding: 32px; margin-bottom: 24px;
  border: 1px solid var(--gray-100);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* FORM */
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--gray-700); }
input, select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-300);
  border-radius: 10px; font-size: 1rem; font-family: inherit;
  transition: border-color 0.2s;
}
input:focus, select:focus { outline: none; border-color: #00C2A8; box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
.field { margin-bottom: 20px; }
.field-hint { font-size: 0.8rem; color: var(--gray-500); margin-top: 4px; }

/* CHILD ROW */
.child-block {
  background: rgba(0,194,168,0.06); border: 1px solid var(--blue-100);
  border-radius: 16px; padding: 24px; margin-bottom: 16px;
  position: relative;
}
.child-block h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; color: var(--blue-700); }
.remove-child {
  position: absolute; top: 12px; right: 12px;
  background: none; border: none; color: var(--red-500);
  font-size: 1.2rem; cursor: pointer; padding: 4px 8px;
}
.remove-child:hover { background: var(--red-100); border-radius: 6px; }
.teacher-row { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; }
.teacher-row input { flex: 1; }
.teacher-row .remove-teacher-btn {
  background: none; border: 1.5px solid var(--gray-300); border-radius: 8px;
  padding: 8px 10px; cursor: pointer; color: var(--gray-400); font-size: 0.85rem;
  transition: all 0.15s; flex-shrink: 0; font-family: inherit;
}
.teacher-row .remove-teacher-btn:hover { border-color: var(--red-500); color: var(--red-500); }
.add-teacher-btn {
  background: none; border: 1.5px dashed var(--blue-300); border-radius: 8px;
  padding: 7px 14px; cursor: pointer; color: #00C2A8; font-size: 0.85rem;
  font-weight: 600; font-family: inherit; transition: all 0.15s; margin-top: 4px;
}
.add-teacher-btn:hover { background: rgba(0,194,168,0.06); border-style: solid; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px;
  font-weight: 700; font-size: 1rem; font-family: inherit;
  cursor: pointer; border: none; transition: all 0.2s;
}
.btn-primary { background: #1A2744; color: var(--white); }
.btn-primary:hover { background: #243660; transform: translateY(-1px); }
.btn-primary:disabled { background: var(--gray-300); cursor: not-allowed; transform: none; }
.btn-secondary { background: var(--gray-100); color: var(--gray-700); }
.btn-secondary:hover { background: var(--gray-200); }
.btn-google {
  background: var(--white); color: var(--gray-700);
  border: 2px solid var(--gray-300); padding: 16px 32px;
  font-size: 1.05rem; width: 100%; justify-content: center;
}
.btn-google:hover { border-color: #00C2A8; background: rgba(0,194,168,0.06); }
.btn-google img { width: 20px; height: 20px; }

/* BETA BADGE */
.beta-badge {
  display: inline-block; padding: 4px 12px;
  background: var(--amber-100); color: var(--amber-500);
  border-radius: 20px; font-size: 0.8rem; font-weight: 700;
  margin-bottom: 16px;
}

/* SUCCESS */
.success-icon { font-size: 4rem; margin-bottom: 16px; }
.checklist { list-style: none; padding: 0; }
.checklist li {
  padding: 12px 0; border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: 10px;
}
.checklist li:last-child { border: none; }
.check-icon { color: #00C2A8; font-size: 1.2rem; }

/* ERROR */
.error-bar {
  display: none; background: var(--red-100); color: var(--red-500);
  padding: 12px 16px; border-radius: 10px; margin-bottom: 20px;
  font-size: 0.9rem; font-weight: 500;
}
.error-bar.show { display: block; }

/* RESPONSIVE */
@media (max-width: 480px) {
  h1 { font-size: 1.4rem; }
  .card { padding: 20px; }
  .child-block { padding: 16px; }
}
