/* SUBOX 로그인 · 회원가입 · 비밀번호 — resources/views/public/auth/* 의 기존 클래스(auth-*)를 SUBOX 스티커 톤으로. home.css 위에 얹는다 */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.auth-body { min-height: 100vh; background: var(--paper); color: var(--ink); background-image: radial-gradient(rgba(22, 21, 19, .07) 1.6px, transparent 1.6px); background-size: 28px 28px; }
.auth-split { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; max-width: 1080px; margin: 0 auto; padding: 40px 20px; }
.auth-split:not(:has(.sa-aside)) { grid-template-columns: 1fr; max-width: 520px; }
.auth-center { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; }
.auth-main { display: flex; justify-content: center; }
.auth-box { width: 100%; max-width: 460px; background: var(--card); border: 2.5px solid var(--line); border-radius: var(--radius, 22px); box-shadow: var(--shadow, 6px 6px 0 var(--line)); padding: 28px 28px 24px; }
.auth-box.narrow { max-width: 420px; }

/* 위: 로고 · 테마 */
.sa-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.sa-logo img { height: 30px; display: block; }
.sa-top .icon-btn { width: 38px; height: 38px; font-size: 16px; color: var(--ink); }
.auth-brand { display: inline-block; margin-bottom: 18px; }

/* 글 */
.auth-title { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.25; }
.auth-sub { margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.auth-step + .auth-step { margin-top: 18px; }
.muted { color: var(--ink-3); }

/* 알림 */
.auth-alert { margin-top: 14px; padding: 10px 14px; border: 2px solid #8a2414; background: #fde8e4; color: #8a2414; border-radius: 12px; font-size: 13.5px; font-weight: 700; }
.auth-alert.info { border-color: var(--line); background: var(--sun-soft); color: #161513; }

/* 폼 */
.auth-form { margin-top: 18px; display: grid; gap: 14px; }
.auth-field { display: grid; gap: 6px; }
.auth-field label { font-size: 12.5px; font-weight: 800; color: var(--ink-2); }
.auth-field input[type="text"], .auth-field input[type="email"], .auth-field input[type="password"], .auth-field input:not([type]) {
  width: 100%; height: 48px; border: 2px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); padding: 0 14px; font: inherit; font-size: 15px; }
.auth-field input:focus { outline: none; box-shadow: 0 0 0 3px var(--sun); }
.auth-field small, .auth-field .hint { font-size: 12px; color: var(--ink-3); }
.auth-pw-wrap { position: relative; }
.auth-pw-wrap input { padding-right: 48px !important; }
.auth-pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 16px; border-radius: 8px; }
.auth-pw-toggle:hover { background: var(--sun-soft); }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.auth-remember { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink-2); }
.auth-remember input, .auth-agree input { width: 18px; height: 18px; accent-color: #161513; }
.auth-link { font-weight: 800; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sun-deep); }

/* 버튼 */
.auth-submit { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; border: 2.5px solid var(--line); border-radius: 14px; background: var(--sun); color: #161513; font: inherit; font-size: 16px; font-weight: 900; cursor: pointer; box-shadow: 3px 3px 0 var(--line); transition: transform .1s, box-shadow .1s; text-decoration: none; }
.auth-submit:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--line); }
.auth-submit:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--line); }
.auth-back { margin-top: 10px; width: 100%; height: 44px; border: 2px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }

/* 소셜 */
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 20px 0 12px; font-size: 12px; color: var(--ink-3); font-weight: 700; }
.auth-divider span { flex: 1; height: 0; border-top: 2px dashed var(--hair); }
.auth-social { display: grid; gap: 8px; }
.auth-social-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border: 2px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font-weight: 800; font-size: 14.5px; text-decoration: none; }
.auth-social-btn.is-kakao { background: #fee500; color: #191600; }
.auth-social-btn.is-naver { background: #03c75a; color: #fff; }
.auth-social-btn:hover { filter: brightness(.97); }
.auth-social-ico { width: 18px; height: 18px; border-radius: 4px; background: currentColor; opacity: .85; -webkit-mask: radial-gradient(circle, #000 60%, transparent 62%); mask: radial-gradient(circle, #000 60%, transparent 62%); }

/* 약관 */
.auth-agree { border: 2px solid var(--hair); border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px; font-size: 13.5px; }
.auth-agree label { display: flex; align-items: center; gap: 8px; }
.auth-agree__all { font-weight: 900; padding-bottom: 8px; border-bottom: 1.5px dashed var(--hair); }
.auth-agree__note { font-size: 12px; color: var(--ink-3); }
.auth-agree a { font-weight: 800; text-decoration: underline; }

.auth-foot { margin-top: 18px; text-align: center; font-size: 13.5px; color: var(--ink-2); }

/* 가입 닫힘 안내 */
.auth-notice { margin: auto; border: 2.5px solid var(--line); border-radius: 22px; box-shadow: 6px 6px 0 var(--line); padding: 26px; max-width: 380px; background: var(--card); color: var(--ink); }
.auth-notice::backdrop { background: rgba(22, 21, 19, .45); }
.auth-notice h2 { font-family: var(--display); font-weight: 400; font-size: 24px; }
.auth-notice p { margin: 8px 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.auth-notice .auth-submit { margin-top: 14px; }

/* 왼쪽 안내 패널 */
.sa-aside { background: var(--sun); color: #161513; border: 2.5px solid var(--line); border-radius: 28px; box-shadow: 6px 6px 0 var(--line); padding: 36px 34px; position: relative; overflow: hidden; }
.sa-aside::after { content: "命"; position: absolute; right: -10px; bottom: -40px; font-family: 'Noto Serif KR', serif; font-weight: 900; font-size: 220px; line-height: 1; opacity: .08; }
.sa-planet { animation: saFloat 5s ease-in-out infinite; width: max-content; }
@keyframes saFloat { 50% { transform: translateY(-8px) rotate(-3deg); } }
.sa-aside h2 { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.25; margin-top: 14px; }
.sa-aside ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.sa-aside li { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid #161513; border-radius: 14px; padding: 10px 14px; font-weight: 800; font-size: 14.5px; }
.sa-aside li b { font-size: 18px; }
.sa-aside p { margin-top: 16px; font-size: 13.5px; font-weight: 700; opacity: .8; }

@media (max-width: 860px) {
  .auth-split { grid-template-columns: 1fr; max-width: 520px; padding-top: 24px; }
  .sa-aside { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sa-planet { animation: none; } }
