.password-field-shell {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
}

.password-field-shell > .password-toggle-input {
    width: 100%;
    box-sizing: border-box;
    padding-right: 54px !important;
}

.password-field-shell > .password-toggle {
    position: absolute;
    top: 50%;
    right: 7px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    color: #536271;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transform: translateY(-50%);
    appearance: none;
    -webkit-appearance: none;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.password-field-shell > .password-toggle:hover {
    color: #0d1b2a;
    background: rgba(13, 27, 42, 0.07);
}

.password-field-shell > .password-toggle:focus-visible {
    color: #0d1b2a;
    background: rgba(13, 27, 42, 0.08);
    outline: 2px solid rgba(79, 139, 180, 0.55);
    outline-offset: 1px;
}

.password-field-shell > .password-toggle:active {
    transform: translateY(-50%) scale(0.95);
}

.password-toggle svg {
    display: block;
    width: 22px;
    height: 22px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    pointer-events: none;
}

.password-eye-pupil {
    fill: currentColor;
    stroke: none;
    transition: opacity 0.2s ease;
}

.password-eye-slash {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.password-toggle.is-visible .password-eye-slash {
    opacity: 1;
}

.password-toggle.is-visible .password-eye-pupil {
    opacity: 0.35;
}

@media (max-width: 640px) {
    .password-field-shell > .password-toggle-input {
        padding-right: 56px !important;
    }

    .password-field-shell > .password-toggle {
        right: 5px;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .password-field-shell > .password-toggle,
    .password-eye-pupil,
    .password-eye-slash {
        transition: none;
    }
}
