.auth-page { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 38px 24px 54px; background: var(--bg); }
.auth-shell { width: min(1080px, 100%); min-height: 700px; display: grid; grid-template-columns: minmax(360px, .9fr) minmax(440px, 1.1fr); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.auth-showcase { position: relative; min-width: 0; overflow: hidden; padding: 48px 42px; color: #fff; background: #171923; }
.auth-showcase::after { content: ""; position: absolute; inset: auto 0 0; height: 44%; background: linear-gradient(180deg, transparent, rgba(17, 24, 39, .82)); pointer-events: none; }
.auth-showcase > *:not(img) { position: relative; z-index: 2; }
.auth-showcase img { position: absolute; inset: auto 0 0; width: 100%; height: 42%; object-fit: cover; opacity: .48; }
.auth-brand-mark { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 36px; color: #fff; background: linear-gradient(135deg, #4f46e5, #6366f1); border-radius: 9px; box-shadow: var(--glow); }
.auth-eyebrow { display: block; color: #818cf8; font-size: 11px; font-weight: 900; }
.auth-showcase h2 { max-width: 380px; margin: 12px 0 14px; font-size: 31px; line-height: 1.3; }
.auth-showcase > p { max-width: 390px; color: #aeb4c2; line-height: 1.8; }
.auth-feature-list { display: grid; gap: 14px; margin-top: 34px; }
.auth-feature-list > div { display: grid; grid-template-columns: 34px 1fr; gap: 11px; align-items: center; }
.auth-feature-list > div > svg { color: #a5b4fc; }
.auth-feature-list strong, .auth-feature-list small { display: block; }
.auth-feature-list strong { font-size: 12px; }
.auth-feature-list small { margin-top: 3px; color: #858c99; font-size: 10px; }
.auth-form-panel { min-width: 0; padding: 22px 54px 44px; }
.auth-tabs { display: flex; justify-content: flex-end; gap: 4px; margin-bottom: 38px; }
.auth-tabs button { min-height: 34px; padding: 0 11px; color: var(--muted); background: transparent; border: 0; border-radius: 6px; font-size: 11px; font-weight: 800; }
.auth-tabs button:hover { color: var(--accent); background: var(--accent-soft); }
.auth-tabs button.active { color: var(--accent); background: var(--accent-soft); }
.auth-form-body { max-width: 500px; margin: 0 auto; }
.auth-form-head { margin-bottom: 24px; }
.auth-form-head h1 { margin: 9px 0 8px; font-size: 28px; line-height: 1.25; }
.auth-form-head p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.auth-method { margin-bottom: 20px; }
.inline-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.optional-label { color: #9ca3af; font-size: 10px; font-weight: 500; }
.check-line { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.check-line input { margin-top: 3px; accent-color: var(--accent); }
.auth-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 17px; }
.auth-links button { padding: 5px 0; color: var(--accent); background: transparent; border: 0; font-size: 11px; }
.auth-security-note { margin-top: 20px; padding: 12px 14px; color: #4b5563; background: #f8fafc; border-left: 3px solid var(--green); border-radius: 0 7px 7px 0; font-size: 11px; }
.captcha { min-width: 90px; display: grid; place-items: center; color: #3730a3; background: var(--accent-soft); border: 1px solid #c7d2fe; border-radius: 7px; font-size: 16px; font-weight: 900; letter-spacing: 3px; }
.auth-status-view { padding-top: 58px; text-align: center; }
.auth-status-icon { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 21px; border-radius: 50%; }
.auth-status-icon.pending { color: var(--amber); background: var(--amber-soft); box-shadow: 0 0 0 9px rgba(245, 158, 11, .08); }
.auth-status-icon.danger { color: var(--danger); background: var(--danger-soft); box-shadow: 0 0 0 9px rgba(239, 68, 68, .07); }
.auth-status-view h1 { margin: 10px 0; font-size: 25px; }
.auth-status-view > p { max-width: 420px; margin: 0 auto; color: var(--muted); font-size: 12px; line-height: 1.8; }
.auth-status-list { margin: 24px 0; border-top: 1px solid var(--line); }
.auth-status-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 11px; }
.auth-status-list span { color: var(--muted); }

@media (max-width: 860px) {
  .auth-page { min-height: calc(100vh - 58px); padding: 18px 12px 34px; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-showcase { min-height: 280px; padding: 34px 28px; }
  .auth-showcase h2 { font-size: 26px; }
  .auth-feature-list { grid-template-columns: repeat(3, 1fr); }
  .auth-showcase img { height: 100%; opacity: .18; }
  .auth-form-panel { padding: 20px 28px 40px; }
}
@media (max-width: 560px) {
  .auth-page { min-height: calc(100vh - 56px); }
  .auth-shell { min-height: 0; border-radius: 8px; }
  .auth-showcase { min-height: 220px; padding: 28px 22px; }
  .auth-brand-mark { margin-bottom: 22px; }
  .auth-showcase h2 { font-size: 23px; }
  .auth-feature-list { display: none; }
  .auth-form-panel { padding: 17px 18px 30px; }
  .auth-tabs { justify-content: flex-start; overflow-x: auto; margin-bottom: 28px; }
  .auth-tabs button { white-space: nowrap; }
  .auth-form-head h1 { font-size: 24px; }
  .auth-links { align-items: flex-start; flex-direction: column; }
}
