@font-face { font-family:"Noto Sans Khmer"; src:url("../backend/fonts/NotoSansKhmer-JWoy1Ym.ttf") format("truetype"); font-display:swap; }
:root { color-scheme:dark; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans Khmer",sans-serif; color:#f2f4f7; background:#191b1f; }
* { box-sizing:border-box; }
body.password-recovery { margin:0; min-height:100vh; min-height:100svh; display:flex; justify-content:center; align-items:center; padding:28px 16px; }
.recovery-card { width:100%; max-width:480px; padding:36px; background:#282c32; border:1px solid #535c68; border-radius:24px; box-shadow:0 16px 70px #0004; }
a { color:#a4ceff; text-underline-offset:3px; }
.brand { display:block; width:190px; margin:0 auto 32px; }
.brand img { display:block; max-width:100%; height:auto; filter:brightness(0) invert(1); }
h1 { font-size:27px; line-height:1.2; margin:26px 0 14px; letter-spacing:-.5px; }
p { color:#d3dae4; font-size:15px; line-height:1.6; overflow-wrap:anywhere; }
.recovery-steps { display:flex; gap:12px; list-style:none; margin:0; padding:0; }
.recovery-steps li { flex:1; font-size:12px; color:#c1c9d5; display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; }
.recovery-steps span { display:grid; place-items:center; width:30px; height:30px; border:1px solid #68768a; border-radius:50%; font-weight:650; }
.recovery-steps [aria-current="step"] { color:#a4ceff; }
.recovery-steps [aria-current="step"] span { background:#146ac9; border-color:#79b9ff; color:white; }
form { display:flex; flex-direction:column; gap:10px; margin-top:24px; }
label { font-size:14px; font-weight:600; }
input:not([type="hidden"]) { width:100%; min-height:48px; border-radius:11px; border:1px solid #7d8b9e; background:#1c2025; color:#fff; padding:12px 14px; font:inherit; margin-bottom:8px; }
input:focus-visible,button:focus-visible,a:focus-visible { outline:3px solid #96c9ff; outline-offset:3px; }
button,.primary-link { width:100%; min-height:48px; padding:12px 16px; border:1px solid #57a4ff; border-radius:12px; background:#0d6dd8; color:#fff; font:inherit; font-weight:600; text-align:center; cursor:pointer; text-decoration:none; display:block; }
button:hover,.primary-link:hover { background:#1679e8; }
button span { float:right; }
button.secondary { background:#343b45; border-color:#738094; color:#eaf2ff; }
.secondary-link,.back-link { display:block; text-align:center; font-size:14px; margin-top:22px; }
.primary-link { margin-top:26px; }
.resend-form { margin-top:16px; }
small { font-size:13px; color:#c5d0de; line-height:1.5; }
.recovery-error { padding:13px 15px; margin:18px 0; border:1px solid #fc8490; border-radius:10px; background:#552e37; color:#ffe6e9; font-size:14px; line-height:1.5; }
.recovery-address { font-weight:650; color:#f0f5ff; }
input.code-field { font-size:28px; font-variant-numeric:tabular-nums; letter-spacing:.4em; text-align:center; }
@media(max-width:480px) { body.password-recovery { align-items:flex-start; padding:16px 12px; } .recovery-card { padding:26px 22px; border-radius:18px; } h1 { font-size:24px; } }
