/* password-visibility-v0.17.14 */
.bates-password-field {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
}

.bates-password-field > input {
    width: 100%;
    padding-right: 48px !important;
}

.bates-password-toggle {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 5px;
    display: inline-flex;
    width: 38px;
    height: 38px;
    padding: 0;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #526174;
    cursor: pointer;
    box-shadow: none;
    appearance: none;
}

.bates-password-toggle:hover {
    background: #eef3fb;
    color: #3157a7;
}

.bates-password-toggle:focus-visible {
    outline: 3px solid rgba(49, 87, 167, 0.24);
    outline-offset: 1px;
}

.bates-password-toggle svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

@media (max-width: 767px) {
    .bates-password-field > input {
        padding-right: 46px !important;
    }

    .bates-password-toggle {
        right: 4px;
        width: 38px;
        height: 38px;
    }
}
