* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 32px; background: #f5f7fb; color: #172033; font-family: "Segoe UI", Arial, sans-serif; }
.password-card { width: 100%; max-width: 520px; padding: 38px; background: #fff; border-radius: 14px; box-shadow: 0 3px 20px #0000001f; }
h1 { margin: 0; font-size: 27px; font-weight: 600; line-height: 1.25; }
.subtitle { margin: 8px 0 28px; color: #64748b; font-size: 14px; line-height: 1.6; }
.account { margin: -12px 0 24px; font-size: 13px; color: #64748b; overflow-wrap: anywhere; }
label { display: block; font-size: 14px; font-weight: 600; color: #334155; }
input { display: block; width: 100%; height: 46px; margin: 7px 0 18px; padding: 0 12px; font: inherit; font-size: 15px; border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; color: #172033; }
input:focus { border-color: #f00; outline: 2px solid #f00; outline-offset: -2px; }
.primary { display: block; width: 100%; min-height: 48px; margin-top: 18px; padding: 13px; border: 0; border-radius: 9px; color: #fff; background: #f00; font: inherit; font-size: 15px; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; }
.primary:hover { background: #d90000; }
.primary:active { background: #b30000; }
button:focus-visible, a:focus-visible { outline: 3px solid #172033; outline-offset: 4px; }
.help { margin: 18px 0 0; color: #64748b; font-size: 12px; text-align: center; line-height: 1.6; }
.errors { color: #c62828; font-size: 14px; line-height: 1.5; }
.errors ul { padding-left: 20px; }
.validation-summary-valid { display: none; }
.success { padding: 16px; margin: 24px 0; color: #17633d; background: #eaf5ef; border-radius: 9px; line-height: 1.6; }
.back { margin: 20px 0 0; text-align: center; font-size: 13px; }
.back a { color: #475569; }
@media (max-width: 560px) { body { padding: 18px; } .password-card { padding: 28px 22px; } h1 { font-size: 25px; } }
