:root { --rouge: #c00000; --vert: #1a7a3a; --texte: #333; --doux: #777; --fond: #f6f5f3; }
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--fond); color: var(--texte);
}
.carte {
  background: #fff; width: 100%; max-width: 440px; border-top: 5px solid var(--rouge); border-radius: 6px;
  box-shadow: 0 2px 18px rgba(0,0,0,.08); padding: 32px 28px 24px;
}
.marque { font-weight: 700; letter-spacing: .14em; color: var(--rouge); font-size: 14px; text-align: center; }
.marque span { color: var(--texte); font-weight: 400; letter-spacing: .06em; }
h1 { font-size: 21px; text-align: center; margin: 14px 0 2px; }
.sous-titre { text-align: center; color: var(--doux); font-size: 14px; margin: 0 0 20px; }
label { display: block; font-size: 14px; margin-bottom: 14px; }
input[type=email], input[type=password], input[type=text] {
  display: block; width: 100%; margin-top: 5px; padding: 11px 12px; font-size: 16px;
  border: 1px solid #ccc; border-radius: 5px;
}
input:focus { outline: 2px solid var(--rouge); border-color: transparent; }
button {
  width: 100%; padding: 13px; font-size: 16px; font-weight: 600; color: #fff; background: var(--rouge);
  border: 0; border-radius: 5px; cursor: pointer;
}
button.vert { background: var(--vert); }
button.lien { width: auto; padding: 0; background: none; color: var(--doux); font-weight: 400; font-size: 13px; text-decoration: underline; }
.flash { padding: 10px 12px; border-radius: 5px; font-size: 14px; }
.flash.err { background: #fdecea; color: #a00000; }
.flash.ok { background: #e8f5ec; color: var(--vert); }
.flash.info { background: #eef3fb; color: #2a4d7a; }
.etat { text-align: center; font-weight: 700; padding: 16px; border-radius: 6px; margin-bottom: 18px; }
.etat.vert { background: #e8f5ec; color: var(--vert); }
.etat.rouge { background: #fdecea; color: #a00000; }
.case { display: flex; gap: 8px; align-items: center; }
.aide { font-size: 13px; color: var(--doux); margin: 14px 0; }
details { font-size: 13px; margin: 10px 0 16px; }
pre { font-size: 11px; background: var(--fond); padding: 8px; overflow-x: auto; white-space: pre; }
.deco { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--doux); border-top: 1px solid #eee; padding-top: 12px; }
