/* Connexion, inscription, mot de passe : compléments de la carte centrée (qlynk.css) */
.auth-card .form { gap: 18px; }
.auth-card .btn-block { width: 100%; }
.auth-card p { color: var(--ink-2); }
.auth-card p b { color: var(--ink); }
.auth-card .lead { margin-top: -8px; }

.auth-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.auth-label-row .field-label { margin-bottom: 6px; }
.auth-small { font-size: 0.85rem; padding: 6px 0; }

.auth-center { text-align: center; justify-self: center; }

/* Icône ronde au-dessus du titre (états : confirmé, lien invalide, attente) */
.auth-ico {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2); color: var(--ink-2);
}
.auth-ico .ic { width: 24px; height: 24px; }
.auth-ico.ok { background: var(--ok-soft); color: var(--ok); }
.auth-ico.bad { background: var(--danger-soft); color: var(--danger); }
.auth-card .auth-ico + h1 { margin-top: -4px; }

/* Piège anti-robot : hors écran, invisible pour les lecteurs d'écran */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Étapes après l'inscription */
.auth-steps { display: grid; gap: 14px; }
.auth-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; animation: authStep 420ms var(--ease-out) both; }
.auth-steps li:nth-child(2) { animation-delay: 90ms; }
.auth-steps li:nth-child(3) { animation-delay: 180ms; }
.auth-steps .n {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-text);
  font-weight: 800; font-size: 0.9rem;
}
.auth-steps b { display: block; color: var(--ink); }
.auth-steps p { font-size: 0.92rem; margin-top: 2px; }
@keyframes authStep { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Lien discret en forme de bouton (se déconnecter) */
.btn-link {
  min-height: 40px; padding: 0 12px; border: 0; background: none;
  color: var(--ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.btn-link:hover { color: var(--ink); }

.hint { font-size: 0.82rem; color: var(--ink-3); }
.auth-card .check { min-height: 40px; align-items: center; }
.auth-card .check a { text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .auth-steps li { animation: none; }
}
