/* sso.croix-blanche02.fr — mêmes couleurs que le site de l'association */
:root {
  --navy-900: #061a3a; --navy: #0b2c63; --red: #d7141f; --red-600: #b50f18;
  --ink: #0f172a; --text: #334155; --muted: #64748b; --line: #e2e8f0; --bg: #f6f8fc;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 32px 16px; font-family: var(--font); color: var(--text); line-height: 1.55;
  background: radial-gradient(1000px 420px at 85% -10%, rgb(31 91 184 / .45), transparent 60%), var(--navy-900);
}
.carte {
  position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 20px;
  padding: 40px 32px 32px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .45); overflow: hidden;
}
.tricolore { position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--navy) 0 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%); }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-bottom: 26px; }
.marque img { width: 52px; height: 52px; border-radius: 50%; }
.marque strong { display: block; font-size: 1.02rem; }
.marque small { display: block; color: var(--muted); font-size: .85rem; }
h1 { margin: 0 0 4px; color: var(--ink); font-size: 1.6rem; line-height: 1.2; }
.intro { margin: 0 0 20px; color: var(--muted); }
.intro strong { color: var(--navy); }
.discret { color: var(--muted); font-size: .92rem; }
label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin: 14px 0 6px; }
input {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
input:focus { outline: 3px solid rgb(11 44 99 / .2); border-color: var(--navy); }
.code { font-size: 1.4rem; letter-spacing: .3em; text-align: center; font-family: Consolas, "Courier New", monospace; }
.bouton {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin-top: 22px;
  padding: 12px 20px; border: 2px solid var(--red); border-radius: 999px; background: var(--red); color: #fff;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.bouton:hover { background: var(--red-600); border-color: var(--red-600); }
.bouton:disabled { opacity: .65; cursor: wait; }
.bouton--clair { background: transparent; color: var(--navy); border-color: var(--line); margin-top: 12px; }
.bouton--clair:hover { background: var(--bg); border-color: var(--line); }
form { margin: 0; }
.liens { margin: 16px 0 0; text-align: center; font-size: .9rem; }
.liens a, .lien { color: var(--navy); font-weight: 600; }
.lien { background: none; border: 0; padding: 4px; font: inherit; font-size: .9rem; text-decoration: underline; cursor: pointer; }
.statut { margin: 0 0 6px; padding: 12px 14px; border-radius: 12px; font-size: .93rem; background: #fdecee; color: var(--red-600); }
.statut--ok { background: #e8f7ee; color: #116b3a; }
.statut--info { background: #eef3fb; color: var(--navy); }
.pied { margin: 0; color: rgb(255 255 255 / .7); font-size: .85rem; text-align: center; }
.pied a { color: #fff; }
[hidden] { display: none !important; }
@media (max-width: 420px) { .carte { padding: 34px 20px 24px; } }
.aide { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.case { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--text); margin-top: 18px; }
.case input { width: auto; min-height: 0; margin-top: 3px; }
