/* ---------------------------------------------------------------------------
   Le parcours de compte : inscription, connexion, mot de passe oublié.

   Une colonne étroite et centrée, sans rien autour. Ces pages n'ont qu'une
   chose à faire faire, et tout ce qui les entoure détourne de ce geste.
   Servie uniquement sur ces pages — le reste du site n'en a pas besoin.
   --------------------------------------------------------------------------- */

.compte-page {
  max-width: 34rem;
  margin: 0 auto;
}

.compte-card {
  background-color: var(--ldt-surface);
  border: 1px solid var(--border-soft, var(--ldt-border));
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  margin: 1.5rem 0 2.5rem;
}

.compte-card-message {
  text-align: center;
}

.compte-pictogram {
  font-size: 2.6rem;
  line-height: 1;
  margin: 0 0 0.6rem;
}

.compte-title {
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.compte-intro {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ldt-text-muted);
  margin-bottom: 1.4rem;
}

.compte-error {
  background-color: var(--ldt-danger-soft);
  border: 1px solid var(--ldt-danger-border);
  border-radius: 0.7rem;
  color: var(--ldt-danger);
  font-size: 0.92rem;
  line-height: 1.5;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1.25rem;
}

.compte-error a {
  color: var(--ldt-danger);
  font-weight: 600;
}

.compte-field {
  margin-bottom: 1.1rem;
}

.compte-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ldt-text);
  margin-bottom: 0.3rem;
}

.compte-field input {
  width: 100%;
  border: 1px solid var(--ldt-border-strong);
  border-radius: 0.6rem;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  background-color: var(--ldt-surface);
}

.compte-field input:focus {
  outline: 2px solid var(--ldt-primary);
  outline-offset: 1px;
  border-color: var(--ldt-primary);
}

/* L'aide vient sous le champ, et reste lisible : écrite en gris pâle, elle ne
   servirait à personne. */
.compte-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--ldt-text-muted);
  margin-top: 0.3rem;
  line-height: 1.4;
}

.compte-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ldt-text-muted);
  margin-bottom: 1.4rem;
}

.compte-check input {
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.compte-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 0;
}

.compte-forgot {
  font-size: 0.88rem;
  color: var(--ldt-primary);
  text-decoration: none;
}

.compte-forgot:hover {
  text-decoration: underline;
}

.compte-alt {
  margin: 1.5rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-soft, var(--ldt-border));
  font-size: 0.9rem;
  color: var(--ldt-text-muted);
}

.compte-hint-block {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ldt-text-muted);
  margin: 1.25rem 0 0;
}

@media (max-width: 480px) {
  .compte-card {
    padding: 1.35rem 1.1rem;
  }

  .compte-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .compte-actions .btn {
    width: 100%;
  }
}
