/* Contrôle partagé : le bouton reste dans la zone du champ, sans modifier sa largeur. */
.ob-password-control { position:relative; display:block; min-width:0; width:100%; }
.ob-password-control > .ob-password-input { width:100%; box-sizing:border-box; padding-inline-end:58px !important; font-family:inherit; font-size:16px; letter-spacing:normal; }
.ob-password-control > .ob-password-toggle { position:absolute; inset-inline-end:4px; top:50%; transform:translateY(-50%); display:grid; place-items:center; width:44px; height:44px; min-height:44px; max-width:44px; margin:0; padding:0; border:0; border-radius:10px; color:var(--text,#173e60); background:transparent; cursor:pointer; }
.ob-password-control > .ob-password-toggle:hover { background:rgba(17,93,163,.1); }
.ob-password-control > .ob-password-toggle:focus-visible { outline:3px solid var(--focus-color,#1266d8); outline-offset:0; }
.ob-password-toggle svg { display:block; width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.ob-password-toggle:disabled { opacity:.5; cursor:default; }
@media(forced-colors:active) { .ob-password-control > .ob-password-toggle { color:ButtonText; } }

/* Retour de connexion visible près de l’action, également annoncé au lecteur d’écran. */
.ob-auth-error:not([hidden]) { display:flex; align-items:flex-start; gap:10px; min-width:0; padding:14px 16px; border:1px solid #da8c99; border-inline-start:4px solid #b32642; border-radius:12px; background:#fff0f2; color:#861b32; }
.ob-auth-error svg { flex:none; width:23px; height:23px; margin-top:2px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; }
.member .ob-auth-error p { margin:0; font-size:16px; font-weight:650; line-height:1.5; overflow-wrap:anywhere; }
.ob-auth-error:focus-visible { outline:3px solid #b32642; outline-offset:3px; }
@media(forced-colors:active) { .ob-auth-error { border-color:CanvasText; } }
