/* ==========================================================================
   Forgot / reset password pages: same quiet look as sign-in. Loaded after each page's own <style>.
   Works in dark and light (theme is read from localStorage 'efile_theme', like the other pages).
   ========================================================================== */
:root { --bg: #1a1a1a; --surface-2: #2a2a2a; --text: #ffffff; --muted: #b0b0b0; --border: rgba(240,140,0,.2); --orange: #f08c00; --ac-input: #0f0f0f; }
[data-theme="light"] { --bg: #f4f4f4; --surface-2: #ffffff; --text: #1a1a1a; --muted: #666666; --border: rgba(240,140,0,.22); --ac-input: #ffffff; }
html, body { font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
html, body { background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #1f1f1f 100%); background-attachment: fixed; }
[data-theme="light"] html, [data-theme="light"] body { background: linear-gradient(135deg, #eaeaea 0%, #f4f4f4 60%, #efefef 100%); }

.bg-orb { display: none !important; }
.fp-card, .rp-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; box-shadow: none; animation: none; padding: 2.25rem 2rem; }
.fp-logo, .rp-logo { text-align: left; margin-bottom: 1.5rem; }
.fp-logo .brand, .rp-logo .brand { font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em; }
.fp-logo .sub, .rp-logo .sub { display: none; }
.fp-icon, .rp-icon { margin: 0 0 1rem; width: 44px; height: 44px; border-radius: 10px; background: transparent; border: 1px solid var(--border); font-size: 1.1rem; }
h1 { text-align: left; font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
.fp-subtitle, .rp-subtitle { text-align: left; color: var(--muted); }
.form-label { color: var(--text); font-weight: 600; font-size: .9rem; }
.input-wrap input { background: var(--ac-input); border: 1px solid var(--border); color: var(--text); }
.input-wrap input:focus { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(240,140,0,.25); }
.btn-submit { background: var(--orange); color: #111; font-weight: 700; box-shadow: none; text-transform: none; letter-spacing: 0; }
.btn-submit:hover { background: #ffab40; }
.btn-submit:disabled { background: var(--border); color: var(--muted); }
.back-link { text-align: left; color: var(--muted); }
.alert-success { color: #28a745; } .alert-error { color: #dc3545; } .alert-warning { color: #b98300; }
[data-theme="light"] .alert-success { color: #1e7e34; } [data-theme="light"] .alert-error { color: #b02a37; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.strength-bar { background: var(--border); }
button, input { font-family: inherit; }
