/* ==========================================================================
   DocSPACE — pages d'authentification (connexion, mot de passe oublié, réinitialisation)
   Même grammaire que le produit : panneau de marque aux couleurs de la sidebar + carte de formulaire.
   ========================================================================== */

.auth-body {
  background: var(--app-background);
}

.auth-shell {
  display: flex;
  min-height: 100vh;
}

.auth-aside {
  position: relative;
  flex: 0 0 42%;
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 3rem;
  color: var(--theme-sidebar-text);
  background:
    radial-gradient(circle at 85% 10%, rgba(var(--theme-sidebar-active-rgb), .35), transparent 45%),
    radial-gradient(circle at 10% 95%, rgba(var(--theme-secondary-rgb), .22), transparent 40%),
    var(--theme-sidebar);
  overflow: hidden;
}

.auth-aside .brand {
  color: #fff;
}

.auth-aside .brand-tagline {
  color: var(--theme-sidebar-text);
}

.auth-aside-title {
  font-family: var(--app-font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: #fff;
  margin-bottom: 1rem;
}

.auth-aside-title span {
  color: var(--theme-secondary);
}

.auth-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: .75rem;
}

.auth-points li {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.auth-points i {
  color: #4ade80;
}

.auth-main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
}

.auth-panel {
  width: 100%;
  max-width: 26.5rem;
}

.auth-card {
  padding: 2rem;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .375rem;
}

.auth-mobile-brand {
  display: none;
}

@media (max-width: 991.98px) {
  .auth-aside {
    display: none;
  }

  .auth-mobile-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .auth-mobile-brand .brand {
    color: var(--app-heading);
  }
}

@media (max-width: 575.98px) {
  .auth-card {
    padding: 1.5rem 1.25rem;
  }
}

/* Inscription : indicateur d'étapes (lot 20) */
.auth-steps {
  list-style: none;
  display: flex;
  gap: .5rem;
  padding: 0;
  margin: 0 0 1.5rem;
}

.auth-steps li {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-bottom: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--bs-secondary-color);
  border-bottom: 3px solid var(--bs-border-color);
}

.auth-steps li span {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  font-size: .75rem;
  background: var(--bs-tertiary-bg);
}

.auth-steps li.is-active,
.auth-steps li.is-done {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.auth-steps li.is-active span,
.auth-steps li.is-done span {
  color: #fff;
  background: var(--bs-primary);
}

/* Code de vérification : chiffres espacés, centrés */
.otp-input {
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: .5em;
  padding-left: calc(1rem + .5em);
}
