/* doc-project | standard/css/auth-gate.css | Définit le style dédié de la passerelle d’authentification du module standard avec overlay plein écran et carte de saisie. | Expose: aucun | Dépend de: standard/js/_authGate.js | Impacte: UI de contrôle d’accès, lisibilité de la passerelle d’authentification | Tables: aucune */

body.standard-auth-locked {
  overflow: hidden;
}

.std-auth {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
}

.std-auth__card {
  width: min(100%, 520px);
  background: #111;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  padding: 28px;
}

.std-auth__title {
  margin: 0 0 10px;
  font-size: 2rem;
  font-weight: 800;
}

.std-auth__subtitle {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.std-auth__field {
  display: grid;
  gap: 8px;
}

.std-auth__label {
  font-weight: 700;
}

.std-auth__input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: #1b1b1b;
  color: #fff;
  padding: 14px 16px;
  font-size: 1.1rem;
}

.std-auth__input:focus {
  outline: none;
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.std-auth__hint {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.std-auth__actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.std-auth__btn {
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  background: #004080;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
}

.std-auth__btn:hover,
.std-auth__btn:focus {
  background: #003366;
}

.std-auth__btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.std-auth__error {
  margin-top: 14px;
  color: #ff9f9f;
  font-weight: 700;
}