:root{--brand:#380017;--accent:#ed6908;--primary:#2b6adf;--page:#f1f1f1;--text:#17202a;--muted:#5f6b76;--danger:#b42318;--focus:#ffbf47}
*{box-sizing:border-box}html{direction:rtl}body{margin:0;min-height:100vh;background:var(--page);color:var(--text);font-family:"Tajawal",Arial,sans-serif}
.auth-header{padding:18px 16px;background:var(--accent);color:#fff;text-align:center}.auth-header a{color:inherit;text-decoration:none}
.auth-shell{width:min(100% - 32px,520px);margin:42px auto}.auth-card{padding:28px;border:1px solid #e1e6eb;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgb(0 0 0 / 10%)}
.auth-card h1{margin:0 0 8px;color:#0f2a4a;text-align:center}.auth-card>p{margin:0 0 24px;color:var(--muted);line-height:1.8;text-align:center}
.field{margin-bottom:16px}.field label{display:block;margin-bottom:6px;font-weight:700}.field input{width:100%;min-height:48px;padding:10px 12px;border:1px solid #cfd7df;border-radius:10px;font:inherit}
.field input:focus{outline:4px solid var(--focus);border-color:transparent}.auth-button{width:100%;min-height:50px;border:0;border-radius:999px;background:var(--primary);color:#fff;cursor:pointer;font:inherit;font-weight:800}
.auth-links{margin-top:18px;text-align:center}.auth-links a{color:#174ea6;font-weight:700}.alert{margin-bottom:16px;padding:12px 14px;border-radius:10px;background:#fff1f0;color:var(--danger);line-height:1.7}
.password-note{margin-top:6px;color:var(--muted);font-size:.9rem}.back-home{display:block;margin-top:14px;text-align:center;color:#174ea6;font-weight:700}