/* Password show/hide toggle */
.c-pwd-toggle {
    position: absolute;
    top: 0;
    right: 0;
    height: 2.25rem; /* matches input min-height, ignores injected children below */
    width: 2.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    z-index: 2;
}

.c-pwd-toggle:hover {
    color: #444;
}

/* Extra right padding so text doesn't slide under the icon */
.c-pwd-field {
    padding-right: 2.5rem !important;
}

/* Move the required asterisk left so it doesn't overlap the toggle button */
.c-pwd-toggle-wrapper.c-input--required::after {
    right: 2.4rem;
}
