.rc-password-toggle-wrap {
    position: relative;
    width: 100%;
}

.rc-password-toggle-wrap input[type="password"],
.rc-password-toggle-wrap input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding-right: 42px !important;
}

.rc-password-toggle {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    padding: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #777;
    cursor: pointer;
    z-index: 2;
}

.rc-password-toggle:hover {
    color: #222;
}

.rc-password-toggle:focus-visible {
    outline: 2px solid #0d6efd;
    border-radius: 4px;
}

.rc-password-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Login page only: compensate for the prepended password icon */
.rc-password-toggle-wrap:has(#rcmloginpwd) .rc-password-toggle {
    top: 67%;
}
