/**
 * GM Cloudflare Turnstile Frontend Styling
 */

.gm-turnstile-wrap {
	margin: 16px 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	clear: both;
}

.gm-turnstile-wrap--center {
	align-items: center;
	justify-content: center;
}

.gm-turnstile-inner {
	min-height: 65px;
	display: inline-block;
}

/* Ensure no clipping on narrow mobile screens */
.gm-turnstile-wrap iframe {
	max-width: 100% !important;
}

/* Checkout placement adjustments */
.woocommerce-checkout-payment .gm-turnstile-wrap {
	margin: 18px 0 12px;
	padding: 12px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
}

/* Register form placement */
form.register .gm-turnstile-wrap,
.woocommerce-form-register .gm-turnstile-wrap {
	margin: 14px 0 20px;
}
