/* Pages d'authentification (login, signup, mot de passe oublié, invitation…)
   Styles .su-* extraits des <style> inline de la maquette (login.html / signup.html),
   fusionnés en une seule feuille partagée. Charger APRÈS design-system.css. */

html { background: var(--ds-bg); }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: transparent; color: var(--ds-text); font-family: var(--ds-font-sans); -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }

.su-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 32px; border-bottom: 1px solid var(--ds-line); }
.su-nav--center { justify-content: center; }
.su-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.su-brand img { height: 34px; object-fit: contain; }
.su-brand strong { font-size: 18px; font-weight: 800; color: var(--ds-ink); }
.su-nav .back { color: var(--ds-muted); font-size: 13px; text-decoration: none; }
.su-nav .back:hover { color: var(--ds-brand); }

.su-main { flex: 1; display: grid; place-items: center; padding: 40px 20px; }
.su-card { width: min(460px, 100%); }
.su-card--narrow { width: min(440px, 100%); transform: translateY(-28px); }
.su-head { text-align: center; margin-bottom: 22px; }
.su-head h1 { margin: 10px 0 10px; font-size: 34px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--ds-ink); }
.su-head p { margin: 0; color: var(--ds-muted); font-size: 15px; line-height: 1.5; }
.su-box { padding: 30px; border: 1px solid var(--ds-line); border-radius: var(--ds-radius-xl); background: #fff; box-shadow: var(--ds-shadow-lg); }

.su-offer { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 22px; padding: 12px 14px; border-radius: 12px; background: rgba(6, 194, 112, 0.09); border: 1px solid rgba(6, 194, 112, 0.22); color: #047857; font-size: 13px; line-height: 1.5; }
.su-offer svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }

.su-field { display: block; margin-bottom: 15px; }
.su-field span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--ds-ink); }
.su-submit { width: 100%; margin-top: 6px; }
.su-foot { margin-top: 18px; text-align: center; font-size: 14px; color: var(--ds-muted); }
.su-foot a { color: var(--ds-brand); font-weight: 600; text-decoration: none; }
.su-foot a:hover { text-decoration: underline; }
.su-note { margin-top: 12px; text-align: center; font-size: 11px; color: var(--ds-gray-400); }

/* Messages de statut des formulaires auth (remplace les styles inline posés en JS). */
.su-status { margin: 12px 0 0; font-size: 13px; font-weight: 600; }
.su-status--error { color: #b91c1c; }
.su-status--ok { color: #047857; }
