/* Styles des pages Connexion et Choisir mon mot de passe */

body { display: flex; justify-content: center; align-items: flex-start; min-height: 100vh; padding: 48px 16px; }

.carte-compte {
  width: 100%;
  max-width: 400px;
  background: var(--carte);
  border: 1px solid var(--bordure);
  border-radius: 16px;
  padding: 28px 24px;
}
.marque { margin: 0 0 18px; color: var(--accent); font-weight: 700; font-size: 14px; }
.carte-compte h1 { margin-bottom: 18px; }
.texte { color: var(--texte-doux); margin: -8px 0 16px; line-height: 1.5; }

label { display: block; font-size: 13px; color: var(--texte-doux); margin: 14px 0 4px; }
input[type="email"], input[type="password"], input[type="text"] {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid var(--bordure);
  border-radius: 10px;
  background: var(--carte);
  color: var(--texte);
  font-family: inherit;
}
input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }

.mdp-zone { position: relative; }
.mdp-zone input { padding-right: 84px; }
.afficher {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--accent);
  font: inherit;
  font-size: 14px;
  padding: 6px 8px;
  cursor: pointer;
}

.ligne-options { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.case { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--texte); font-size: 14px; cursor: pointer; }
.case input { width: 18px; height: 18px; margin: 0; }

.bouton {
  width: 100%;
  margin-top: 20px;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  background: var(--accent);
  color: #fff;
}
.lien { background: none; border: none; color: var(--accent); font: inherit; font-size: 14px; cursor: pointer; padding: 4px 0; }
.lien.centre { display: block; margin: 14px auto 0; }

.alerte { border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.45; margin-bottom: 4px; }
.alerte.erreur { background: var(--rouge-fond); color: var(--rouge-texte); }
.alerte.succes { background: var(--vert-fond); color: var(--vert-texte); }
.alerte a { color: inherit; font-weight: 600; }

.regles { list-style: none; padding: 0; margin: 10px 0 0; font-size: 13px; color: var(--texte-doux); }
.regles li::before { content: "○ "; }
.regles li.ok { color: var(--vert-texte); }
.regles li.ok::before { content: "● "; }

.note-maquette { margin: 22px 0 0; font-size: 12px; color: var(--texte-doux); line-height: 1.5; border-top: 1px dashed var(--bordure); padding-top: 12px; }
