/* Match the reference route entry; shared chrome stays mounted. */
.login-side .login-card {
  animation: auth-form-enter .6s cubic-bezier(.16, 1, .3, 1) both;
}
.login-card h1:focus { outline: none; }
@keyframes auth-form-enter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Compact verification panel, scoped to the OTP step only. */
.auth-otp-view .login-header { height:72px; padding-inline:20px; }
.auth-otp-view .login-layout { grid-template-columns:minmax(0,1.04fr) minmax(0,1fr); min-height:calc(100svh - 72px); }
.auth-otp-view .login-side { padding:140px 40px 36px; }
.auth-otp-view .back-link { inset-inline-start:max(40px,calc((100% - 396px)/2)); font-size:12px; gap:8px; padding:4px 4px 4px 21px; }
.auth-otp-view .back-link-icon { width:28px; height:28px; }
.auth-otp-view .back-link svg { width:14px; height:14px; }
.auth-otp-view .brand-side { background:#111118; }
.auth-otp-view .brand-side::before, .auth-otp-view .brand-side::after { content:''; position:absolute; border-radius:50%; pointer-events:none; }
.auth-otp-view .brand-side::before { width:360px; height:360px; top:-90px; right:-90px; background:rgba(229,38,54,.045); }
.auth-otp-view .brand-side::after { width:252px; height:252px; bottom:-36px; left:34px; background:rgba(73,94,153,.08); }
.auth-otp-view .brand-content { position:relative; transform:translateY(90px); }
.auth-otp-view .floating-logo { max-width:250px; margin-bottom:120px; }
.auth-otp-view .brand-content h2 { font-size:28px; margin-bottom:8px; }
.auth-otp-view .brand-content p { font-size:12px; line-height:1.8; }
.login-side .auth-otp-card { position:relative; width:min(396px,100%); padding:32px 29px; border-radius:22px; }
.auth-otp-card > form { display:flex; flex-direction:column; gap:16px; width:100%; min-width:0; }
.auth-otp-card .card-header { margin-bottom:8px; }
.auth-otp-card h1 { font-size:22px; line-height:1.5; }
.auth-otp-card .login-intro { font-size:12px; line-height:1.6; }
.auth-otp-card .form-group { gap:6px; }
.auth-otp-card .form-group label { font-size:12px; line-height:1.5; }
.auth-otp-card .input-container input { height:46px; min-height:46px; padding:10px 34px; text-align:center; font-size:18px; line-height:1.2; font-weight:700; letter-spacing:4px; font-variant-numeric:tabular-nums; }
.auth-otp-card .input-container input::placeholder { text-align:right; font-size:12px; font-weight:400; letter-spacing:0; }
.auth-otp-card .input-icon { width:15px; height:15px; inset-inline-start:13px; }
.auth-otp-card .input-container input:focus, .auth-otp-card .input-container input[aria-invalid="true"] { border-color:var(--accent); box-shadow:none; }
.auth-otp-card .submit-login { height:48px; min-height:48px; margin-top:0; padding:12px; font-size:14px; line-height:1.5; }
.auth-otp-back { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; height:44px; min-height:44px; padding:10px; border:1px solid #383843; border-radius:12px; background:#23232d; color:var(--text); font-size:14px; line-height:1.5; font-weight:700; cursor:pointer; transition:background-color .2s ease,border-color .2s ease; }
.auth-otp-back:hover:not(:disabled) { background:#2d2d38; border-color:#53535f; }
.auth-otp-back svg { width:16px; height:16px; }
/* Keep delivery metadata accessible without adding rows to the reference card. */
.auth-otp-email, .auth-otp-expiry { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.auth-otp-card[data-otp-expired="true"] .auth-otp-expiry { position:static; width:auto; height:auto; padding:0; margin:0; overflow:visible; clip-path:none; white-space:normal; color:var(--muted); font-size:12px; line-height:1.8; }
.auth-otp-resend { position:absolute; inset-inline:29px; bottom:3px; min-height:26px; font-size:11px; line-height:1.5; font-variant-numeric:tabular-nums; }
.auth-otp-resend:disabled { visibility:hidden; }
.auth-otp-card button:disabled { opacity:.55; cursor:default; }
.auth-otp-card .text-button:disabled { text-decoration:none; }
@media(max-width:820px) {
  .auth-otp-view .login-layout { grid-template-columns:minmax(0,1fr); grid-template-rows:auto 1fr; }
  .auth-otp-view .brand-side { background:var(--surface); padding:32px 24px 16px; }
  .auth-otp-view .brand-side::before, .auth-otp-view .brand-side::after { display:none; }
  .auth-otp-view .brand-content { transform:none; }
  .auth-otp-view .floating-logo { max-width:180px; margin-bottom:12px; }
  .auth-otp-view .brand-content h2 { font-size:19px; margin-bottom:0; }
  .auth-otp-view .login-side { padding:66px 20px 36px; align-content:start; }
  .auth-otp-view .back-link { inset-block-start:8px; inset-inline-start:24px; }
  .login-side .auth-otp-card { padding:28px 24px; border-radius:20px; }
}
@media(max-width:360px) {
  .auth-otp-view .login-side { padding-inline:14px; }
  .login-side .auth-otp-card { padding-inline:18px; }
  .auth-otp-card .input-container input::placeholder { font-size:10px; }
}
