/* Toggle de mostrar/ocultar contraseña — usa las mismas variables
   (--text-color-2, --input-color) que ya define css/login.css. */

.pw-wrap{
    position: relative;
    width: 100%;
}

.pw-wrap input{
    width: 100%;
    padding-right: 40px; /* deja espacio para el botón sin tapar el texto */
}

.pw-toggle{
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-color-2, #888);
    border-radius: 6px;
}

.pw-toggle:hover{
    color: var(--text-color, #212121);
    background: rgba(0, 0, 0, .05);
}

.pw-toggle svg,
.pw-toggle i{
    width: 17px;
    height: 17px;
}