/* ============================================================
   AUTH — login, register, reset-password
   Chargé uniquement sur les pages d'authentification
   ============================================================ */

.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(180deg, rgba(18,32,58,.92), rgba(8,18,36,.95));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 28px;
  padding: 36px 32px;
  box-shadow: 0 24px 70px rgba(0,0,0,.4);
  backdrop-filter: blur(14px);
}

.auth-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

.auth-title {
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 6px;
}

.auth-sub {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 28px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
  color: var(--muted);
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-footer {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}

.auth-footer a { color: var(--blue); }
.auth-footer a:hover { text-decoration: underline; }

.auth-feedback {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  display: none;
}

.auth-feedback.show { display: block; }
.auth-feedback.ok   { border: 1px solid rgba(57,217,138,.28); background: rgba(57,217,138,.10); color: #9dffd4; }
.auth-feedback.err  { border: 1px solid rgba(255,107,107,.28); background: rgba(255,107,107,.10); color: #ffb8b8; }
