@charset "UTF-8";
/* 로그인 · 비밀번호 변경 */

/* ---------- CM-01 로그인 ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; background: var(--surface); }
.auth-brand {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 48px 56px;
  color: #fff;
  background:
    radial-gradient(520px 360px at 85% 10%, var(--brand-glow-1), transparent 60%),
    radial-gradient(480px 320px at 0% 100%, var(--brand-glow-2), transparent 60%),
    var(--brand-grad);
}
.auth-brand .logo { color: #fff; }
.auth-brand .logo-mark { background: rgba(255, 255, 255, .2); }
.auth-brand h1 { font-size: 36px; font-weight: 800; line-height: 1.35; letter-spacing: -.03em; }
.auth-brand .lead { margin-top: 14px; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .82); }
.auth-points { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.auth-points li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(6px);
  font-size: 15px; font-weight: 500;
}
.auth-points .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); }
.auth-copy { font-size: 13px; color: rgba(255, 255, 255, .6); }

.auth-main { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 48px 24px; }
.auth-mode { position: absolute; top: 20px; right: 20px; }
.auth-form { width: 100%; max-width: 380px; }
.auth-form .logo { display: none; margin-bottom: 36px; }
.auth-form h2 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.auth-form .sub { margin-top: 6px; margin-bottom: 32px; font-size: 15px; color: var(--text-sub); }
.auth-form .alert { margin-bottom: 20px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 24px; }
.auth-row .find { font-size: 14px; color: var(--text-muted); }
.auth-form .btn-submit { width: 100%; height: 54px; border-radius: 14px; font-size: 16px; font-weight: 700; }
.auth-contact {
  display: flex; gap: 12px; margin-top: 32px; padding: 16px 18px;
  border-radius: 14px; background: var(--bg);
  font-size: 13.5px; color: var(--text-sub); line-height: 1.6;
}
.auth-contact svg { margin-top: 2px; color: var(--text-muted); }
.auth-contact strong { color: var(--text); }
.auth-foot { margin-top: 40px; font-size: 12.5px; color: var(--text-disabled); text-align: center; }

.input-wrap [data-toggle-pw] .ic-eye-off,
.input-wrap [data-toggle-pw].is-on .ic-eye { display: none; }
.input-wrap [data-toggle-pw].is-on .ic-eye-off { display: block; }

/* ---------- CM-02 비밀번호 변경 ---------- */
.pw-wrap { max-width: 520px; margin: 0 auto; }
.pw-wrap .card-body { padding: 28px; }
.pw-rules { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.pw-rules li { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); transition: color .15s; }
.pw-rules li svg { color: var(--text-disabled); transition: color .15s; }
.pw-rules li.is-ok { color: var(--st-50); }
.pw-rules li.is-ok svg { color: var(--st-50); }
.pw-actions { display: flex; gap: 8px; margin-top: 28px; }
.pw-actions .btn { flex: 1; height: 52px; font-size: 15px; }
.force-notice { margin-bottom: 20px; }

/* 강제 변경일 때 메뉴 숨김 */
body.is-force .header-panel,
body.is-force .menu-toggle,
body.is-force .pw-cancel { display: none !important; }

@media (max-width: 1024px) {
  .auth-brand { padding: 40px; }
  .auth-brand h1 { font-size: 30px; }
}
@media (max-width: 768px) {
  .auth { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-main { justify-content: flex-start; padding: 56px 20px 32px; }
  .auth-form .logo { display: flex; }
  .auth-form h2 { font-size: 23px; }
  .pw-wrap .card-body { padding: 22px 18px; }
}
