/* Password visibility toggle — used on login, registration and change-password forms. */
.pw-field { position: relative; }
.pw-field input { padding-right: 48px; }

.pw-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #7c8175;
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}
.pw-toggle:hover { color: #15180f; background: rgba(21, 24, 15, .06); }
.pw-toggle:focus-visible { outline: 2px solid #14432e; outline-offset: 1px; }
.pw-toggle svg { width: 18px; height: 18px; }
.pw-toggle .eye-off { display: none; }
.pw-toggle.is-on .eye { display: none; }
.pw-toggle.is-on .eye-off { display: block; }
