uix-modal[data-popup-id],
uix-drawer[data-popup-id] {
	z-index: 99999;
}

@media (min-width: 1024px) {
	uix-modal.uix-popup-pos--center {
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}

	uix-modal.uix-popup-pos--top-center {
		top: 40px;
		left: 50%;
		transform: translateX(-50%);
	}

	uix-modal.uix-popup-pos--bottom-center {
		bottom: 40px;
		left: 50%;
		transform: translateX(-50%);
	}

	uix-modal.uix-popup-pos--top-left {
		top: 40px;
		left: 40px;
	}

	uix-modal.uix-popup-pos--top-right {
		top: 40px;
		right: 40px;
	}

	uix-modal.uix-popup-pos--bottom-left {
		bottom: 40px;
		left: 40px;
	}

	uix-modal.uix-popup-pos--bottom-right {
		bottom: 40px;
		right: 40px;
	}
}

/* =========================================================================
   UIX Popup Builder — Frontend popup styles
   ========================================================================= */
.uix-popup .e-con-inner {
	max-width: none !important;
}

.uix-popup .elementor-widget-image img {
	display: block;
}

.uix-popup .mc4wp-form-fields {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Automatic close icon: follow button text color set in Page Settings. */
.uix-popup .modal-close svg,
.uix-popup .modal-close .icon-close {
	fill: currentColor;
}
