.password-control {
    position: relative;
}

.password-control > input {
    padding-inline-end: 48px;
}

.password-control > input::-ms-reveal {
    display: none;
}

.password-control > .password-visibility-toggle {
    position: absolute;
    inset-block: 3px;
    inset-inline-end: 3px;
    display: grid;
    place-items: center;
    width: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #526784;
    cursor: pointer;
}

.password-control > .password-visibility-toggle:hover {
    background: #eaf1f8;
    color: #173451;
    filter: none;
    transform: none;
}

.password-control > .password-visibility-toggle:focus-visible {
    outline: 2px solid #087e8b;
    outline-offset: -2px;
}

.password-eye {
    position: relative;
    display: grid;
    width: 21px;
    height: 18px;
    place-items: center;
}

.password-eye::before {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    border: 1.5px solid currentColor;
    border-radius: 70% 0 70% 0;
    transform: rotate(45deg);
}

.password-eye-pupil {
    width: 5px;
    height: 5px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}

.password-visibility-toggle[data-visible="true"] .password-eye::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 1.5px;
    background: currentColor;
    box-shadow: 0 1px #fbfdff;
    transform: rotate(42deg);
}
