/* =========================================================
   Page de connexion (login.php).
   Réutilise les variables de couleur de base.css.
   ========================================================= */

.auth-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 18px;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  padding: 36px 30px 32px;
  text-align: center;
}

.auth-brand {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.auth-title {
  font-family: var(--display);
  font-size: 1.7rem;
  margin: 18px 0 4px;
}

.auth-sub {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-error {
  background: rgba(255, 70, 85, 0.12);
  border: 1px solid var(--accent);
  color: #ffd7db;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

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

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-field span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.auth-field input {
  font: inherit;
  color: var(--text);
  background: var(--bg-accent);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.auth-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 70, 85, 0.18);
}

.auth-submit {
  margin-top: 6px;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 13px 20px;
  cursor: pointer;
  transition: transform 0.18s, filter 0.18s;
}
.auth-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.auth-footer {
  color: var(--muted);
  font-size: 0.85rem;
}
