/**
 * WyConsent blocked-iframe placeholder styles.
 *
 * Themeable via --wyco-* custom properties (kept consistent with the future
 * banner configurator). Reserves space to avoid layout shift (CLS = 0).
 */

.wyco-placeholder {
	--wyco-placeholder-bg: #f3f4f6;
	--wyco-placeholder-fg: #1f2937;
	--wyco-placeholder-accent: #2271b1;
	--wyco-placeholder-accent-fg: #ffffff;
	--wyco-placeholder-radius: 8px;

	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	padding: 16px;
	background: var(--wyco-placeholder-bg);
	color: var(--wyco-placeholder-fg);
	border-radius: var(--wyco-placeholder-radius);
	text-align: center;
}

.wyco-placeholder__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	max-width: 480px;
}

.wyco-placeholder__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

.wyco-placeholder__btn {
	display: inline-block;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	color: var(--wyco-placeholder-accent-fg);
	background: var(--wyco-placeholder-accent);
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.wyco-placeholder__btn:hover {
	opacity: 0.9;
}

.wyco-placeholder__btn:focus-visible {
	outline: 2px solid var(--wyco-placeholder-fg);
	outline-offset: 2px;
}

.wyco-placeholder__link {
	font-size: 12px;
	color: inherit;
	text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
	.wyco-placeholder__btn {
		transition: none;
	}
}
