/* ═══════════════ auth v2 — 로그인 · 회원가입 · 비밀번호 찾기/재설정 · 가입완료 ═══════════════
   auth.css 뒤에 로드해 메인(landing-v2)과 같은 톤으로 덮어쓴다. (시안: Claude Design 캔버스 로그인·회원가입)
   이 5개 페이지는 tokens.css 를 전역으로 쓰므로 :root 변수 교체가 다른 페이지에 번지지 않는다. */
:root {
    --accent: #b84a35; --accent-soft: #fcf0ea; --accent-deep: #a8472f;
    --ink: #242b33; --muted: #5f6872; --line: #d3d8de;
    --surface: #fff; --bg: #fff;
    --r-md: 4px; --r-lg: 8px; --shadow-rest: none;
}
body { background: #fff; padding: 32px 20px; }

.auth { max-width: 480px; }
.auth--wide { max-width: 540px; }
.auth--md { max-width: 480px; }

/* 로고 — 심볼만, 가운데 */
.auth-brand { margin-bottom: 20px; }
.auth-brand .bx { width: 56px; height: auto; }

.auth-head { margin-bottom: 20px; }
.auth-head h1 { font-size: 28px; letter-spacing: -0.045em; }
.auth-head p { font-size: 15px; margin-top: 8px; }

.auth-card, .done-card { border: 1px solid #e9ebee; box-shadow: none; border-radius: 8px; padding: 32px 36px; }

/* 입력 */
.field { margin-bottom: 16px; }
.field label { font-size: 14px; }
.field input { height: 52px; background: #fff; border: 1px solid #d3d8de; font-size: 15px; }
.field input::placeholder { color: #7a838d; }
.field input:focus { background: #fff; border-color: #b84a35; box-shadow: 0 0 0 2px rgba(184, 74, 53, 0.2); }
.field.invalid input { border-color: var(--danger); }
.eye:hover { background: #f5f6f7; }

/* 버튼 */
.auth-submit, .btn-next, .btn-primary-lg { border-radius: 4px; }
.auth-submit { margin-top: 10px; }
.auth-secondary, .btn-prev { border: 1px solid #414952; border-radius: 4px; }
.btn-check { background: #fff; border: 1px solid #414952; color: var(--ink); border-radius: 4px; }
.btn-check:hover { background: #f5f6f7; filter: none; }
.auth-find { margin-top: 14px; }

/* 구분선 · 소셜 */
.auth-or { margin: 20px 0 14px; }
.social { gap: 10px; }
.social-btn { height: 50px; border-width: 1px; border-radius: 4px; }
.social-google { border-color: #d3d8de; }
.social-naver { color: #0b2e1a; }
.social-naver svg path { fill: #0b2e1a; }

.auth-foot { margin-top: 20px; }
.auth-foot a { color: var(--accent-deep); }
.auth-foot a:hover { color: var(--accent); }

/* 회원가입 */
.stepper { margin-bottom: 24px; }
.panel h2 { font-size: 24px; letter-spacing: -0.045em; }
.panel .sub { margin-bottom: 20px; }
.panel-btns { margin-top: 24px; }
.pwcheck { margin-top: 10px; }
.agree-all { background: #fcf0ea; border-bottom: 0; border-radius: 4px; padding: 16px 20px; margin-bottom: 16px; }
.agree-all .t { font-size: 14px; text-decoration: none; line-height: 1.5; }
.agree-sec { margin-bottom: 14px; }
.agree-sec-head { margin-bottom: 8px; }
.agree-sec-head .t { font-size: 14px; }
.agree-box { height: 120px; background: #fafbfc; border: 1px solid #e3e6ea; border-radius: 4px; padding: 14px 16px; }

@media (max-width: 480px) {
    body { padding: 24px 16px; }
    .auth-card, .done-card { border: 0; padding: 8px 0 0; }
    .auth-head h1 { font-size: 24px; }
}

/* 비밀번호 placeholder 는 자간 없이 (auth.css 의 letter-spacing:2px 가 placeholder 에도 걸림) */
.field input[type="password"]::placeholder { letter-spacing: 0; }

/* 화면에는 보이지 않지만 제목(H1)으로 읽히는 문구 */
.vh-h1 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
