/**
 * AvelCoop Design System - Human verification (AVEL40)
 *
 * The Cloudflare Turnstile widget inside a protected form, its message and
 * its retry control.
 */

.avelcoop-human-check {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	max-width: 100%;
	margin: 0 0 18px;
}

.avelcoop-human-check__widget {
	max-width: 100%;
	overflow-x: auto;
}

.avelcoop-human-check__widget:empty {
	display: none;
}

.avelcoop-human-check__message {
	margin: 0;
	font-size: var( --avelcoop-font-size-sm );
	line-height: 1.4;
	color: var( --avelcoop-error-color );
}

.avelcoop-human-check__message:empty {
	display: none;
}

.avelcoop-human-check__retry {
	min-height: 44px;
	padding: 8px 14px;
	font: inherit;
	font-size: var( --avelcoop-font-size-sm );
	color: var( --avelcoop-text-primary );
	background: var( --avelcoop-bg-surface );
	border: 1px solid var( --avelcoop-border-color );
	border-radius: 8px;
	cursor: pointer;
}

.avelcoop-human-check__retry:focus-visible,
.avelcoop-human-check:focus-visible {
	outline: 2px solid var( --avelcoop-accent-color );
	outline-offset: 2px;
}

.avelcoop-human-check__retry[hidden] {
	display: none;
}
