/* 인증 페이지 (login.php · register.php) 공용 — b2b/account 디자인 시스템 */
.auth-wrap { max-width: 440px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-height,108px) + 40px) 20px 56px; box-sizing: border-box; }
.auth-wrap--wide { max-width: 760px; }
.auth-card { background: var(--color-white,#fff); border: 1px solid var(--color-border); border-radius: 4px; padding: 38px 36px 34px; }
@media (max-width: 480px) { .auth-card { padding: 30px 22px; } .auth-wrap { padding-top: calc(var(--header-height,108px) + 20px); } }
.auth-head { text-align: center; margin-bottom: 26px; }
.auth-head h1 { font-family:'"Inter"','"Pretendard"',sans-serif; font-size:clamp(1.4rem,3vw,1.6rem); font-weight:800; color: var(--color-text); margin: 0 0 6px; }
.auth-head p { font-size: 0.86rem; color: var(--color-text-muted); margin: 0; line-height: 1.5; }

.auth-google { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--btn-radius,6px); color: #3c4043; font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: box-shadow 0.15s, border-color 0.15s; }
.auth-google:hover { box-shadow: 0 1px 6px rgba(0,0,0,0.12); border-color: #c8ccd0; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--color-border); }
.auth-divider span { font-size: 0.78rem; color: var(--color-text-muted); white-space: nowrap; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-field { display: flex; flex-direction: column; }
.auth-field label { font-size: 0.78rem; font-weight: 700; color: var(--color-text); margin-bottom: 6px; }
.auth-field input, .auth-field select { padding: 11px 13px; font-size: 0.92rem; border: 1px solid var(--color-border); border-radius: var(--btn-radius,6px); font-family: inherit; box-sizing: border-box; width: 100%; background: var(--color-white,#fff); color: var(--color-text); }
.auth-field input:focus, .auth-field select:focus { outline: none; border-color: var(--color-accent-dark); box-shadow: 0 0 0 2px rgba(0,166,81,0.12); }
.auth-field-hint { font-size: 0.72rem; color: var(--color-text-muted); margin-top: 5px; line-height: 1.5; }

.auth-btn { padding: 13px; background: var(--color-accent-dark); color: #fff; border: none; border-radius: var(--btn-radius,6px); font-size: 0.96rem; font-weight: 700; cursor: pointer; font-family: inherit; margin-top: 4px; width: 100%; }
.auth-btn:hover { background: #007a3d; }
.auth-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; padding: 11px 14px; border-radius: var(--btn-radius,6px); font-size: 0.86rem; line-height: 1.55; }
.auth-error a { color: #b91c1c; font-weight: 700; }
.auth-foot { text-align: center; margin: 24px 0 0; font-size: 0.88rem; color: var(--color-text-muted); }
.auth-foot a { color: var(--color-accent-dark); font-weight: 700; text-decoration: none; }
.auth-foot a:hover { text-decoration: underline; }
/* 비밀번호 표시/숨김 토글 */
.pw-wrap { position: relative; }
.pw-wrap input { width: 100%; padding-right: 42px; }
.pw-eye { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); background: none; border: none; padding: 4px; cursor: pointer; color: #9aa0a6; display: flex; align-items: center; }
.pw-eye:hover { color: #555; }
.pw-eye-hide { display: none; }
.pw-eye.is-on .pw-eye-show { display: none; }
.pw-eye.is-on .pw-eye-hide { display: inline; }
