.password-field-shell {
    display: block;
    max-width: 100%;
    position: relative;
    width: 100%;
}

.password-field-shell > input {
    box-sizing: border-box;
    padding-left: 3.25rem !important;
    width: 100%;
}

.password-field-shell > input::-ms-clear,
.password-field-shell > input::-ms-reveal {
    display: none;
}

.password-visibility-toggle {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0.75rem;
    color: #75677d;
    cursor: pointer;
    display: inline-flex;
    height: 2.375rem;
    inset-inline-end: 0.35rem;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    touch-action: manipulation;
    transform: translateY(-50%);
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
    width: 2.375rem;
    z-index: 3;
}

.password-visibility-toggle:hover {
    background-color: rgba(15, 159, 143, 0.1);
    color: #0b897c;
}

.password-visibility-toggle:active {
    transform: translateY(-50%) scale(0.94);
}

.password-visibility-toggle:focus-visible {
    background-color: #ffffff;
    color: #087f73;
    outline: 3px solid rgba(15, 159, 143, 0.22);
    outline-offset: 1px;
}

.password-visibility-toggle svg {
    display: block;
    height: 1.25rem;
    pointer-events: none;
    width: 1.25rem;
}

@media (max-width: 767px) {
    .password-field-shell > input {
        min-height: 3rem;
        padding-left: 3.5rem !important;
    }

    .password-visibility-toggle {
        height: 2.625rem;
        inset-inline-end: 0.2rem;
        width: 2.625rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .password-visibility-toggle {
        transition: none;
    }
}
