/* ============================================
   LYRE WHOLESALE — PASSWORD SHOW/HIDE TOGGLE
   Shared by the retailer auth pages (/login/, /account/) and wp-login.php.
   Colour tokens come from whichever stylesheet is already loaded on the page
   (main.css on theme routes, wp-login.css on wp-login.php).
   ============================================ */

/* Flex + zeroed input margin so the wrapper's height always equals the input's
   box — the absolutely-positioned toggle then centres reliably regardless of any
   margin WordPress puts on the field (wp-login). */
.lw-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.lw-password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.lw-password-toggle:hover,
.lw-password-toggle:focus {
    color: var(--text);
    outline: none;
}

.lw-password-wrapper input[type="password"],
.lw-password-wrapper input[type="text"] {
    flex: 1 1 auto;
    margin-top: 0;
    margin-bottom: 0;
    padding-right: 40px;
}
