/* Inscription et connexion, dans la charte SacSecours. */
.auth-wrap-register { max-width: 1120px; grid-template-columns: .85fr 1.15fr; }
.auth-card h2 { padding-right: 38px; line-height: 1.15; }
.auth-card-zone { min-width: 0; }
.auth-eyebrow { margin-top: 65px; color: var(--brand); font-size: .69rem; letter-spacing: .16em; font-weight: 800; }
.auth-side .auth-hero { margin-top: 18px; line-height: 1.15; }
.auth-side .brand { text-decoration: none; color: var(--text); }
.auth-promise { margin-top: auto; padding-top: 54px; }
.auth-promise p { color: var(--text-dim); font-size: .82rem; line-height: 1.65; margin-top: 14px; }
.google-button { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 11px 16px; background: #fff; color: #1f1f1f; border: 1px solid #747775; border-radius: 10px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.google-button:hover:not(:disabled) { background: #f2f5fa; }
.google-button:disabled { cursor: not-allowed; opacity: .5; }
.auth-card button:disabled { cursor: wait; opacity: .6; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--text-dim); font-size: .76rem; margin: 22px 0; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; background: var(--border); flex: 1; }
.auth-error:empty { display: none; }
.auth-error:not(:empty) { margin: 14px 0; padding: 12px; border: 1px solid var(--red); border-radius: 9px; }
.auth-steps { display: flex; list-style: none; padding: 0; gap: 24px; margin: 0 0 22px; font-size: .79rem; color: var(--text-dim); }
.auth-steps li { display: flex; gap: 8px; align-items: center; }
.auth-steps li span { border: 1px solid var(--border); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.auth-steps .is-current { color: var(--brand); font-weight: 700; }
.auth-steps .is-current span { border-color: var(--brand); }
.auth-card fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-grid > * { min-width: 0; }
.auth-grid-address { grid-template-columns: .65fr 1.35fr; }
.auth-note { border: 1px solid var(--border); background: var(--panel-2); border-radius: 10px; padding: 13px 15px; margin: 0 0 18px; color: var(--text-dim); font-size: .81rem; line-height: 1.6; overflow-wrap: anywhere; }
.auth-note strong { color: var(--text); }
.auth-actions { display: flex; gap: 12px; }
.auth-actions .btn-primary { flex: 1; }
.auth-hint { color: var(--text-dim); font-size: .74rem; line-height: 1.5; margin: 8px 0 0; }
.auth-footer { color: var(--text-dim); font-size: .8rem; margin-top: 24px; text-align: center; }
.auth-footer a, .auth-text-button { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.auth-text-button { display: block; background: none; border: 0; padding: 0; font: inherit; font-size: .8rem; cursor: pointer; margin: 16px auto 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
@media (max-width: 860px) {
  .auth-wrap-register { grid-template-columns: 1fr; max-width: 560px; }
  .auth-wrap-register .auth-side { display: none; }
}
@media (max-width: 480px) {
  .auth-body { padding: 12px; }
  .auth-card-zone { padding: 32px 20px; }
  .auth-grid { grid-template-columns: 1fr; gap: 0; }
  .auth-grid-address { grid-template-columns: .7fr 1.3fr; gap: 12px; }
  .auth-steps { gap: 14px; }
}

/* Mot de passe : afficher/masquer, oubli, majuscules */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 52px; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 0; border-radius: 10px; color: var(--text-dim); cursor: pointer; }
.pw-toggle:hover { color: var(--text); background: var(--panel-2); }
.pw-toggle svg { width: 19px; height: 19px; }
.pw-caps { color: var(--orange); font-weight: 700; margin: 0; }
.auth-forgot { text-align: right; margin: -6px 0 16px; font-size: .82rem; }
.auth-forgot a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 6px 0; }
input[aria-invalid="true"] { border-color: var(--red); }
.auth-error:not(:empty) { background: var(--red-bg); font-weight: 600; }
.auth-card input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px var(--input) inset; -webkit-text-fill-color: var(--text); }
.google-button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
@media (max-width: 480px) { .auth-card h2 { font-size: 1.45rem; } .auth-actions { flex-direction: column-reverse; } .auth-actions .btn { width: 100%; } }
