/* SMARTRA auth (로그인·가입·MFA 등) — shell 없이 깨끗한 중앙 정렬.
   설계 의도: 사용자가 로그인 전이므로 좌측 rail/sidebar 미노출.
              회청색 배경 + 흰 카드로 SMARTRA 정체성 유지.
*/

/* Auth v2 — 모던 그라데이션 배경 + 큰 로고 + 글래스 카드.
   설계 의도: 좌측 rail/sidebar 없는 별도 layout.
              브랜드 그라데이션 + 라이트 노이즈로 깊이감.
              카드는 흰색 + 미묘 그림자로 떠오름. */

.auth-body {
  margin: 0; padding: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 60% at 80% 10%, rgba(99, 102, 241, 0.18), transparent),
    radial-gradient(ellipse 80% 60% at 10% 90%, rgba(139, 92, 246, 0.16), transparent),
    linear-gradient(180deg, #f8f9fc 0%, #eef0f7 100%);
  font-family: var(--f-base);
  color: var(--c-fg);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
/* 배경 노이즈/그라데이션 보조 패턴 */
.auth-body::before {
  content: '';
  position: absolute;
  top: -10%; left: -10%;
  width: 60%; height: 60%;
  background: var(--grad-brand);
  opacity: 0.06;
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}
.auth-body::after {
  content: '';
  position: absolute;
  bottom: -10%; right: -10%;
  width: 60%; height: 60%;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  opacity: 0.06;
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}

.auth-shell {
  width: 100%;
  max-width: 440px;
  display: flex; flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 1;
}

/* 브랜드 헤더 — 로고 + 타이틀 + 부제 */
.auth-brand { text-align: center; }
.auth-logo {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  background: var(--grad-brand);
  color: #fff;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  font-weight: var(--f-weight-extrabold);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.36), 0 2px 8px rgba(139, 92, 246, 0.24);
  letter-spacing: var(--f-tracking-tight);
}
.auth-title {
  font-size: 26px;
  font-weight: var(--f-weight-extrabold);
  color: var(--c-fg-strong);
  margin: 0 0 6px;
  letter-spacing: var(--f-tracking-tight);
}
.auth-sub {
  font-size: 14px;
  color: var(--c-fg-mute);
  margin: 0;
}

/* 카드 — 흰색, 떠오름 (v2 — 더 큰 radius + soft shadow) */
.auth-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 32px 32px 28px;
  box-shadow:
    0 16px 48px rgba(15, 23, 42, 0.08),
    0 4px 12px rgba(15, 23, 42, 0.04),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}
.auth-card h2 {
  font-size: 20px;
  font-weight: var(--f-weight-bold);
  margin: 0 0 6px;
  color: var(--c-fg-strong);
  letter-spacing: var(--f-tracking-tight);
}
.auth-card .auth-sub-text {
  font-size: 13px; color: var(--c-fg-mute);
  margin: 0 0 24px;
  line-height: var(--f-line-base);
}

/* form */
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field label {
  font-size: 12px;
  font-weight: var(--f-weight-semibold);
  color: var(--c-fg-strong);
  letter-spacing: var(--f-tracking-snug);
}
/* [feat 2026-06-29_095] select 도 input 과 동일 스타일(가입 폼 부서/직책/직급 드롭다운). */
.auth-field input,
.auth-field select {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--c-fg);
  background: var(--c-card);
  transition: all var(--transition-base);
  font-family: inherit;
}
.auth-field input::placeholder { color: var(--c-fg-subtle); }
.auth-field input:hover,
.auth-field select:hover { border-color: var(--c-fg-mute); }
.auth-field input:focus,
.auth-field select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: var(--shadow-focus);
}
.auth-field-help {
  font-size: 11px; color: var(--c-fg-mute);
  margin-top: 2px;
}

/* [cyber 2026-06-24] 버튼 — 인디고→시안 그라데이션 + 강한 글로우 + scan shimmer.
   설계 의도: CTA 가 사이파이 액센트로 즉시 시선 끌도록. hover 시 scan 효과 (미세). */
.auth-btn-primary {
  height: 48px;
  background: var(--grad-cyber-vivid);
  color: #fff;
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: var(--f-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow:
    0 6px 24px rgba(99, 102, 241, 0.4),
    0 0 32px rgba(34, 211, 238, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  letter-spacing: var(--f-tracking-snug);
  position: relative;
  overflow: hidden;
}
.auth-btn-primary::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
  transition: left 0.6s ease;
}
.auth-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 10px 32px rgba(99, 102, 241, 0.55),
    0 0 48px rgba(34, 211, 238, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(34, 211, 238, 0.7);
}
.auth-btn-primary:hover::before { left: 100%; }
.auth-btn-primary:active { transform: translateY(0); }
.auth-btn-primary:disabled {
  background: var(--c-border-strong);
  cursor: not-allowed;
}

.auth-btn-ghost {
  background: transparent;
  color: var(--c-fg-mute);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  height: 40px;
  font-size: 13px;
  cursor: pointer;
}
.auth-btn-ghost:hover { background: var(--c-card-hover); color: var(--c-fg); }

/* 보조 링크 */
.auth-links {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 4px;
  font-size: 12px;
}
.auth-links a {
  color: var(--c-primary);
  text-decoration: none;
}
.auth-links a:hover { text-decoration: underline; }

/* 구분선 + 푸터 링크 */
.auth-divider {
  margin: 18px 0 14px;
  height: 1px; background: var(--c-divider);
  position: relative;
}
.auth-divider span {
  position: absolute; top: -8px; left: 50%;
  transform: translateX(-50%);
  background: var(--c-card);
  color: var(--c-fg-mute);
  font-size: 11px;
  padding: 0 10px;
}

.auth-footer {
  text-align: center;
  font-size: 11px; color: var(--c-fg-mute);
}

/* 안내 박스 (디바이스 확인·잠금·재설정) */
.auth-info {
  background: var(--c-info-bg);
  border-left: 3px solid var(--c-info);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--c-fg);
  margin: 0 0 18px;
}
.auth-info-warn {
  background: var(--c-warn-bg);
  border-left-color: var(--c-warn);
}
.auth-info-danger {
  background: var(--c-danger-bg);
  border-left-color: var(--c-danger);
}

/* QR 박스 (MFA 등록) */
.auth-qr {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 14px;
}
.auth-qr-img {
  width: 160px; height: 160px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--c-fg-mute);
  font-family: var(--f-mono);
}
.auth-secret {
  font-family: var(--f-mono);
  font-size: 12px;
  background: var(--c-card-hover);
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid var(--c-border);
  color: var(--c-fg);
  letter-spacing: 1px;
}

/* 정책 표시 (가입 시 비밀번호 정책) */
.auth-policy {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--c-fg-mute);
  margin: -4px 0 4px;
}
.auth-policy ul { margin: 4px 0 0; padding-left: 16px; }
.auth-policy li { margin: 2px 0; }

/* 2026-05-28 (Phase 1.1 본격 auth) — 에러 박스 + btn-link */
.auth-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 14px;
}
.auth-btn-link {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  margin-top: 8px;
}

/* ============================================================================
   2026-05-28 Auth v3 - 2단 컬럼 (좌측 brand + 우측 form)
   왜: 사용자 외출 요청 "디자인 변경". 1단 중앙 정렬 -> 2단 split 으로 큰 시각적 변화.
       사내 인트라넷 흔한 패턴. 작은 화면(<900px) 1단 fallback.
   ============================================================================ */

.auth-body--split {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}

.auth-split {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 1.2fr;
  min-height: 100vh;
  width: 100%;
  position: relative;
  z-index: 1;
}

.auth-pane {
  display: flex;
  flex-direction: column;
  padding: 48px 56px;
}

.auth-pane--brand {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
  color: #fff;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-pane--brand::before {
  content: '';
  position: absolute;
  top: -20%; right: -20%;
  width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%);
  pointer-events: none;
}
.auth-pane--brand::after {
  content: '';
  position: absolute;
  bottom: -10%; left: -10%;
  width: 50%; height: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 60%);
  pointer-events: none;
}

.auth-brand-inner {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin-top: 8vh;
}
.auth-pane--brand .auth-logo {
  width: 72px; height: 72px;
  margin: 0 0 24px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 12px 36px rgba(0,0,0,0.16);
}
.auth-pane--brand .auth-title {
  color: #fff;
  font-size: 36px;
  font-weight: var(--f-weight-extrabold);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.auth-pane--brand .auth-sub {
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  margin: 0 0 40px;
}

.auth-hilights {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 12px;
}
.auth-hilights li {
  display: flex; align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.92);
  font-size: 14px;
}
.auth-hl-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.16);
  flex-shrink: 0;
}

.auth-brand-footer {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}

.auth-pane--form {
  background: #ffffff;
  align-items: center;
  justify-content: center;
}
.auth-pane--form .auth-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 36px 40px 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* 작은 화면 1단 fallback */
@media (max-width: 900px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-pane--brand {
    padding: 32px 24px;
    text-align: center;
  }
  .auth-brand-inner {
    margin: 0 auto;
    max-width: 420px;
  }
  .auth-pane--brand .auth-logo { margin-left: auto; margin-right: auto; }
  .auth-hilights { display: none; }
  .auth-pane--form { padding: 24px; }
}

/* ============================================================================
   2026-05-29 Auth v4 - 다크 + 글래스모피즘
   왜: 사용자 외출 요청 "디자인 다시 변경". v3 (2단 split) -> v4 강한 대비.
       검은 배경 + 글로우 orb + 글래스 카드. 사내 인트라넷이지만 모던 임팩트.
   ============================================================================ */

.auth-body--dark {
  margin: 0; padding: 0;
  min-height: 100vh;
  background: #0a0a1a;
  color: #e5e7eb;
  font-family: var(--f-base);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  position: relative;
  /* [fix 2026-06-22 #026] horizontal-scroll 가드.
     설계 의도: 600px orb (.auth-dark-orb) 가 viewport 밖으로 음수 좌표 (-200px/-150px) 로 배치되는데,
     일부 브라우저/scroll-bar 계산에서 body 너비 초과를 일으켜 horizontal-scroll 발생 (qa-sweep 7건).
     overflow-x: hidden 는 이미 overflow: hidden 으로 커버되지만 명시화 + max-width: 100vw 로 이중 가드. */
  overflow: hidden;
  overflow-x: hidden;
  max-width: 100vw;
  box-sizing: border-box;
}
/* [fix 2026-06-22 #026] html 단에서도 가로 스크롤 차단 — auth layout 전용. */
html:has(body.auth-body--dark) {
  overflow-x: hidden;
}
/* [fix 2026-06-23] horizontal-scroll 가드는 body + bg 만 적용.
   사고: 이전 (#026) 에서 .auth-dark-shell 에도 max-width: 100vw 줬는데, 그게 487줄의 max-width: 440px 를
   CSS specificity (0,2,0 > 0,1,0) 로 덮어버려 입력 폼이 화면 끝에서 끝까지 늘어남.
   교훈: width 가드는 wrapping container (body/bg) 에만, 컨텐츠 카드 (shell) 에는 적용 금지. */
.auth-body--dark .auth-dark-bg {
  max-width: 100vw;
}

/* 배경 오브 + 그리드 */
.auth-dark-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
/* [cyber 2026-06-24] orb 강화 — 더 진한 색 + 부드러운 펄스 애니메이션.
   설계 의도: 사용자 진입 시점에 사이파이 톤 즉시 전달, 시선 자극 X (부드러운 호흡). */
.auth-dark-orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  animation: cyber-orb-pulse 8s ease-in-out infinite;
}
.auth-dark-orb--violet {
  top: -200px; left: -150px;
  background: radial-gradient(circle, #6366f1 0%, #a855f7 40%, transparent 70%);
}
.auth-dark-orb--cyan {
  bottom: -200px; right: -150px;
  background: radial-gradient(circle, #22d3ee 0%, #06b6d4 40%, transparent 70%);
  animation-delay: -4s;
}
@keyframes cyber-orb-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 0.72; transform: scale(1.06); }
}
/* [cyber 2026-06-24] grid 라인 더 정밀화 — 32px 미세 그리드 + 보조 라인. */
.auth-dark-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 85%);
}
/* 추가 — corner scan glow (4 코너 미세 사이버 액센트) */
.auth-dark-bg::before {
  content: '';
  position: absolute;
  top: 24px; left: 24px;
  width: 60px; height: 60px;
  border-top: 1px solid var(--c-cyber-cyan);
  border-left: 1px solid var(--c-cyber-cyan);
  opacity: 0.5;
  pointer-events: none;
}
.auth-dark-bg::after {
  content: '';
  position: absolute;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-bottom: 1px solid var(--c-cyber-magenta);
  border-right: 1px solid var(--c-cyber-magenta);
  opacity: 0.45;
  pointer-events: none;
}

.auth-dark-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  display: flex; flex-direction: column;
  gap: 28px;
}

/* 다크 헤더 */
.auth-body--dark .auth-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 30px rgba(139, 92, 246, 0.40);
  margin: 16px 0 6px;
  letter-spacing: -0.02em;
  text-align: center;
}
.auth-body--dark .auth-sub {
  color: rgba(229, 231, 235, 0.6);
  margin: 0;
  text-align: center;
  font-size: 14px;
}
.auth-body--dark .auth-brand { text-align: center; }

/* [cyber 2026-06-24] 로고 — 인디고→시안 그라데이션 + 강한 글로우 + 부드러운 호버 펄스. */
.auth-logo--glass {
  width: 72px; height: 72px;
  margin: 0 auto;
  background: var(--grad-cyber-vivid);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 22px;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.5),
    0 8px 32px rgba(99, 102, 241, 0.5),
    0 0 48px rgba(34, 211, 238, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: cyber-logo-pulse 4s ease-in-out infinite;
}
@keyframes cyber-logo-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.5), 0 8px 32px rgba(99, 102, 241, 0.5), 0 0 48px rgba(34, 211, 238, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
  50%      { box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.7), 0 12px 40px rgba(99, 102, 241, 0.65), 0 0 60px rgba(34, 211, 238, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
}

/* [cyber 2026-06-24] 글래스 카드 — 상단 시안 글로우 라인 + 더 강한 보더. */
.auth-card--glass {
  background: rgba(15, 20, 32, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 24px;
  padding: 36px 36px 32px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(99, 102, 241, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  position: relative;
  overflow: hidden;
}
.auth-card--glass::before {
  content: '';
  position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-cyber-cyan), transparent);
  box-shadow: 0 0 10px var(--c-cyber-cyan);
  opacity: 0.7;
}
.auth-card--glass h2 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.auth-card--glass .auth-sub-text {
  font-size: 13px;
  color: rgba(229, 231, 235, 0.55);
  margin: 0 0 24px;
}

/* 다크 폼 */
.auth-body--dark .auth-field label {
  color: rgba(229, 231, 235, 0.85);
}
.auth-body--dark .auth-field input,
.auth-body--dark .auth-field select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
  transition: all 0.2s;
}
.auth-body--dark .auth-field input::placeholder {
  color: rgba(229, 231, 235, 0.35);
}
.auth-body--dark .auth-field input:hover,
.auth-body--dark .auth-field select:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}
/* [cyber 2026-06-24] 입력 focus — 시안 글로우 (인디고에서 변경, sci-fi 액센트). */
.auth-body--dark .auth-field input:focus,
.auth-body--dark .auth-field select:focus {
  outline: none;
  border-color: var(--c-cyber-cyan);
  background: rgba(34, 211, 238, 0.06);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.22), 0 0 24px rgba(34, 211, 238, 0.18);
}

/* [add 2026-06-23] 가입 폼 — 직책/직급 2 칼럼 row + 필수/선택 라벨 + 도움말 */
.auth-field--half { flex: 1; }
.auth-field-row { display: flex; gap: 12px; }
.auth-field-row .auth-field { margin-bottom: 0; }
.auth-req {
  color: #ef4444;
  font-weight: 700;
  margin-left: 2px;
}
.auth-opt {
  font-size: 10px;
  font-weight: 600;
  color: rgba(229, 231, 235, 0.45);
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 6px;
  border-radius: 6px;
  margin-left: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.auth-field-help {
  font-size: 11px;
  color: rgba(229, 231, 235, 0.5);
  margin-top: 4px;
}
.auth-links-hint {
  font-size: 12px;
  color: rgba(229, 231, 235, 0.45);
}

}
/* [cyber 2026-06-24] 입력 focus — 시안 글로우 (인디고에서 변경, sci-fi 액센트). */
.auth-body--dark .auth-field input:focus {
  outline: none;
  border-color: var(--c-cyber-cyan);
  background: rgba(34, 211, 238, 0.06);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.22), 0 0 24px rgba(34, 211, 238, 0.18);
}
.auth-body--dark .auth-field-help {
  color: rgba(229, 231, 235, 0.5);
}

/* 다크 버튼 - 글로우 */
.auth-body--dark .auth-btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  color: #fff;
  font-weight: 600;
  box-shadow:
    0 10px 30px rgba(139, 92, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.auth-body--dark .auth-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px rgba(139, 92, 246, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* 다크 링크 */
.auth-body--dark .auth-links a {
  color: rgba(139, 92, 246, 0.85);
}
.auth-body--dark .auth-links a:hover { color: #c4b5fd; }

/* 다크 에러 */
.auth-body--dark .auth-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.auth-footer--dark {
  text-align: center;
  color: rgba(229, 231, 235, 0.4);
  font-size: 12px;
}

/* [fix 2026-06-22 #026] auth shell 내부 모든 박스 box-sizing 보장 + 자식 폭 초과 방지.
   설계 의도: login.hbs / register.hbs 등 inline <style> 안의 .auth-hint, .auth-form 자식이
              padding+border 더해져 부모 (440px) 초과 시 horizontal-scroll 유발 가능. 강제 border-box. */
.auth-dark-shell *,
.auth-dark-shell *::before,
.auth-dark-shell *::after {
  box-sizing: border-box;
}
.auth-dark-shell .auth-card,
.auth-dark-shell .auth-hint,
.auth-dark-shell .auth-form,
.auth-dark-shell .auth-field,
.auth-dark-shell .auth-field input,
.auth-dark-shell .auth-error,
.auth-dark-shell .auth-info,
.auth-dark-shell .auth-policy,
.auth-dark-shell .auth-qr {
  max-width: 100%;
}
