/* ============================================================
   MOT DE PASSE OUBLIÉ / RÉINITIALISATION (password_reset.php,
   reset_password.php) — pages autonomes, sans includes/menu.php.
   Se charge après menu2.css (tokens + polices). Anciennement deux
   <style> inline identiques (thème clair), fusionnés ici en thème
   sombre cobalt.
   ============================================================ */

body { background: var(--ink); font-family: var(--body); color: var(--paper); display: flex; justify-content: center; align-items: center; min-height: 100vh; margin: 0; }
.container {
  background: var(--panel); border: 1px solid var(--line); padding: 30px; border-radius: 16px;
  width: 100%; max-width: 400px; box-shadow: 0 20px 50px rgba(0,0,0,0.35); box-sizing: border-box;
}
h2 { text-align: center; color: var(--paper); font-family: var(--display); font-weight: 700; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
input, select {
  width: 100%; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel-2); color: var(--paper); font-family: var(--body); font-size: 14px; box-sizing: border-box;
}
input:focus, select:focus { outline: none; border-color: var(--cobalt); }
button {
  background: var(--cobalt); color: #fff; border: none; padding: 11px 15px; border-radius: 10px;
  cursor: pointer; width: 100%; font-size: 15px; font-family: var(--body); font-weight: 600; transition: background 0.18s ease;
}
button:hover { background: var(--cobalt-deep); }
.message { padding: 12px 14px; margin-bottom: 16px; border-radius: 10px; text-align: center; font-size: 13.5px; }
.success { background: rgba(66,192,122,0.12); color: var(--green); }
.error { background: rgba(229,84,91,0.12); color: var(--red); }
.back-link { text-align: center; margin-top: 15px; }
.back-link a { color: var(--cobalt-lite); text-decoration: none; }
.back-link a:hover { text-decoration: underline; }
p[style*="text-align: center"] { color: var(--muted) !important; }
p[style*="text-align: center"] b { color: var(--paper); }
