.eprom-lazy-metform {
	box-sizing: border-box;
	width: 100%;
	min-height: var(--eprom-lazy-min-height, 620px);
}

.eprom-lazy-metform[data-state="loaded"] {
	min-height: 0;
}

.eprom-lazy-metform__status,
.eprom-lazy-metform__error {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 14px;
	min-height: var(--eprom-lazy-min-height, 620px);
	padding: 28px;
	color: #666;
	font: 600 15px/1.5 Arial, sans-serif;
	text-align: center;
}

.eprom-lazy-metform[data-state="idle"] .eprom-lazy-metform__spinner {
	display: none;
}

.eprom-lazy-metform__spinner {
	display: block;
	width: 30px;
	height: 30px;
	border: 3px solid #ececec;
	border-top-color: #f26722;
	border-radius: 50%;
	animation: eprom-lazy-spin .8s linear infinite;
}

.eprom-lazy-metform__error {
	color: #9c1c1c;
}

.eprom-lazy-metform__error button {
	appearance: none;
	padding: 11px 20px;
	border: 0;
	border-radius: 999px;
	background: #f26722;
	color: #fff;
	cursor: pointer;
	font: 700 14px/1 Arial, sans-serif;
}

.eprom-lazy-metform__admin-error {
	padding: 14px;
	border: 1px solid #d63638;
	background: #fcf0f1;
	color: #8a2424;
}

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

@media (max-width: 767px) {
	.eprom-lazy-metform {
		min-height: min(var(--eprom-lazy-min-height, 620px), 520px);
	}

	.eprom-lazy-metform__status,
	.eprom-lazy-metform__error {
		min-height: min(var(--eprom-lazy-min-height, 620px), 520px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.eprom-lazy-metform__spinner {
		animation: none;
	}
}
