/* ForGarden Math CAPTCHA — styles */

.fg-captcha-wrap {
	margin: 14px 0 18px;
	padding: 14px 16px;
	background: #f6f7f5;
	border: 1px solid #e1e4dc;
	border-left: 3px solid rgb(48, 132, 13);
	border-radius: 6px;
	box-sizing: border-box;
	max-width: 100%;
}

.fg-captcha-label {
	display: block;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #3a3a3a;
	margin-bottom: 8px;
}

.fg-captcha-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.fg-captcha-question {
	font-size: 18px;
	font-weight: 700;
	color: #1f2a18;
	min-width: 90px;
	font-family: inherit;
	letter-spacing: 0.04em;
}

.fg-captcha-answer {
	flex: 1;
	min-width: 100px;
	max-width: 140px;
	padding: 10px 12px !important;
	font-size: 16px;
	border: 1px solid #cfd3c8;
	border-radius: 4px;
	background: #fff;
	color: #1f2a18;
	box-sizing: border-box;
}

.fg-captcha-answer:focus {
	outline: none;
	border-color: rgb(48, 132, 13);
	box-shadow: 0 0 0 2px rgba(48, 132, 13, 0.18);
}

/* Honeypot — kept off-screen, never visible, never tab-able */
.fg-captcha-hp {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Per-context tweaks */
.fg-captcha-context-wp-login,
.fg-captcha-context-wp-register,
.fg-captcha-context-wp-lostpw {
	margin: 16px 0;
}

.fg-captcha-context-comment {
	margin-top: 18px;
}

.fg-captcha-context-cf7,
.fg-captcha-context-wpforms,
.fg-captcha-context-mc4wp {
	margin-bottom: 16px;
}

/* Small screens */
@media (max-width: 480px) {
	.fg-captcha-question {
		min-width: auto;
	}
	.fg-captcha-answer {
		max-width: 100%;
	}
}
