/* Scope is introduced only by customer-password-visibility-v1.js. */
.cpv-wrap {
    --cpv-control-height: 44px;
    box-sizing: border-box;
    display: block;
    min-width: 0;
    position: relative;
    width: 100%;
}

.cpv-wrap > input[type="password"],
.cpv-wrap > input[type="text"] {
    box-sizing: border-box;
    min-height: var(--cpv-control-height);
    padding-right: 3rem;
    width: 100%;
}

.cpv-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    box-sizing: border-box;
    color: currentColor;
    cursor: pointer;
    display: inline-flex;
    height: var(--cpv-control-height);
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 3rem;
}

.cpv-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
}

.cpv-icon {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.cpv-visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
