/* Eye button inside password fields — see /js/password-toggle.js */
.pw-field {
    position: relative;
    display: block;
}

.pw-field input {
    padding-right: 52px !important;
}

.pw-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted, #8a8f98);
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.pw-toggle:hover {
    color: var(--text, inherit);
    background: var(--primary-soft, rgba(127, 127, 127, 0.12));
}

.pw-toggle:focus-visible {
    outline: none;
    color: var(--text, inherit);
    box-shadow: 0 0 0 3px var(--primary-soft, rgba(99, 102, 241, 0.35));
}

/* Edge/IE draw their own reveal button; keep only ours. */
.pw-field input::-ms-reveal,
.pw-field input::-ms-clear {
    display: none;
}
