/* MFA and password-reset pages — same light Yuktav look as the login screen (visual only).
   Loaded after each page's inline <style>, so it overrides colours/sizing without touching ids or scripts. */
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: #2B1810; min-height: 100vh;
  background:
    radial-gradient(ellipse 700px 500px at 10% 0%, rgba(255, 214, 170, .5), transparent 65%),
    radial-gradient(ellipse 800px 500px at 100% 0%, rgba(255, 190, 120, .35), transparent 60%),
    linear-gradient(180deg, #FFFDFB 0%, #FBF4EA 100%);
}
main {
  background: rgba(255, 255, 255, .88); border: 1px solid #fff; border-radius: 28px;
  padding: 36px 32px 28px; box-shadow: 0 26px 60px rgba(120, 70, 20, .14), 0 2px 6px rgba(120, 70, 20, .06);
  animation: auth-rise .6s cubic-bezier(.16, 1, .3, 1) both;
}
.auth-logo { display: block; height: 34px; width: auto; margin: 0 auto 18px; }
h1 { font-size: 24px; font-weight: 700; text-align: center; letter-spacing: -.01em; color: #2B1810; }
h1::after { content: ""; display: block; width: 40px; height: 3px; border-radius: 3px; background: #D9730D; margin: 12px auto 0; }
p.hint { color: #6F6258; font-size: 13.5px; line-height: 1.5; text-align: center; margin: 12px 0 16px; }
label { font-size: 14px; font-weight: 600; color: #2B1810; }
input {
  height: 48px; padding: 0 14px; border: 1px solid #E4D8CA; border-radius: 14px; background: #fff; color: #2B1810; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:hover { border-color: #D2BFA9; }
input:focus { border-color: #D9730D; box-shadow: 0 0 0 4px rgba(217, 115, 13, .15); }
button {
  height: 50px; border-radius: 999px; font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(90deg, #F2992E 0%, #C2570A 60%, #A44304 100%); box-shadow: 0 10px 22px rgba(194, 87, 10, .28);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
button:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 14px 28px rgba(194, 87, 10, .34); }
button:active:not(:disabled) { transform: translateY(0) scale(.99); }
button.secondary { background: transparent; color: #A94A05; border: 1px solid #E4B98E; box-shadow: none; }
button.secondary:hover:not(:disabled) { background: #FFF1E3; box-shadow: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(217, 115, 13, .45); outline-offset: 3px; }
#msg.err, ul#problems { color: #9B1C1C; } #msg.ok { color: #2E7D32; }
a { color: #A94A05; font-weight: 600; }
code#secret { background: #FBF4EA; border-radius: 10px; }
#qr { border-radius: 14px; border-color: #E4D8CA; }
@keyframes auth-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { main { animation: none; } * { transition: none !important; } }
button, input { font-family: inherit; }
