.cmf-reg-name-hint {
	color: green;
	font-size: 16px;
	font-weight: 600;
	margin-top: 0;
}

/* Hide WooCommerce default password row (we use .cmf-password-row instead). */
form.woocommerce-form-register .woocommerce-form-row:not(.cmf-password-row):has(input[name="password"]) {
	display: none !important;
}

.cmf-password-field {
	position: relative;
	display: block;
}

.cmf-password-field .woocommerce-Input,
.cmf-password-field input.input-text {
	padding-right: 2.25rem !important;
	width: 100%;
	box-sizing: border-box;
}

/* Tiny icon only — reset Elementor / theme button styles. */
.cmf-password-field .cmf-password-toggle {
	position: absolute !important;
	top: 50% !important;
	right: 8px !important;
	left: auto !important;
	transform: translateY(-50%) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	min-height: 18px !important;
	max-width: 18px !important;
	max-height: 18px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: #666 !important;
	cursor: pointer !important;
	line-height: 1 !important;
	font-size: 0 !important;
	text-decoration: none !important;
	z-index: 2;
}

.cmf-password-field .cmf-password-toggle:hover,
.cmf-password-field .cmf-password-toggle:focus {
	color: #222 !important;
	background: transparent !important;
	outline: none !important;
	box-shadow: none !important;
}

.cmf-password-field .cmf-password-toggle svg {
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	pointer-events: none;
}

.cmf-password-rules {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border: 1px solid #e2e2e2;
	background: #fafafa;
	font-size: 0.9rem;
}

.cmf-password-rules li {
	position: relative;
	padding-left: 1.4rem;
	margin: 0.25rem 0;
	color: #777;
	transition: color 0.15s ease;
}

.cmf-password-rules li::before {
	content: "○";
	position: absolute;
	left: 0;
	top: 0;
	color: #999;
}

.cmf-password-rules li.is-valid {
	color: #1a7f37 !important;
	font-weight: 600;
}

.cmf-password-rules li.is-valid::before {
	content: "✓";
	color: #1a7f37 !important;
}

.cmf-password-rules li.is-invalid {
	color: #b42318 !important;
}

.cmf-password-rules li.is-invalid::before {
	content: "×";
	color: #b42318 !important;
}
