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

.medium-login-card .password-input-wrap input {
    width: 100%;
    height: 48px;
    padding: 0 56px 0 13px;
    border: 1px solid #cbdad3;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: var(--ink);
}

.medium-login-card .password-input-wrap input:focus {
    border-color: var(--green2);
    box-shadow: 0 0 0 3px rgba(22, 129, 91, .12);
}

.medium-login-card .password-visibility-toggle {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 46px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #526b62;
    box-shadow: none;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.medium-login-card .password-visibility-toggle:focus-visible {
    outline: 3px solid rgba(22, 129, 91, .25);
    outline-offset: -3px;
}

.password-visibility-toggle svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.password-visibility-toggle .eye-closed { display: none; }
.password-visibility-toggle[aria-pressed="true"] .eye-open { display: none; }
.password-visibility-toggle[aria-pressed="true"] .eye-closed { display: block; }
