/*
 * Palm Network Visualizer -- scope picker dropdown.
 * Used in the hero (top-center, overlaid on the scene) and in the
 * front-end dashboard header (top-right status cluster).
 */

.pnv-scope-picker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba( 10, 8, 32, 0.85 );
	border: 1px solid rgba( 0, 229, 255, 0.35 );
	border-radius: 4px;
	padding: 6px 10px;
	backdrop-filter: blur( 8px );
	-webkit-backdrop-filter: blur( 8px );
}

.pnv-scope-picker__label {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 10px;
	letter-spacing: 2.5px;
	color: #00E5FF;
	text-transform: uppercase;
	font-weight: 700;
}

.pnv-scope-picker__select {
	background: transparent;
	color: #E6F1FF;
	border: 0;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 12px;
	letter-spacing: 0.5px;
	cursor: pointer;
	padding: 2px 4px;
	min-width: 180px;
	max-width: 280px;
	outline: none;
}

.pnv-scope-picker__select:focus-visible {
	outline: 2px solid #FF2E9A;
	outline-offset: 2px;
	border-radius: 2px;
}

.pnv-scope-picker__select option,
.pnv-scope-picker__select optgroup {
	background: #0A0820;
	color: #E6F1FF;
}

.pnv-scope-picker__select optgroup {
	color: #00E5FF;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 1px;
}

/* Placement in the hero -- top center, below the brand strip. */
.pnv-hero .pnv-scope-picker {
	position: absolute;
	top: 28px;
	left: 50%;
	transform: translateX( -50% );
	z-index: 6;
}

@media ( max-width: 768px ) {
	.pnv-hero .pnv-scope-picker {
		top: auto;
		bottom: 110px;
		max-width: calc( 100vw - 32px );
	}
	.pnv-scope-picker__select {
		min-width: 140px;
		font-size: 11px;
	}
}
