/* =====================================================================
   login.css – the home page (index.html)
   It is a private page: only the "Accès réservé" line and the login card.
   1. Page background   2. Centered layout   3. Login card
   ===================================================================== */

/* ---------- 1. Page background: the blue data tunnel, very dark ---------- */
.page-login {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(5, 8, 13, 0.55), rgba(5, 8, 13, 0.92) 100%),
    url('../img/hero-tunnel.webp') center / cover no-repeat,
    var(--color-bg);
}

/* ---------- 2. Centered column: the line + the card ---------- */
.login-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 32px 16px;
}
.login-page__eyebrow {
  margin: 0;
  text-align: center;
}

/* ---------- 3. Login card ---------- */
.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 28px 20px;
}
.auth-card:focus { outline: none; }

.auth-card__head { margin-bottom: 20px; text-align: center; }
.auth-card__logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 34px rgba(30, 155, 224, 0.45);
}
.auth-card__title {
  margin-bottom: 4px;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.auth-card__subtitle { margin: 0; font-size: 0.92rem; }

.auth-form__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 20px;
}
.auth-form__row .btn--link { font-size: 0.88rem; }

.auth-form__switch {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

@media (min-width: 640px) {
  .auth-card { padding: 36px 32px; }
}
