/*
 * PrismAlgo contact form (class-prismalgo-contact-form.php). The form reuses Elementor Pro's markup, so its
 * look comes from the copied Elementor CSS (assets/canvas/) and shell.css; this file only adds what the
 * Elementor version did not need.
 */

/* Honeypot: off screen, out of the layout, never announced. */
form[data-pa-contact-form] .pa-contact-hp {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* Turnstile sits where the Turnstile plugin put it in the Elementor form: before the button, full width,
   margin 10px 0 15px. Empty (before the widget script runs) it takes no space, as before. */
form[data-pa-contact-form] .cf-turnstile {
	display: block;
	margin: 10px 0 15px 0;
	width: 100%;
}

form[data-pa-contact-form] .cf-turnstile:empty {
	margin: 0;
}

form[data-pa-contact-form] .cf-turnstile-br {
	display: none;
}

/* While sending (Elementor Pro faded the form the same way). */
form[data-pa-contact-form].elementor-form-waiting {
	opacity: 0.45;
	transition: opacity 0.5s;
}
