.sw-password-toggle-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.sw-password-toggle-wrap > input {
    padding-right: 46px !important;
}

.sw-password-toggle-wrap > input.is-invalid {
    padding-right: 70px !important;
}

.sw-password-toggle-button {
    position: absolute;
    top: 50%;
    right: 8px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #667268;
    cursor: pointer;
    transition: background .16s ease, color .16s ease;
    transform: translateY(-50%);
}

.sw-password-toggle-wrap > input.is-invalid + .sw-password-toggle-button {
    right: 30px;
}

.sw-password-toggle-button:hover,
.sw-password-toggle-button:focus {
    background: #edf7e9;
    color: #25834f;
    outline: none;
}

.sw-password-toggle-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 131, 79, .18);
}

.sw-password-toggle-button svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    pointer-events: none;
}
