/* Checkara — sign-in pages (AuthShell). Split out of checkara.css (W0.5), rules unchanged. */

/* Sign-in pages (/login, /onboarding, /invite, /profile/password) — AuthShell: brand panel left, calm form right
   (design/DESIGN.md «Направление T4»). */
.auth { min-height: 100vh; display: grid; grid-template-columns: 52fr 48fr; background: var(--surface); }
.auth-hero { background: var(--brand-bg); color: var(--brand-text); padding: 40px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-width: 0; }
.auth-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.auth-brand img { display: block; }
.auth-hero-copy { max-width: 460px; }
.auth-hero-title { font-size: 26px; line-height: 1.25; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; margin: 0 0 8px; }
.auth-hero-sub { color: var(--brand-text-2); margin: 0; font-size: 14.5px; }
.auth-grid {
  display: grid; grid-template-columns: 1fr repeat(3, 56px); align-items: center; justify-items: center; row-gap: 10px;
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--brand-border); font-size: 12.5px; color: var(--brand-text-2); max-width: 320px;
}
.auth-grid > span:nth-child(4n+1) { justify-self: start; }
.auth-main { display: flex; flex-direction: column; min-width: 0; padding: 40px 24px 24px; }
.auth-panel { width: 100%; max-width: 360px; margin: auto; display: flex; flex-direction: column; gap: 24px; }
.auth-panel h1:focus { outline: none; } /* FocusOnNavigate focuses it for screen readers, not as a visible stop */
.auth-panel h1 { font-size: 26px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
.auth-sub { color: var(--text-2); margin: 6px 0 0; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .btn { justify-content: center; width: 100%; height: 40px; font-size: 14px; }
.auth-form .btn[disabled] { opacity: .6; cursor: progress; }
.auth-error { color: var(--crit-text); font-size: 13px; }
.auth-check { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 13.5px; cursor: pointer; }
.auth-check input { accent-color: var(--accent); }
.auth-alt { margin: 0; font-size: 13.5px; }
.auth-form .mono { font-size: 18px; letter-spacing: .12em; text-align: center; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 12.5px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.btn-google {
  justify-content: center; width: 100%; height: 40px; gap: 10px; padding: 0 14px; font-size: 14px;
  background: var(--google-bg); border-color: var(--google-border); color: var(--google-text);
}
.btn-google:hover { background: color-mix(in srgb, var(--google-bg) 94%, var(--google-text)); color: var(--google-text); }
.btn-google svg { width: 18px; height: 18px; flex: none; }
.auth-foot { width: 100%; max-width: 360px; margin: 0 auto; padding-top: 32px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: var(--text-3); font-size: 12.5px; }
.auth-lang { display: flex; gap: 6px; flex: none; }
.auth-lang a { color: var(--text-3); }
.auth-lang a[aria-current="true"] { color: var(--text); font-weight: 500; text-decoration: none; pointer-events: none; }
.auth-hint { text-align: right; }
.auth-hint a { color: var(--text-2); }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .auth-hero { padding: 16px; gap: 8px; }
  .auth-hero-title { font-size: 15px; margin: 0; color: var(--brand-text-2); }
  .auth-hero-sub, .auth-grid { display: none; }
  .auth-main { padding: 32px 16px 16px; }
  .auth-panel { margin: 0 auto auto; }
}


/* The six digit boxes of the sign-in code step (js/otpBoxes.js); the profile wizard has its own copy in TwoFactorDrawer.razor.css. */
.otp-boxes { display: flex; gap: 8px; }
.otp-box { width: 44px; height: 52px; padding: 0; text-align: center; font-size: 22px; }
