/* 회원가입 신청: 로그인 카드(login.css) 모양을 그대로 쓰고 가입 유형 카드·동의 상자만 더한다. */
.signup-card { width: min(100%, 460px); }
.signup-lead { margin: -8px 0 20px; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

.kind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.kind-card {
  display: grid;
  justify-items: center;
  gap: 6px;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  background: var(--surface-muted);
  padding: 22px 12px;
  cursor: pointer;
  text-align: center;
  transition: transform 180ms var(--ease), border-color 150ms ease, box-shadow 180ms ease;
}
.kind-card:hover { border-color: var(--teal-600); box-shadow: var(--shadow); transform: translateY(-2px); }
.kind-card:first-child { background: var(--peach-tint); }
.kind-card:last-child { background: var(--mint-tint); }
.kind-card__icon { font-size: 34px; }
.kind-card strong { font-size: 17px; }
.kind-card small { color: var(--ink-soft); font-size: 12.5px; line-height: 1.45; }

#signup-form { display: grid; gap: 12px; }
#signup-form label { display: grid; gap: 6px; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
#signup-form input,
#signup-form select { height: 46px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-muted); padding: 0 12px; color: var(--ink); font-size: 15px; }
#signup-form input:focus,
#signup-form select:focus { border-color: var(--teal-600); outline: 3px solid rgba(42, 123, 123, 0.18); }
#signup-form .button { height: 50px; margin-top: 4px; font-size: 15.5px; }
#signup-form .button:disabled { opacity: 0.6; cursor: progress; }
.signup-kind-teacher .parent-only,
.signup-kind-teacher .parent-only-inline { display: none; }

.back-inline { justify-self: start; border: 0; background: transparent; color: var(--ink-soft); cursor: pointer; font-size: 13.5px; padding: 0; }

.consent-box { border-radius: 16px; background: var(--surface-sunken); padding: 14px 16px; font-size: 13px; line-height: 1.6; }
.consent-box strong { display: block; margin-bottom: 6px; font-size: 14px; }
.consent-box ul { margin: 0 0 10px; padding-left: 18px; color: var(--ink-soft); }
.consent-box b { margin-right: 6px; color: var(--ink); }
.consent-check { display: flex !important; align-items: flex-start; gap: 8px !important; color: var(--ink) !important; font-size: 13.5px !important; cursor: pointer; }
.consent-check input { width: 20px !important; height: 20px !important; flex: 0 0 20px; margin-top: 1px; accent-color: var(--teal-600); }

#step-done { display: grid; justify-items: center; text-align: center; }
#step-done[hidden] { display: none; }
.done-mark { display: grid; width: 64px; height: 64px; margin-bottom: 14px; place-items: center; border-radius: 22px; background: linear-gradient(145deg, #62b3a3, #2e7a70); box-shadow: 0 12px 26px -10px rgba(46, 122, 112, 0.7); color: #fff; font-size: 30px; font-weight: 700; }
#step-done .button { width: 100%; height: 50px; }

.login-help a { color: var(--teal-700); font-weight: 600; text-decoration: none; }

/* ---------- 자녀 정보(여러 명) ---------- */
.children-box { display: grid; gap: 10px; border: 1px solid #f1e3b3; border-radius: 18px; background: var(--butter-tint); padding: 14px; }
.children-box__head strong { display: block; font-size: 15px; font-weight: 700; }
.children-box__head small { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 12.5px; }
.child-rows { display: grid; gap: 10px; }
.child-row { display: grid; gap: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.7); padding: 10px 12px 12px; }
.child-row__head { display: flex; align-items: center; justify-content: space-between; }
.child-row__head[hidden] { display: none; }
.child-row__head b { color: var(--orange); font-size: 13px; }
.child-row__remove { width: 30px; height: 30px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-faint); cursor: pointer; font-size: 20px; line-height: 1; }
.child-row__remove:hover { background: var(--rose-soft); color: var(--rose); }
.child-row__remove[hidden] { display: none; }
.add-child { height: 44px; border: 1.5px dashed #e3c98a; border-radius: 14px; background: rgba(255, 255, 255, 0.6); color: #a76b1f; cursor: pointer; font-size: 14px; font-weight: 650; }
.add-child:hover { background: #fff; }
.add-child[hidden] { display: none; }
.children-box > .child-rows:has(.child-row:only-child) .child-row { background: transparent; padding: 0; }

/* ---------- 가입 완료 후 Windows 알림 켜기 ---------- */
.notify-setup { display: grid; gap: 8px; width: 100%; margin: 0 0 16px; border: 1px solid #f1e3b3; border-radius: 18px; background: var(--butter-tint); padding: 16px; text-align: left; }
.notify-setup[hidden] { display: none; }
.notify-setup strong { font-size: 15px; }
.notify-setup p { margin: 0; color: var(--ink-soft); font-size: 13.5px; line-height: 1.6; }
.notify-setup__hint b { color: var(--ink); }
.notify-setup__button { width: 100%; height: 44px !important; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.notify-setup__result { color: var(--teal-700) !important; font-weight: 600; }
.notify-setup__result.is-denied { color: var(--rose) !important; }

/* 테스트 서버 전용 자동 생성 버튼: 가입 신청 버튼 오른쪽 */
.signup-actions { display: flex; gap: 8px; margin-top: 4px; }
.signup-actions #signup-submit { flex: 1; margin-top: 0; }
#signup-form .signup-autofill { flex: 0 0 auto; margin-top: 0; border: 1px dashed #c98a2b; background: #fff7e8; color: #8a5a12; padding: 0 16px; font-size: 14px; }
.signup-autofill[hidden] { display: none; }
