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

body {
  margin: 0;
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  background: linear-gradient(160deg, #F0FAF4 0%, #FDFAF6 50%, #FFF5F2 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 32px 16px 48px;
  color: #1A1A1A;
}

/* ── Nav ── */
.nav {
  width: 100%;
  max-width: 440px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.nav-spacer { width: 60px; }
.logo-chip {
  background: #1A6B3C;
  border-radius: 8px;
  padding: 5px 10px;
}
.logo-chip span {
  font-size: 14px;
  font-weight: 900;
  color: white;
  letter-spacing: -0.3px;
  font-family: Georgia, serif;
}
.back-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: #6B7280;
  font-family: inherit;
  padding: 0;
  text-decoration: none;
}

/* ── Card ── */
.card {
  background: white;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 4px 32px rgba(26,107,60,0.10), 0 1px 4px rgba(0,0,0,0.04);
  width: 100%;
  max-width: 440px;
}

/* ── Progress Bar ── */
.progress-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}
.progress-bar .seg {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #E5E0D8;
}
.progress-bar .seg.filled-green  { background: #1A6B3C; }
.progress-bar .seg.filled-coral  { background: #FF5533; }

/* ── Step Label ── */
.step-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.step-label.green { color: #1A6B3C; }
.step-label.coral { color: #FF5533; }

/* ── Headings ── */
.card h1, .card h2 {
  font-family: Georgia, serif;
  font-weight: 800;
  color: #1A1A1A;
  margin: 0;
}
.card h1 { font-size: 30px; line-height: 1.2; margin-bottom: 10px; }
.card h2 { font-size: 24px; margin-bottom: 6px; }
.card p  { font-size: 14px; color: #6B7280; margin: 0; }

/* ── Form Fields ── */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #E5E0D8;
  font-size: 15px;
  color: #1A1A1A;
  background: #FDFAF6;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  transition: border 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: #1A6B3C; }
.field .hint { font-size: 12px; color: #6B7280; margin-top: 5px; }
.field textarea { resize: none; }

/* ── Buttons ── */
.btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  text-decoration: none;
  margin-top: 4px;
}
.btn-green  { background: #1A6B3C; color: white; }
.btn-green:hover { background: #2A8A52; }
.btn-coral  { background: #FF5533; color: white; }
.btn-coral:hover { background: #FF7755; }
.btn-google {
  background: white;
  color: #1A1A1A;
  border: 1.5px solid #E5E0D8;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.btn-google:hover { background: #F5EFE6; }
.btn-ghost {
  background: transparent;
  color: #6B7280;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
}

/* ── Divider ── */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.divider hr { flex: 1; border: none; border-top: 1px solid #E5E0D8; }
.divider span { font-size: 13px; color: #6B7280; }

/* ── Info Box ── */
.info-box {
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.5;
}
.info-box.green {
  background: #F0FAF4;
  border: 1px solid #C2E8D0;
  color: #0F4A28;
}
.info-box.sand {
  background: #F5EFE6;
  border: 1px solid #E5E0D8;
  color: #6B7280;
}

/* ── Status Rows (done screen) ── */
.status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}
.status-row.done { background: #F0FAF4; border: 1px solid #C2E8D0; color: #0F4A28; }
.status-row.pending { background: #F5EFE6; border: 1px solid #E5E0D8; color: #6B7280; }

/* ── Role Buttons (splash) ── */
.role-btn {
  padding: 18px 20px;
  border-radius: 14px;
  border: 2px solid #E5E0D8;
  background: white;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  width: 100%;
  transition: all 0.15s;
  margin-bottom: 12px;
}
.role-btn.teen:hover { border-color: #1A6B3C; background: #F0FAF4; }
.role-btn.parent:hover { border-color: #FF5533; background: #FFF0EC; }
.role-btn .icon { font-size: 22px; margin-bottom: 4px; }
.role-btn .title { font-size: 16px; font-weight: 700; color: #1A1A1A; }
.role-btn .desc { font-size: 13px; color: #6B7280; margin-top: 2px; }
.role-btn.teen-active { border-color: #1A6B3C; }

/* ── Upload Zone ── */
.upload-zone {
  border: 2px dashed #E5E0D8;
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  background: #FDFAF6;
  margin-bottom: 20px;
  transition: all 0.2s;
}
.upload-zone:hover { border-color: #1A6B3C; background: #F0FAF4; }
.upload-zone .up-title { font-weight: 600; color: #1A1A1A; margin: 8px 0 4px; font-size: 15px; }
.upload-zone .up-sub { font-size: 13px; color: #6B7280; }

.upload-done {
  border: 2px solid #1A6B3C;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  background: #F0FAF4;
}
.upload-done .check-circle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1A6B3C;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Service Tags (parent info) ── */
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.service-tag {
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  border: 1.5px solid #E5E0D8;
  background: white;
  color: #6B7280;
  transition: all 0.15s;
}
.service-tag.active {
  border-color: #FF5533;
  background: #FFF0EC;
  color: #FF5533;
}

/* ── Kids Selector ── */
.kids-selector { display: flex; gap: 8px; }
.kids-btn {
  flex: 1;
  padding: 12px 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  border: 1.5px solid #E5E0D8;
  background: white;
  color: #6B7280;
  transition: all 0.15s;
}
.kids-btn.active { border-color: #FF5533; background: #FFF0EC; color: #FF5533; }

/* ── Dashboard ── */
.dashboard-header-green { background: #1A6B3C; padding: 24px 20px 32px; color: white; }
.dashboard-header-coral { background: #FF5533; padding: 24px 20px 32px; color: white; }
.dash-header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dash-logo { font-size: 18px; font-weight: 900; font-family: Georgia, serif; }
.dash-logout {
  background: rgba(255,255,255,0.18);
  border: none; border-radius: 8px;
  padding: 6px 14px; color: white;
  font-size: 13px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  font-family: inherit;
}
.dash-user h2 { font-size: 22px; font-weight: 800; margin-bottom: 4px; font-family: Georgia, serif; }
.dash-user p  { font-size: 13px; opacity: 0.75; }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 16px; }
.dash-stat { background: rgba(255,255,255,0.14); border-radius: 10px; padding: 12px; }
.dash-stat-label { font-size: 10px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.dash-stat-value { font-size: 20px; font-weight: 800; font-family: Georgia, serif; }

.dash-content { padding: 20px; max-width: 480px; margin: 0 auto; }
.dash-section {
  background: white; border-radius: 16px;
  padding: 20px; margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.dash-section h3 {
  font-size: 14px; font-weight: 700;
  color: #6B7280; text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 14px;
}
.dash-field { margin-bottom: 10px; }
.dash-field label {
  display: block; font-size: 12px; font-weight: 700;
  color: #1A1A1A; text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 4px;
}
.dash-field input,
.dash-field select,
.dash-field textarea {
  width: 100%; padding: 10px 12px; border: 1.5px solid #E5E0D8;
  border-radius: 8px; font-size: 14px; font-family: inherit;
  background: #FDFAF6; color: #1A1A1A; box-sizing: border-box;
}
.save-btn {
  background: #1A6B3C; color: white; border: none;
  border-radius: 10px; padding: 12px 24px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit; width: 100%;
}
.save-btn.coral { background: #FF5533; }

.verify-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid #F5EFE6;
  font-size: 13px;
}
.verify-row:last-child { border-bottom: none; }
.badge {
  margin-left: auto;
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.04em;
  background: #F0FAF4; color: #1A6B3C;
}
.badge.pending { background: #FFF7ED; color: #D97706; }

.provider-card {
  border: 1px solid #E5E0D8; border-radius: 12px;
  padding: 14px; margin-bottom: 10px;
}
.provider-name { font-size: 15px; font-weight: 700; color: #1A1A1A; margin-bottom: 2px; }
.provider-meta { font-size: 12px; color: #6B7280; margin-bottom: 8px; }
.provider-rate { font-size: 16px; font-weight: 800; color: #1A6B3C; font-family: Georgia, serif; }
.provider-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.provider-tag {
  background: #FFF0EC; color: #FF5533;
  border: 1px solid #FFD5CB; border-radius: 20px;
  padding: 3px 10px; font-size: 11px; font-weight: 600;
}
.book-btn {
  background: #FF5533; color: white; border: none;
  border-radius: 8px; padding: 8px 16px;
  font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit;
}
.empty-state { text-align: center; padding: 32px 20px; color: #9CA3AF; font-size: 14px; }

.trust-banner {
  background: #FFF0EC; border: 1px solid #FFD5CB;
  border-radius: 14px; padding: 16px 20px; margin-bottom: 16px;
}
.trust-banner p { font-size: 14px; font-weight: 700; color: #FF5533; margin-bottom: 8px; }
.trust-banner li { font-size: 13px; color: #1A1A1A; margin-left: 16px; margin-bottom: 3px; }

/* ── Footer ── */
.page-footer { font-size: 12px; color: #6B7280; margin-top: 20px; text-align: center; }

/* ── Error Banner ── */
.error-banner {
  background: #FFF0EC; border: 1px solid #FFD5CB;
  border-radius: 10px; padding: 12px 16px;
  font-size: 13px; color: #FF5533; margin-bottom: 20px;
}
