/*
 * NewIris Elementor Compatibility - form widget (original stylesheet).
 * Field layout and button styling come from Elementor's core form CSS and the widget's generated CSS;
 * this file adds the select caret, button alignment and the success indicator.
 */

/* Select fields: the caret is an inline SVG on the right, the core font-icon caret is not used */
.elementor-form .elementor-select-wrapper::before {
	content: "";
	width: 0;
	height: 0;
	transform: translateY(0);
}
.elementor-form .elementor-select-wrapper .select-caret-down-wrapper {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	font-size: 11px;
	pointer-events: none;
}
.elementor-form .elementor-select-wrapper .select-caret-down-wrapper svg {
	width: 1em;
	height: 1em;
	overflow: visible;
	fill: currentColor;
}

/* Button: icon and label vertically centred */
.elementor-form .elementor-button-content-wrapper {
	align-items: center;
}

/* Success message: green check mark before the text */
.elementor-form .elementor-message.elementor-message-svg::before {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: middle;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' viewBox='0 0 14 11'%3E%3Cpath d='M1.5 5.5l3.75 3.75L12.5 1.75' fill='none' stroke='%23008A20' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / auto no-repeat;
}
