/* connexion.css — la page de connexion de l'atelier en ligne, et celle du
   compte d'administration. À elle seule : elle passe sans session. */
:root { --encre: #1d2330; --fond: #f4f5f7; --accent: #2457c5; --faute: #a32020; }
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; background: var(--fond); color: var(--encre);
  font: 16px/1.5 system-ui, sans-serif;
}
.porte-d-entree {
  width: min(380px, calc(100vw - 32px)); padding: 28px 32px; background: #fff;
  border: 1px solid #d6dae1; border-radius: 10px;
}
h1 { margin: 0 0 18px; font-size: 22px; color: var(--accent); }
form { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
input {
  font: inherit; font-weight: 400; padding: 8px 10px; border: 1px solid #b9c0cb;
  border-radius: 6px;
}
input:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
button {
  font: inherit; font-weight: 600; padding: 9px 12px; border: 0; border-radius: 6px;
  background: var(--accent); color: #fff; cursor: pointer;
}
button:disabled { opacity: .6; cursor: wait; }
#connexion-dit, #mot-de-passe-dit { margin: 0; min-height: 1.5em; color: var(--faute); }
.note.premiere { margin: 0 0 14px; }
label small { font-weight: 400; color: #556070; }
button.lien {
  padding: 0; background: none; color: var(--accent); font-weight: 400;
  text-decoration: underline; font-size: inherit;
}
a { color: var(--accent); }
.note { margin: 16px 0 0; font-size: 14px; color: #556070; }
code { font-size: 14px; }
