/* Page « Mon compte » : reinitialisation du mot de passe et liens envoyes par email. */
body.account { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.acc-card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
            padding: 28px 22px; display: grid; gap: 18px; box-shadow: 0 30px 80px #0000006b; }
.acc-brand { justify-self: center; }
.acc-card h1 { font-size: 28px; }
.acc-card section { display: grid; gap: 14px; }
.center { text-align: center; }
#form { display: grid; gap: 8px; }
#form label { font-weight: 700; font-size: 14px; margin-top: 6px; }
.field { position: relative; }
.field input { width: 100%; min-height: 54px; border-radius: 16px; border: 1px solid var(--line2); background: var(--surface2);
               color: var(--text); font: 600 16px var(--body); padding: 0 52px 0 16px; }
.field input:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px #98FFAE33; }
.eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 12px;
       background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.eye[aria-pressed="true"] { color: var(--mint); }
.eye svg { width: 22px; height: 22px; }
.rules { list-style: none; margin: 4px 0 2px; padding: 0; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.rules li::before { content: "○"; display: inline-block; width: 20px; color: var(--muted); }
.rules li.ok { color: var(--text); }
.rules li.ok::before { content: "✓"; color: var(--mint); font-weight: 700; }
.hint { font-size: 14px; margin: 2px 0 0; }
.hint.ok { color: var(--mint); }
.hint.ko { color: #FFB4A2; }
.error { background: #FF4D5E1f; border: 1px solid #FF4D5E66; color: #FFD3D8; border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.wide { width: 100%; margin-top: 10px; border: 0; cursor: pointer; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.foot-note { text-align: center; font-size: 13px; color: var(--muted); margin: 0; }
.foot-note a { color: var(--muted); }
.spinner { width: 38px; height: 38px; margin: 10px auto 0; border-radius: 50%; border: 3px solid #ffffff1f; border-top-color: var(--mint);
           animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.badge-ok, .badge-bad { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; justify-self: center; }
.badge-ok { background: #98FFAE24; color: var(--mint); animation: pop .35s ease-out; }
.badge-bad { background: #FF8A3D24; color: var(--flame); }
.badge-ok svg, .badge-bad svg { width: 34px; height: 34px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .spinner, .badge-ok { animation: none; } }
