/**
 * Match Host Cloud Elementor form fields (Outfit, 12px radius, navy border).
 * Scoped to .hc-phone-enhanced so billing styles elsewhere are untouched.
 */

.elementor-field-group.elementor-field-type-tel.hc-phone-enhanced {
	overflow: visible;
}

/* Keep Elementor's own label (same font / weight as Name, Email, etc.). */
.elementor-field-group.hc-phone-enhanced > .hc-phone-wrap > .hc-phone-label {
	display: none !important;
}

/* Hide the original tel input; our widget replaces it visually. */
.elementor-field-group.hc-phone-enhanced > .elementor-field,
.elementor-field-group.hc-phone-enhanced > input.elementor-field {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-wrap {
	display: block;
	width: 100%;
	margin: 0;
	gap: 0;
	font-family: "Outfit", Sans-serif;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-input {
	display: flex;
	align-items: stretch;
	width: 100%;
	min-height: 0;
	padding: 0;
	border: 1px solid rgba(15, 42, 95, 0.16);
	border-radius: 12px;
	background: #fff;
	overflow: visible;
	box-shadow: none;
	box-sizing: border-box;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-input:focus-within,
.elementor-field-group.hc-phone-enhanced .hc-phone-wrap.is-open .hc-phone-input {
	border-color: rgba(15, 42, 95, 0.28);
	box-shadow: none;
	outline: none;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-picker {
	position: relative;
	flex: 0 0 auto;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	height: auto;
	min-height: 0;
	padding: 0.75rem 0.65rem 0.75rem 0.9rem;
	border: 0;
	border-right: 1px solid rgba(15, 42, 95, 0.16);
	border-radius: 12px 0 0 12px;
	background: transparent;
	font-family: "Outfit", Sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	color: #0b1220;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: none;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-trigger:hover {
	background: rgba(15, 42, 95, 0.03);
}

.elementor-field-group.hc-phone-enhanced .hc-phone-dial {
	font-family: "Outfit", Sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: #0b1220;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-flag-img {
	width: 20px;
	height: 15px;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(15, 42, 95, 0.12);
}

.elementor-field-group.hc-phone-enhanced .hc-phone-chevron-svg,
.elementor-field-group.hc-phone-enhanced .hc-phone-chevron {
	width: 0.85rem;
	height: 0.85rem;
	color: rgba(15, 42, 95, 0.45);
	flex: 0 0 auto;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-number {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0.75rem 0.9rem;
	border: 0 !important;
	border-radius: 0 12px 12px 0;
	background: transparent !important;
	box-shadow: none !important;
	font-family: "Outfit", Sans-serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	color: #0b1220 !important;
	-webkit-appearance: none;
	appearance: none;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-number:focus {
	outline: none !important;
	box-shadow: none !important;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-number::placeholder {
	font-family: "Outfit", Sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: rgba(11, 18, 32, 0.45);
	opacity: 1;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-number::-webkit-input-placeholder {
	font-family: "Outfit", Sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: rgba(11, 18, 32, 0.45);
	opacity: 1;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-number::-moz-placeholder {
	font-family: "Outfit", Sans-serif;
	font-size: 15px;
	font-weight: 400;
	color: rgba(11, 18, 32, 0.45);
	opacity: 1;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-menu {
	z-index: 10050;
	border: 1px solid rgba(15, 42, 95, 0.16);
	border-radius: 12px;
	box-shadow: 0 12px 28px rgba(15, 42, 95, 0.12);
	font-family: "Outfit", Sans-serif;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-search {
	font-family: "Outfit", Sans-serif;
	font-size: 15px;
	color: #0b1220;
	border: 1px solid rgba(15, 42, 95, 0.16);
	border-radius: 10px;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-search:focus {
	border-color: rgba(15, 42, 95, 0.28);
	box-shadow: none;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-option {
	font-family: "Outfit", Sans-serif;
	font-size: 15px;
	color: #0b1220;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-option-dial {
	color: rgba(11, 18, 32, 0.45);
	font-size: 14px;
}

.elementor-field-group.hc-phone-enhanced .hc-phone-option:hover,
.elementor-field-group.hc-phone-enhanced .hc-phone-option.is-selected {
	background: rgba(14, 116, 144, 0.08);
}

.elementor-field-group.hc-phone-enhanced .hc-phone-divider {
	background: rgba(15, 42, 95, 0.1);
}
