.ffcs {
	position: relative;
}

/* Kept in the DOM for submission/validation, but never shown. */
.ffcs__native {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: 0;
	border: 0;
	opacity: 0;
	pointer-events: none;
}

/* Placeholder that stops the theme's jquery.nice-select duplicating the field. */
.ffcs .nice-select {
	display: none !important;
}

.ffcs__input {
	width: 100%;
	padding-right: 32px;
	cursor: pointer;
	text-overflow: ellipsis;
}

.ffcs::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 12px;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-right: 2px solid #6b7280;
	border-bottom: 2px solid #6b7280;
	transform: rotate(45deg);
	pointer-events: none;
	transition: transform 0.15s ease;
}

.ffcs.is-open::after {
	margin-top: -2px;
	transform: rotate(225deg);
}

.ffcs__list {
	position: absolute;
	z-index: 9999;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	max-height: 260px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #d5d8dd;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	-webkit-overflow-scrolling: touch;
}

.ffcs__list[hidden] {
	display: none;
}

.ffcs__option {
	padding: 8px 14px;
	font-size: 15px;
	line-height: 1.4;
	color: #23282d;
	cursor: pointer;
}

.ffcs__option.is-active,
.ffcs__option:hover {
	background: #f0f4ff;
}

.ffcs__option.is-selected {
	font-weight: 600;
}

.ffcs__option mark {
	background: transparent;
	color: inherit;
	font-weight: 700;
}

.ffcs__empty {
	padding: 10px 14px;
	font-size: 14px;
	color: #6b7280;
}
