.fmap-country-combobox {
	position: relative;
}

.fmap-country-combobox__display {
	width: 100%;
	text-align: left;
	background: white !important;
	color: var(--theme-color-text, #333) !important;
	cursor: pointer;
	font: inherit;
	border: 1px solid var(--theme-color-input_bd_color);
	padding: 0.9em 0.75em 0.9em 1.6em;
	border-radius: 4px;
	position: relative;
	text-transform: none !important;
	box-sizing: border-box;

	font-size: var(--theme-font-input_font-size);
	font-weight: var(--theme-font-input_font-weight);
	font-style: var(--theme-font-input_font-style);
	line-height: var(--theme-font-input_line-height);
	text-decoration: var(--theme-font-input_text-decoration);
	letter-spacing: var(--theme-font-input_letter-spacing);
}

.fmap-country-combobox__display::after {
	content: '';
	position: absolute;
	right: 1.2em;
	top: 50%;
	width: 0.55em;
	height: 0.55em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.15s ease;
	opacity: 0.6;
}

.fmap-country-combobox--open .fmap-country-combobox__display::after {
	transform: translateY(-30%) rotate(-135deg);
}

.fmap-country-combobox__panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 20;
	margin-top: 0.3em;
	background: #fff;
	border: 1px solid #d0d2d9;
	border-radius: 4px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
	max-height: 320px;
	display: flex;
	flex-direction: column;
}

.fmap-country-combobox__search {
	width: 100%;
	box-sizing: border-box;
	padding: 1em !important;
	font: inherit;
	outline: none;
}

.fmap-country-combobox__list {
	list-style: none;
	margin: 0;
	padding: 0.3em 0;
	overflow-y: auto;
}

.fmap-country-combobox__item {
	padding: 0.5em 1em;
	cursor: pointer;
}

.fmap-country-combobox__item:hover {
	background: #f2f3f5;
}

.fmap-country-combobox__item--selected {
	font-weight: 700;
}

.fmap-country-combobox__empty {
	padding: 0.5em 1em;
	color: #999;
}
