/* Password rules checklist (assets/js/password.js). */
.allera-pw-rules {
	margin: -.25rem 0 1rem;
	font-size: .95rem;
	color: var(--wp--preset--color--muted, #4a4a4a);
}

.allera-pw-rules__title {
	margin: 0 0 .25rem;
	font-weight: 600;
}

.allera-pw-rules ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .25rem 1.25rem;
}

.allera-pw-rules li {
	position: relative;
	padding-left: 1.4rem;
}

.allera-pw-rules li::before {
	content: "\25CB"; /* open circle */
	position: absolute;
	left: 0;
}

.allera-pw-rules li.is-met {
	color: var(--wp--preset--color--green-dark, #00793a);
}

.allera-pw-rules li.is-met::before {
	content: "\2713"; /* tick */
	font-weight: 800;
}

.allera-pw-rules.is-error li:not(.is-met) {
	color: var(--wp--preset--color--red, #be1e2d);
	font-weight: 600;
}
