/* =========================
   LABEL SELECTOR
========================= */

.label-selector {
	position: relative;
	width: 100%;
	margin-bottom: 5px;
	margin-top: 5px;
}

/* Input */

.label-selector-input {
	width: 100%;

	padding: 10px 12px;

	border: none;
	border-radius: 10px;

	background: #1e293b;
	color: white;

	font-size: 14px;

	outline: none;

	box-sizing: border-box;

	transition: background 0.15s ease,
				box-shadow 0.15s ease;
}

.label-selector-input::placeholder {
	color: #94a3b8;
}

.label-selector-input:focus {
	background: #334155;

	box-shadow:
		0 0 0 2px rgba(59,130,246,0.4);
}

/* =========================
   RESULTS DROPDOWN
========================= */

.label-selector-results {
	position: absolute;

	top: calc(100% + 6px);
	left: 0;

	width: 100%;

	background: #1e293b;

	border-radius: 12px;

	box-shadow:
		0 8px 24px rgba(0,0,0,0.35);

	overflow: hidden;

	max-height: 240px;
	overflow-y: auto;

	z-index: 2000;

	display: none;
}

/* visible state */

.label-selector-results.visible {
	display: block;
}

/* =========================
   OPTION
========================= */

.label-selector-option {
	padding: 10px 12px;

	cursor: pointer;

	font-size: 14px;
	color: white;

	transition:
		background 0.12s ease,
		padding-left 0.12s ease;
}

.label-selector-option:hover {
	background: #334155;

	padding-left: 16px;
}

/* =========================
   SCROLLBAR
========================= */

.label-selector-results::-webkit-scrollbar {
	width: 6px;
}

.label-selector-results::-webkit-scrollbar-track {
	background: transparent;
}

.label-selector-results::-webkit-scrollbar-thumb {
	background: rgba(255,255,255,0.15);
	border-radius: 999px;
}
