/* Intake honeypot + math captcha (auth forms only) */
.wc-intake-honeypot,
.wc-auth-honeypot {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.wc-math-captcha {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	width: 100%;
	box-sizing: border-box;
	margin: 14px 0 10px;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid rgba(201, 162, 90, 0.28);
	background:
		linear-gradient(165deg, rgba(42, 32, 12, 0.72) 0%, rgba(14, 12, 10, 0.82) 100%);
	box-shadow: inset 0 1px 0 rgba(255, 230, 160, 0.08);
	font-family: Vazirmatn, Tahoma, "Segoe UI", Arial, sans-serif;
}

.wc-math-captcha__head {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1 1 auto;
}

.wc-math-captcha__badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(180deg, #ffe9a8 0%, #c9a25a 100%);
	color: #2a1c08;
	font-weight: 800;
	font-size: 1rem;
	line-height: 1;
}

.wc-math-captcha__label {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	margin: 0;
	color: #d7cbb4;
	font-size: 0.9rem;
	line-height: 1.35;
	cursor: pointer;
}

.wc-math-captcha__title {
	font-weight: 700;
	color: #f0d080;
	font-size: 0.82rem;
	letter-spacing: 0.02em;
}

.wc-math-captcha__q {
	font-weight: 600;
	color: #e8dfd2;
	unicode-bidi: plaintext;
}

.wc-math-captcha__input {
	flex: 0 0 auto;
	width: 88px;
	box-sizing: border-box;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid rgba(201, 162, 90, 0.4);
	background: rgba(0, 0, 0, 0.45);
	color: #f5edd8;
	font-family: Vazirmatn, Tahoma, "Segoe UI", Arial, sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	text-align: center;
	outline: none;
}

.wc-math-captcha__input:focus {
	border-color: rgba(240, 208, 128, 0.75);
	box-shadow: 0 0 0 2px rgba(201, 162, 90, 0.22);
}

/* Keep math captcha out of flex rows that sit beside other controls */
.wc-tournament-reg__form .wc-math-captcha {
	display: none !important;
}
