/* Wrapper that holds the input + icon */
.has-password-toggle {
    position: relative !important;
}

.show-password-input{
display:none;
}

/* Give space inside input so text doesn’t sit under the eye */
.has-password-toggle input[type="password"],
.has-password-toggle input[type="text"] {
    padding-right: 2.5rem !important;
}

/* The eye icon button */
.wc-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    line-height: 1;
}

/* Optional: alter appearance when password is visible */
.password-visible .wc-password-toggle {
    opacity: 0.7;
}