/* Make the intl-tel-input wrapper span the full width like the other
   Elementor inputs, and keep its country dropdown above sibling fields. */
.iti {
	display: block;
	width: 100%;
}

.iti__dropdown-content {
	z-index: 100000;
}

/* Show only the dial code in the selected-country button (no flag).
   Flags remain visible inside the dropdown list. */
.iti__selected-country .iti__flag {
	display: none;
}

/* Lay out the dial code and the dropdown arrow on a single row.
   Extra specificity (.iti .iti__selected-country) is needed to beat the
   theme's `button { display: inline-block }` rule (attribute selector). */
.iti .iti__selected-country {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 4px;
}

/* White dropdown arrow in the selected-country button. The arrow is a CSS
   triangle, so its colour lives on the border facing the point: top border
   when closed, bottom border when the dropdown is open (.iti__arrow--up). */
.iti .iti__arrow {
	border-top-color: #fff;
}

.iti .iti__arrow--up {
	border-bottom-color: #fff;
}

/* Form submission feedback (Elementor messages).
   The form sits on a purple/magenta gradient, so the default tiny green/red
   text reads as an afterthought. Render the messages as a rounded, full-width
   card with a leading icon so success/error states are clearly visible. */
.elementor-message {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	padding: 14px 18px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
}

/* Replace Elementor's default ::before checkmark glyph with our own icon so
   we control spacing; the flex gap then separates it from the text. */
.elementor-message:before {
	content: "";
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.elementor-message.elementor-message-success {
	color: #1b7a4b;
	background-color: #e8f8ef;
	border: 1px solid #b6e6cc;
}

.elementor-message.elementor-message-success:before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231b7a4b'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 14.3-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7Z'/%3E%3C/svg%3E");
}

.elementor-message.elementor-message-danger,
.elementor-message.elementor-error {
	color: #b42318;
	background-color: #fdeceb;
	border: 1px solid #f5c2bd;
}

.elementor-message.elementor-message-danger:before,
.elementor-message.elementor-error:before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23b42318'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z'/%3E%3C/svg%3E");
}
