/**
 * EPD Captcha — frontend (comment forms, etc.)
 */

.epd-captcha {
	margin: 1rem 0 1.25rem;
	max-width: 100%;
}

.epd-captcha__widget {
	min-height: 0;
}

.epd-captcha__widget--invisible {
	min-height: 0;
	height: 0;
	overflow: hidden;
}

.epd-captcha__status {
	margin: 0.5rem 0 0;
	font-size: 0.875rem;
	color: #64748b;
}

.epd-captcha__status.is-error {
	color: #b91c1c;
}

.epd-captcha__hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* wp-login.php */
body.login .epd-captcha {
	margin: 12px 0 16px;
}

body.login .epd-captcha__status.is-error {
	color: #d63638;
}

.epd-captcha-divi-error {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-left: 4px solid #d63638;
	background: #fcf0f1;
	color: #b32d2e;
}
