/* GF Thank-You Page Interceptor — inherits the theme's typography/colors. */

.gftu-wrap {
	max-width: var(--wp--style--global--content-size, 65ch);
	margin-left: auto;
	margin-right: auto;
}

.gftu-interstitial {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-height: 40vh;
	text-align: center;
}

.gftu-interstitial-text {
	margin: 0;
}

/* Manual escape hatch; de-emphasised since JS normally redirects first. */
.gftu-manual {
	font-size: 0.875em;
	margin: 0;
	opacity: 0.7;
}

/* Placeholder shown only inside page-builder editors. */
.gftu-placeholder {
	border: 1px dashed currentColor;
	border-radius: 4px;
	opacity: 0.6;
	padding: 1.5rem;
	text-align: center;
}

/* Pure-CSS spinner; currentColor so it adopts the theme's text color. */
.gftu-spinner {
	display: inline-block;
	width: 2rem;
	height: 2rem;
	border: 3px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	opacity: 0.75;
	animation: gftu-spin 0.8s linear infinite;
}

@keyframes gftu-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gftu-spinner {
		animation: none;
		border-right-color: currentColor;
		opacity: 0.4;
	}
}
