body {
  background-color: #0f172a;
  color: #f8fafc;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.auth-card {
  max-width: 450px;
  width: 100%;
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.auth-card .form-control {
  background-color: #0f172a;
  border: 1px solid #334155;
  color: #f8fafc;
}

.auth-card .form-control:focus {
  background-color: #0f172a;
  border-color: #3b82f6;
  color: #f8fafc;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.auth-card a {
  color: #60a5fa;
  text-decoration: none;
}

.auth-card a:hover {
  text-decoration: underline;
}

/* --- Aggiunte per uniformare e migliorare l'UI (reset-password.html e pagine di Auth) --- */

/* Colore segnaposto chiaro per l'input "Almeno 8 caratteri" */
.auth-card .form-control::placeholder {
  color: #64748b;
  opacity: 1;
}

/* Pulsante principale coordinato con il tema Dark */
.auth-card .btn-primary {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  padding: 0.6rem 1rem;
  transition: all 0.2s ease-in-out;
}

.auth-card .btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

/* Personalizzazione dell'icona in alto */
.auth-card .bi-shield-lock-fill {
  color: #3b82f6 !important;
}