/* Shared stylesheet of the standalone auth screens (login + the password-reset flow).
   Mass-adoption plan W7, step 5. These six screens used to carry the same ~15 rules
   inline, in six copies; the copies now live here, once, and are cached by whitenoise
   (manifest storage) and the service worker's /static/ branch. A screen keeps inline
   ONLY what it does differently (it loads after this file, so its override wins at
   equal specificity). These screens are NOT offline-first — the acces family's rule
   ("shared styles stay inline") does not apply here. */
:root { color-scheme: light; }
body { font-family: "Segoe UI", Tahoma, Arial, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; margin: 0; padding: 20px; }
.login { background: white; border-radius: 14px; padding: 36px; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
h1 { color: #1f5f99; margin: 0 0 8px; font-size: 26px; }
.subtitle { color: #666; margin-bottom: 20px; font-size: 14px; }
.alert { background: #fee; border: 1px solid #fcc; color: #c33; padding: 12px; border-radius: 8px; margin-bottom: 18px; font-size: 13px; }
label { display: block; font-weight: 600; margin: 14px 0 6px; color: #333; font-size: 14px; }
.input-wrap { position: relative; }
input { width: 100%; padding: 11px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; box-sizing: border-box; }
input:focus { outline: none; border-color: #1f5f99; box-shadow: 0 0 0 3px rgba(31,95,153,0.15); }
.toggle-btn { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: #f2f4f8; border: none; border-radius: 6px; padding: 6px 8px; font-size: 12px; cursor: pointer; }
button { background: #1f5f99; color: white; border: none; padding: 12px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; width: 100%; margin-top: 20px; }
button:hover { background: #164a7a; }
.links { margin-top: 18px; text-align: center; font-size: 13px; }
.links a { color: #1f5f99; text-decoration: none; }
