/* Alchimie — Rendez-vous : connexion des clients (Mon espace et formulaire de rendez-vous). */
.aea-cx-form { position: relative; }
.aea-cx-form p, .aea-login-gate p, .aea-who { text-align: left; } /* le thème justifie les paragraphes */
.aea-cx-title { margin: 0 0 18px; font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
.aea-cx-note { margin-bottom: 18px; }
.aea-cx-small { margin-top: 10px; font-size: .86rem; color: var(--muted); }
.aea-cx-actions { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; }
.aea-cx-switch { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.aea-cx-link, .aea-cx-show {
  padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--gold-deep); font: inherit; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px;
}
.aea-cx-link:disabled { opacity: .5; cursor: default; }
.aea-cx-form .btn { margin-top: 4px; }
.aea-cx-code { font-size: 1.6rem !important; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; }
.aea-cx-pw-row { display: flex; align-items: center; gap: 12px; }
.aea-cx-pw-row input { flex: 1; min-width: 0; }
.aea-cx-show { flex: none; font-size: .82rem; }
.form-alert.info { background: var(--mauve-mist); color: var(--mauve-deep); }

/* Formulaire de rendez-vous : connexion d'abord, puis les champs (préremplis). */
.aea-needs-login > :not(.booking-panel-heading):not(.aea-login-gate) { display: none !important; }
.aea-login-gate { margin-bottom: 8px; }
.aea-login-gate-intro { margin-bottom: 22px; color: var(--ink-soft); }
.aea-who { margin: 0 0 24px; padding: 12px 16px; border-radius: 12px; background: var(--mauve-mist); font-size: .92rem; color: var(--ink-soft); }
.aea-who a { color: var(--gold-deep); }
/* Dans « Mon espace » : coordonnées et naissance déjà connues (gardées dans le formulaire, mais cachées). */
.form-grid.aea-known { display: none !important; }
fieldset.aea-known > :not(legend):not(.aea-known-summary) { display: none !important; }
.aea-known-summary { margin: 4px 0 0; color: var(--ink-soft); }
.aea-known-summary a { color: var(--gold-deep); }
input.aea-readonly { opacity: .7; }

@media (max-width: 640px) {
  .aea-cx-form .btn { width: 100%; }
}

/* Rappel « vérifiez vos courriels indésirables » : bien visible, en rouge (demande de Patrick, 2026-10-31). */
.aea-spam { display: block; margin: 14px 0 0; padding: 12px 14px; border-left: 4px solid #B3261E; border-radius: 6px;
  background: #FDECEA; color: #8C1D18; font-size: .95rem; font-weight: 600; line-height: 1.5; text-align: left; }
.form-alert .aea-spam, .booking-feedback .aea-spam { margin-top: 10px; }

/* Les boutons respirent : au moins 28 px au-dessus d'eux, dans la connexion et dans Mon espace (demande de Patrick, 2026-10-31). */
.aea-cx-form .btn, .aea-cx-form button[type="submit"] { margin-top: 28px; }
#aea-espace .aea-es-main form .btn, #aea-espace .aea-es-main form button[type="submit"],
#aea-espace .aea-es-card > .btn, #aea-espace .aea-es-card > p > .btn { margin-top: 28px; }
#aea-espace .aea-es-card > .aea-es-rdv-actions { margin-top: 28px; }
