/**
 * Country dropdown on the form.
 *
 * The search box is left to inherit the styles the theme gives form fields; only the list of
 * countries, which has nothing to inherit from, is styled here.
 */

.gfcr-combobox {
	position: relative;
}

.gfcr-combobox__source {
	display: none !important;
}

.gfcr-combobox__list {
	position: absolute;
	z-index: 20;
	top: calc(100% + 0.25rem);
	right: 0;
	left: 0;
	max-height: 16rem;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 0.25rem;
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
	text-align: left;
}

.gfcr-combobox__option,
.gfcr-combobox__empty {
	margin: 0;
	padding: 0.5em 0.85em;
	color: #1a1a1a;
	font-size: 0.95em;
	line-height: 1.4;
}

.gfcr-combobox__option {
	cursor: pointer;
}

.gfcr-combobox__option:hover,
.gfcr-combobox__option.is-active {
	background: #f0f1f5;
}

.gfcr-combobox__option.is-selected {
	font-weight: 600;
}

.gfcr-combobox__empty {
	color: #6b7280;
}
