/* Inscription et connexion (QW-13) : erreurs sous le champ concerné, checklist du mot de passe, état de chargement. */
.field-error { display: block; margin: 2px 0 0; padding: 8px 10px; border-left: 3px solid var(--warn, #A9401D); border-radius: 0 8px 8px 0; background: var(--warn-wash, #FAE7DE); color: var(--warn, #A9401D); font-size: 13.5px; font-weight: 650; line-height: 1.45; }
.field-error[hidden] { display: none; }
.field-error .text-switch { margin-left: 4px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.account-card input[aria-invalid="true"] { border-color: var(--warn, #A9401D) !important; box-shadow: 0 0 0 3px rgba(169, 64, 29, .14); }
.account-reassure { margin: 12px 0 0; font-size: 14px; font-weight: 700; color: var(--ink, #102D24); }
@media (max-width: 900px) { .account-page.has-photo .account-photo { display: none; } }
.pw-checklist { display: grid; gap: 4px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: var(--ink-3, #56675E); }
.pw-checklist li[data-ok="true"] { color: #1F6B3A; }
.pw-checklist li[data-ok="false"] { color: var(--ink-3, #56675E); }
#err-acceptTerms { margin: -10px 0 16px; }
#account-submit:disabled { opacity: .7; cursor: progress; }
form[aria-busy="true"] #account-submit::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -2px; animation: nv-spin .7s linear infinite; }
@keyframes nv-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { form[aria-busy="true"] #account-submit::after { animation: none; } }
