/**
 * WEPRO Consent — blocked-embed placeholder.
 * Clean-room styling. Consumes --wdt-* design tokens with literal fallbacks.
 */

/* Hide the neutralized iframe until consent restores it. */
iframe.wepro-embed-blocked {
	display: none !important;
}

.wepro-embed-placeholder {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 220px;
	padding: clamp(16px, 4vw, 32px);
	margin: 0 0 1rem;
	text-align: center;
	border: 1px solid var(--wdt-border-color, rgba(0, 0, 0, 0.12));
	border-radius: var(--wdt-border-radius, 10px);
	background: var(--wdt-surface-color, #f6f7f9);
	color: var(--wdt-text-color, #1d2327);
	font-family: var(--wdt-font-family, inherit);
}

.wepro-embed-placeholder__inner {
	max-width: 460px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
}

.wepro-embed-placeholder__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.3;
}

.wepro-embed-placeholder__text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	opacity: 0.85;
}

.wepro-embed-placeholder__load {
	display: inline-block;
	margin-top: 4px;
	padding: 10px 22px;
	min-height: 44px; /* GOD-11 touch-safe */
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	border: 0;
	border-radius: var(--wdt-button-radius, 9999px);
	background: var(--wdt-accent-color, #2563eb);
	color: var(--wdt-accent-contrast, #ffffff);
	transition: opacity 150ms ease;
}

.wepro-embed-placeholder__load:hover,
.wepro-embed-placeholder__load:focus-visible {
	opacity: 0.9;
}

.wepro-embed-placeholder__load:focus-visible {
	outline: 2px solid var(--wdt-focus-color, #1d4ed8);
	outline-offset: 2px;
}

.wepro-embed-placeholder__manage {
	font-size: 0.8rem;
	font-weight: 500;
	color: inherit;
	opacity: 0.7;
	text-decoration: underline;
}

.wepro-embed-placeholder__manage:hover,
.wepro-embed-placeholder__manage:focus-visible {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.wepro-embed-placeholder__load {
		transition: none;
	}
}
