/* GC Tools – Bild-Captcha für Contact Form 7 */
.gct-captcha-wrap { display: block; }
.gct-captcha {
	--gct-cap-size: 44px;
	--gct-cap-active: #2271b1;
	display: block;
	padding: 12px 14px;
	border: 1px solid rgba(127, 127, 127, .35);
	border-radius: 10px;
	text-align: left;
}
.gct-captcha-wrap--toggle:not(.is-shown) .gct-captcha { display: none; }
.gct-captcha-text { display: block; margin-bottom: 8px; font-weight: 400; }
.gct-captcha-name { font-weight: 700; }
.gct-captcha-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.wpcf7 .gct-captcha label,
.gct-captcha label {
	position: relative !important;
	display: inline-flex !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	cursor: pointer;
	font-weight: 400;
}
.gct-captcha label > input {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}
.gct-captcha svg {
	box-sizing: border-box;
	width: var(--gct-cap-size);
	height: var(--gct-cap-size);
	padding: calc(var(--gct-cap-size) * .16);
	fill: var(--gct-cap-color, currentColor);
	color: var(--gct-cap-color, currentColor);
	border: 2px solid transparent;
	border-radius: 10px;
	transition: background-color .15s, border-color .15s;
}
.gct-captcha label:hover svg { background: color-mix(in srgb, var(--gct-cap-active) 8%, transparent); }
.gct-captcha label > input:checked + svg {
	border-color: var(--gct-cap-active);
	background: color-mix(in srgb, var(--gct-cap-active) 14%, transparent);
}
.gct-captcha label > input:focus-visible + svg { outline: 2px solid var(--gct-cap-active); outline-offset: 2px; }
.gct-captcha-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}
