/**
 * CRM Check — feedback visual durante verificação CRM e envio Elementor.
 */
form.elementor-form.crm-check-loading {
	position: relative;
	opacity: 1 !important;
	pointer-events: none;
}

form.elementor-form.crm-check-loading .elementor-button[type="submit"] {
	pointer-events: none;
}

.crm-check-form-overlay {
	position: absolute;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 1.5rem;
	min-height: 140px;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(4px);
	border-radius: 4px;
}

.crm-check-form-overlay-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	max-width: 280px;
	text-align: center;
}

.crm-check-form-spinner {
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	border: 3px solid rgba(0, 0, 0, 0.1);
	border-top-color: rgba(0, 0, 0, 0.65);
	border-radius: 50%;
	animation: crm-check-spin 0.75s linear infinite;
}

.crm-check-form-overlay-text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.4;
	color: rgba(0, 0, 0, 0.75);
}

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

@media (prefers-color-scheme: dark) {
	.crm-check-form-overlay {
		background: rgba(30, 30, 30, 0.94);
	}

	.crm-check-form-spinner {
		border-color: rgba(255, 255, 255, 0.12);
		border-top-color: rgba(255, 255, 255, 0.75);
	}

	.crm-check-form-overlay-text {
		color: rgba(255, 255, 255, 0.85);
	}
}
