/* Phase D6.3-A2 — Récupération sécurisée du compte ("mot de passe oublié").
   Additif uniquement : réutilise les variables de charte définies dans
   styles.css (--gold, --success, --danger, --accent) et security-center.css
   (--sc-*). Ne modifie jamais les blocs :root existants. */

.account-recovery-link {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--itc-text-secondary, #aaa);
  font-size: 0.82rem;
  margin-top: 4px;
  margin-bottom: 4px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.account-recovery-link:hover,
.account-recovery-link:focus-visible {
  color: var(--gold, #d4af37);
}

.account-recovery-box .account-recovery-copy {
  color: #bbb;
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 18px;
}

.account-recovery-feedback {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  line-height: 1.5;
  border-left: 4px solid var(--accent, #2196f3);
  background: rgba(33, 150, 243, 0.1);
  color: #e6e6e6;
}

.account-recovery-feedback.is-success {
  border-left-color: var(--success, #00c851);
  background: rgba(0, 200, 81, 0.12);
}

.account-recovery-feedback.is-error {
  border-left-color: var(--danger, #ff4444);
  background: rgba(255, 68, 68, 0.12);
}

.account-recovery-back-link {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: transparent;
  border: none;
  color: #888;
  font-size: 0.8rem;
  margin-top: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.account-recovery-back-link:hover,
.account-recovery-back-link:focus-visible {
  color: var(--gold, #d4af37);
}

/* ── Page autonome public/reset-password.html ─────────────────────────── */

.reset-password-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--itc-navy-950, #0C183F);
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
}

.reset-password-page .login-box {
  text-align: left;
}

.reset-password-page .reset-password-brand {
  display: block;
  text-align: center;
  color: var(--gold, #d4af37);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.reset-password-strength {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  color: #888;
}

.reset-password-strength li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reset-password-strength li i {
  width: 14px;
  color: #555;
}

.reset-password-strength li.is-met {
  color: var(--success, #00c851);
}

.reset-password-strength li.is-met i {
  color: var(--success, #00c851);
}

.reset-password-page .btn-gold:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.reset-password-success-actions {
  margin-top: 18px;
  text-align: center;
}

.reset-password-success-actions a {
  color: var(--gold, #d4af37);
  font-weight: 700;
  text-decoration: none;
}

.reset-password-success-actions a:hover {
  text-decoration: underline;
}
