/**
 * Password show/hide toggle — Login, Registration, Reset Password.
 *
 * The theme paints a static icon into password inputs via a background
 * image; we suppress that inside our wrapper and replace it with a real,
 * clickable toggle button that reveals / hides the value.
 */

.mc-pw-wrap {
	position: relative;
	display: block;
}

/* Kill the theme's static password glyph and reserve room for the button. */
.mc-pw-wrap input {
	background-image: none !important;
	padding-right: 52px !important;
}

.mc-pw-toggle {
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #000;
	cursor: pointer;
	line-height: 0;
	-webkit-appearance: none;
	appearance: none;
}
.mc-pw-toggle:hover { opacity: 0.65; }
.mc-pw-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: 4px;
}

.mc-pw-toggle .mc-pw-icon { display: none; }
.mc-pw-toggle .mc-pw-icon svg { width: 22px; height: 22px; display: block; }

/* Hidden password → offer the "show" (eye) icon. Visible → "hide". */
.mc-pw-wrap:not(.is-visible) .mc-pw-icon-show { display: inline-flex; }
.mc-pw-wrap.is-visible .mc-pw-icon-hide { display: inline-flex; }
