/* ============================================================
   LOGIN.CSS — Page de connexion
   ============================================================ */

body.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg);
}

.login-container {
  width: 100%;
  max-width: 380px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Brand ── */
.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.login-logo {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #fff;
}
.login-title {
  font-size: 16px; font-weight: 700;
  color: var(--text-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Card ── */
.login-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-header { display: flex; flex-direction: column; gap: 4px; }
.login-card-title {
  font-size: 18px; font-weight: 700;
  color: var(--text-bright);
}
.login-card-subtitle {
  font-size: 12px; color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ── Erreur ── */
.login-error {
  background: rgba(255,107,107,0.08);
  border: 1px solid rgba(255,107,107,0.2);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 12px;
  color: #ff6b6b;
  font-family: var(--font-mono);
}

/* ── Footer ── */
.login-footer {
  text-align: center;
  font-size: 11px;
  font-family: var(--font-mono);
}
.login-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.login-footer a:hover { color: var(--accent); }