/* Componente reutilizável: botão mostrar/ocultar senha.
   Uso: <div class="campo-senha"><input type="password" ...></div>
   O botão é injetado por senha_toggle.js. */

.campo-senha { position: relative; }

/* Acomoda o botão à direita sem sobrepor o texto digitado */
.campo-senha > input { padding-right: 44px; }

.btn-olho {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    width: 40px;              /* área de toque >= 40x40 (mobile) */
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #8A97A8;           /* discreto */
    cursor: pointer;
    transition: color .15s, background .15s;
}
.btn-olho:hover  { color: #1A6EF5; }
.btn-olho:active { background: rgba(26,110,245,.08); }
.btn-olho:focus-visible { outline: 2px solid #1A6EF5; outline-offset: -2px; }
.btn-olho svg { width: 18px; height: 18px; display: block; }
