/* Searchable dropdown (see js/searchSelect.js). Shows 10 items, then scrolls. */
.ss-wrap {
	position: relative;
}

.ss-native {
	display: none !important;
}

.ss-toggle {
	display: block;
	width: 100%;
	text-align: left;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding-right: 2rem;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23b8b8b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 16px 12px;
}

.ss-panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 1080;
	background: #26282b;
	color: #e0e0e0;
	border: 1px solid #44474b;
	border-top: 2px solid #ff7f50;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
}

.ss-panel[hidden] {
	display: none;
}

/* 10 rows of 36px */
.ss-list {
	max-height: 360px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #55595e #26282b;
}

.ss-item {
	height: 36px;
	line-height: 36px;
	padding: 0 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	cursor: pointer;
	border-left: 3px solid transparent;
}

.ss-item:hover,
.ss-item.ss-active {
	background: #3a3d41;
	color: #fff;
	border-left-color: #ff7f50;
}

.ss-item[hidden] {
	display: none;
}

.ss-empty {
	padding: 8px 12px;
	font-style: italic;
	color: #8a8d91;
}

.ss-search {
	display: block;
	width: 100%;
	border: 0;
	border-top: 1px solid #44474b;
	padding: 8px 12px;
	background: #1f2023;
	color: #fff;
	outline: none;
}

.ss-search::placeholder { color: #8a8d91; }
