/* SOMNIA — styles des pages d'authentification */
:root {
  --bg: #060810;
  --panel: #0c1018;
  --cyan: #00e5ff;
  --red: #c41e2a;
  --text: #e8eef5;
  --mute: #8a97a8;
  --border: rgba(0,229,255,0.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.auth {
  width: 100%;
  max-width: 420px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}
.auth__logo {
  font-family: "Space Mono", monospace;
  letter-spacing: 0.15em;
  color: var(--red);
  text-align: center;
  text-shadow: 0 0 24px rgba(196,30,42,0.4);
  font-size: 2rem;
}
.auth__sub { text-align: center; color: var(--mute); margin: 0.4rem 0 1.8rem; font-style: italic; }
.auth__form { display: flex; flex-direction: column; gap: 1rem; }
.auth__form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.85rem; color: var(--mute); }
.auth__form input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: var(--text);
  font-size: 1rem;
}
.auth__form input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(0,229,255,0.15); }
.auth__btn {
  margin-top: 0.5rem;
  background: var(--cyan);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 0.85rem;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.auth__btn:hover { box-shadow: 0 0 24px rgba(0,229,255,0.5); transform: translateY(-1px); }
.auth__erreurs {
  background: rgba(196,30,42,0.12);
  border: 1px solid var(--red);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}
.auth__erreurs ul { list-style: none; }
.auth__erreurs li::before { content: "⚠ "; color: var(--red); }
.auth__lien { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; color: var(--mute); }
.auth__lien a { color: var(--cyan); text-decoration: none; }
.auth__lien a:hover { text-decoration: underline; }
