/* ═══════════════════════════════════════════════════════════════
   inscription.css — Styles spécifiques à la page d'inscription
   Chargé après global.css
═══════════════════════════════════════════════════════════════ */

body { min-height: 100vh; }

/* ── EN-TÊTE ── */
.header { padding: 24px 20px 48px; }

.header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.plan-pill {
  margin-left: auto;
  background: rgba(255,255,255,0.22);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
}

/* ── CONTENU ── */
.form-wrap {
  max-width: 480px;
  margin: -28px auto 0;
  padding: 0 16px 60px;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.form-title { font-family: var(--font-display); font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.form-sub   { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

/* Mobile-first : 1 colonne par défaut, 2 au-delà de 480px */
.form-row { display: grid; grid-template-columns: 1fr; gap: 12px; }

/* ── FORCE MOT DE PASSE ── */
.pwd-strength { margin-top: 8px; display: none; }
.pwd-strength.show { display: block; }

.pwd-bars { display: flex; gap: 4px; margin-bottom: 5px; }
.pwd-bar  { flex: 1; height: 4px; border-radius: 4px; background: var(--border); transition: background 0.3s; }
.pwd-bar.weak   { background: var(--red); }
.pwd-bar.medium { background: var(--yellow); }
.pwd-bar.strong { background: var(--green); }
.pwd-label { font-size: 11px; color: var(--muted); }

/* ── CGU ── */
.check-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.check-input { width: 18px; height: 18px; cursor: pointer; flex-shrink: 0; margin-top: 2px; accent-color: var(--orange); }
.check-label { font-size: 13px; color: var(--muted); line-height: 1.5; }
.check-label a { color: var(--orange); text-decoration: none; font-weight: 600; }

/* ── LIEN CONNEXION ── */
.login-link { text-align: center; margin-top: 20px; font-size: 14px; color: var(--muted); }
.login-link a { color: var(--orange); font-weight: 700; text-decoration: none; }
.login-link a:hover { text-decoration: underline; }

/* ── ÉCRAN DE SUCCÈS ── */
.success-card  { text-align: center; padding: 32px 24px; display: none; }
.success-icon  { font-size: 56px; margin-bottom: 16px; }
.success-title { font-family: var(--font-display); font-size: 24px; font-weight: 900; color: var(--green); margin-bottom: 8px; }
.success-sub   { font-size: 15px; color: var(--muted); margin-bottom: 24px; line-height: 1.6; }
.success-btn   {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: white;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255,107,44,0.35);
}

@media (min-width: 481px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
