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

.password-visibility-field > input[type="password"],
.password-visibility-field > input[type="text"] {
    width: 100%;
    padding-right: 2.8rem !important;
}

.password-visibility-toggle {
    position: absolute;
    top: 50%;
    right: .55rem;
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    padding: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 6px;
    color: #64748b;
    background: transparent;
    cursor: pointer;
}

.password-visibility-toggle:hover,
.password-visibility-toggle:focus-visible {
    color: #2563eb;
    background: #eff6ff;
    outline: none;
}

.password-visibility-toggle svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
