/* Page de connexion de la console (16/10/2026) : vert néon sur noir, comme la console. */
:root {
  color-scheme: dark;
  --fond: #07100b;
  --carte: rgba(12, 20, 15, 0.86);
  --accent: #5fef8f;
  --sur-accent: #04170b;
  --bord: rgba(255, 255, 255, 0.09);
  --texte: #f2fff6;
  --doux: rgba(242, 255, 246, 0.72);
  --tres-doux: rgba(242, 255, 246, 0.56);
  --erreur: #ff8a9a;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; background: var(--fond); color: var(--texte);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; position: relative; overflow-x: hidden; }
body::before, body::after { content: ""; position: fixed; border-radius: 50%; filter: blur(110px); opacity: 0.35; pointer-events: none; }
body::before { width: 460px; height: 460px; background: #1f8f4c; top: -200px; left: -160px; }
body::after { width: 420px; height: 420px; background: #0e5b6b; bottom: -200px; right: -140px; }

.carte { position: relative; width: 100%; max-width: 400px; padding: 32px 28px 26px; border: 1px solid var(--bord);
  border-radius: 18px; background: var(--carte); backdrop-filter: blur(24px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.marque { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--sur-accent);
  background: var(--accent); box-shadow: 0 0 28px rgba(95, 239, 143, 0.45); }
.logo svg { width: 26px; height: 26px; }
.marque-texte { font-size: 21px; font-weight: 800; letter-spacing: 0.2px; line-height: 1; }
.marque-texte small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); margin-top: 5px; }

h1 { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.sous { font-size: 13px; color: var(--doux); margin: 0 0 22px; line-height: 1.5; }
label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1.1px; color: var(--tres-doux); margin: 0 0 7px; }
.champ { margin-bottom: 15px; position: relative; }
input { width: 100%; padding: 12px 13px; border-radius: 10px; border: 1px solid var(--bord); background: rgba(255, 255, 255, 0.04);
  color: var(--texte); font: inherit; outline: none; transition: border-color 0.15s, background 0.15s; }
input:focus { border-color: rgba(95, 239, 143, 0.7); background: rgba(255, 255, 255, 0.06); }
input:focus-visible { box-shadow: 0 0 0 3px rgba(95, 239, 143, 0.18); }
.oeil { position: absolute; right: 6px; bottom: 6px; background: none; border: 0; padding: 7px; color: var(--tres-doux); cursor: pointer; border-radius: 8px; line-height: 0; }
.oeil:hover, .oeil:focus-visible { color: var(--texte); background: rgba(255, 255, 255, 0.07); outline: none; }
.oeil svg { width: 18px; height: 18px; }
#captcha-widget { min-height: 65px; }
.indice { font-size: 12.5px; color: var(--erreur); line-height: 1.5; margin-top: 8px; }

button.principal { width: 100%; margin-top: 8px; padding: 13px; border: 0; border-radius: 11px; font: inherit; font-weight: 700; color: var(--sur-accent);
  background: var(--accent); cursor: pointer; box-shadow: 0 8px 26px rgba(95, 239, 143, 0.25); transition: filter 0.15s, transform 0.1s; }
button.principal:hover:not(:disabled) { filter: brightness(1.08); }
button.principal:active:not(:disabled) { transform: translateY(1px); }
button.principal:focus-visible { outline: 3px solid rgba(95, 239, 143, 0.45); outline-offset: 2px; }
button.principal:disabled { opacity: 0.55; cursor: default; box-shadow: none; }
button.secondaire { width: 100%; margin-top: 10px; padding: 11px; border: 1px solid var(--bord); border-radius: 11px; font: inherit; font-size: 13.5px;
  color: var(--doux); background: transparent; cursor: pointer; }
button.secondaire:hover { color: var(--texte); background: rgba(255, 255, 255, 0.05); }

.message { margin-top: 15px; padding: 10px 12px; border-radius: 10px; font-size: 13px; display: none; line-height: 1.5; }
.message.visible { display: block; }
.message.erreur { background: rgba(255, 70, 100, 0.12); border: 1px solid rgba(255, 70, 100, 0.32); color: #ffc2cc; }
.message.info { background: rgba(95, 239, 143, 0.1); border: 1px solid rgba(95, 239, 143, 0.3); color: #c9ffd9; }
.pied { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 11.5px; color: var(--tres-doux); text-align: center; }
@media (max-width: 420px) { .carte { padding: 26px 20px 22px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
