.password-input-shell {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.password-input-shell input {
    width: 100%;
    padding-right: 52px;
}

.password-toggle-button {
    position: absolute;
    top: 50%;
    right: 9px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #334155;
    cursor: pointer;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.password-toggle-button:hover,
.password-toggle-button:focus {
    border-color: transparent;
    background: transparent;
    color: #334155;
    outline: 0;
}

.password-toggle-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(15, 61, 87, 0.16);
}

.password-eye-icon {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.password-toggle-button:hover .password-eye-icon,
.password-toggle-button:focus-visible .password-eye-icon {
    opacity: 0.78;
    transform: scale(1.04);
}

.password-toggle-button::after {
    content: "";
    position: absolute;
    width: 31px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0;
    transform: rotate(-42deg) scaleX(0.76);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.password-input-shell.is-password-visible .password-toggle-button::after {
    opacity: 1;
    transform: rotate(-42deg) scaleX(1);
}

.public-access-login-form .password-input-shell input {
    min-height: 48px;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.98);
    color: #0a2738;
}
