/*
 * Elementor initially outputs all fields as one flat list, then groups them
 * into .e-form__step elements with JavaScript. Hide the second raw step and
 * everything after it to prevent all fields flashing before initialization.
 */
.elementor-form-fields-wrapper:not(:has(> .e-form__step))>.elementor-field-type-step~.elementor-field-type-step,
.elementor-form-fields-wrapper:not(:has(> .e-form__step))>.elementor-field-type-step~.elementor-field-type-step~* {
	display: none !important;
}

.elementor-form.planovo-form--submitting .elementor-form-fields-wrapper {
	display: none !important;
	pointer-events: none;
}

.planovo-form-submitting {
	align-items: center;
	color: #49666b;
	display: none;
	flex-direction: column;
	gap: 18px;
	justify-content: center;
	min-height: 400px;
	padding: 48px 20px;
	text-align: center;
}

.elementor-form.planovo-form--submitting .planovo-form-submitting {
	display: flex !important;
}

.planovo-form-submitting__spinner {
	animation: planovo-form-spinner 0.8s linear infinite;
	border: 4px solid #e3f7f1;
	border-radius: 50%;
	border-top-color: #00a76f;
	height: 48px;
	width: 48px;
}

.planovo-form-submitting__text {
	font-size: 17px;
	line-height: 1.3;
}

@keyframes planovo-form-spinner {
	to {
		transform: rotate(360deg);
	}
}

.elementor-form.planovo-form--success> :not(.planovo-form-success) {
	display: none;
}

.elementor-form.planovo-form--success .elementor-form-fields-wrapper,
.elementor-form.planovo-form--success .planovo-form-submitting {
	display: none !important;
}

.elementor-form .elementor-message-success.planovo-form-success {
	align-items: center;
	color: #071014;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	min-height: 400px;
	padding: 48px 20px;
	text-align: center;
}

.elementor-form .elementor-message-success.planovo-form-success::before {
	content: none;
}

.planovo-form-success__icon {
	align-items: center;
	background: #96ddc7;
	border: 11px solid #e3f7f14f;
	border-radius: 50%;
	box-sizing: border-box;
	color: #00a76f;
	display: flex;
	height: 90px;
	justify-content: center;
	margin-block-end: 36px;
	width: 90px;
}

.planovo-form-success__icon svg {
	fill: none;
	height: 42px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 3.5;
	width: 42px;
}

.planovo-form-success__title {
	color: #071014;
	display: block;
	font-size: 34px;
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.1;
	margin: 0 0 10px;
}

.planovo-form-success__text {
	color: #49666b;
	display: block;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
	max-width: 540px;
}

@media (max-width: 767px) {
	.elementor-form .elementor-message-success.planovo-form-success {
		min-height: 340px;
		padding: 40px 16px;
	}

	.planovo-form-success__icon {
		height: 78px;
		margin-block-end: 28px;
		width: 78px;
	}

	.planovo-form-success__title {
		font-size: 29px;
	}

	.planovo-form-success__text {
		font-size: 16px;
	}

	.planovo-form-submitting {
		min-height: 340px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.planovo-form-submitting__spinner {
		animation-duration: 1.6s;
	}
}