/* Filter adjustments */
.filter-row {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.filter-label {
	width: auto;
	min-width: auto;
	flex-shrink: 0;
}

.filter-select {
	flex: 1;
	min-width: 0;
	max-width: none;
	font-size: 14px;
	padding: 10px;
}

/* Filters */
.filters {
	display: flex;
	flex-direction: column;
	gap: 10px
}

.filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	align-items: center;
	justify-content: space-between;
}

.filter-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--muted);
	min-width: 120px;
	flex-shrink: 0;
}

.filter-options {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	flex: 1
}

.filter-select {
	width: 100%;
	max-width: 360px;
	padding: 8px 10px;
	background: var(--pill-bg);
	color: var(--ink);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 10px;
	font-size: 12px
}

.filter-select option[disabled] {
	color: #7683a8
}

.hidden {
	display: none !important
}

/* === 4) Unified filter chip system === */

.filter-options {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.filter-pill {
	font-size: 11px;
	padding: 6px 11px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.10);
	background: rgba(7, 10, 20, 0.96);
	color: var(--muted);
	cursor: pointer;
	transition:
		background 0.14s ease,
		color 0.14s ease,
		border-color 0.14s ease,
		box-shadow 0.14s ease,
		transform 0.06s ease;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.filter-pill .dot {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.45);
}

/* hover = soft, not neon */
.filter-pill:hover {
	border-color: rgba(121, 164, 255, 0.75);
	color: var(--ink);
	background: rgba(79, 140, 255, 0.10);
	transform: translateY(-0.5px);
}

/* selected = single accent system */
.filter-pill.selected {
	background: rgba(79, 140, 255, 0.18);
	border-color: rgba(79, 140, 255, 0.95);
	color: var(--ink);
	box-shadow: 0 0 0 1px rgba(79, 140, 255, 0.65);
	transform: translateY(-0.5px);
}

.filter-pill.selected .dot {
	background: rgba(227, 237, 255, 0.95);
}

/* disabled = same shape, just dimmed */
.filter-pill.disabled {
	opacity: 0.32;
	cursor: default;
	pointer-events: none;
	border-style: dashed;
	background: rgba(5, 7, 16, 0.9);
}

@media (max-width: 768px) {
	.filter-row {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
	}

	.filter-label {
		width: auto;
		min-width: auto;
		flex-shrink: 0;
	}

	.filter-select {
		flex: 1;
		min-width: 0;
		max-width: none;
		font-size: 14px;
		padding: 10px;
	}
}
