/* css/navbar.css
   Site header. One row instead of a nav bar plus a separate telemetry/
   marketing strip - sim status and account balances now live inside their
   own dropdowns instead of being permanently on screen. The only deliberate
   flourish is the brand mark's gradient + the active-link accent bar;
   everything else stays quiet and flat on purpose. */

.ss-navbar {
	background: rgb(13, 15, 19);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.ss-navbar .container {
	min-height: 64px;
}

/* ---- Brand ---- */
.ss-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: white;
	font-size: 1.28em;
}
.ss-brand:hover {
	color: white;
}
.ss-brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	flex-shrink: 0;
	background: linear-gradient(135deg, rgb(150, 105, 230), rgb(98, 60, 180));
	box-shadow: 0 2px 8px rgba(120, 80, 200, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.ss-brand-mark i {
	font-size: 14px;
	color: white;
	transform: rotate(45deg);
}
.ss-brand-text {
	font-family: 'Space Grotesk', 'DINPro-Medium', sans-serif;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.ss-brand-text .accent {
	color: rgb(190, 150, 255);
}

/* ---- Primary links ---- */
.ss-navbar .nav-link {
	color: rgb(190, 192, 198);
	font-weight: 600;
	font-size: 0.95em;
	padding: 9px 14px !important;
	border-radius: 8px;
	transition: color 0.15s, background-color 0.15s;
}
.ss-navbar .nav-link:hover {
	color: white;
	background: rgba(255, 255, 255, 0.06);
}
.ss-navbar .nav-link.active {
	color: white;
	background: rgba(150, 105, 230, 0.16);
}
.ss-nav-main {
	gap: 2px;
}
.ss-nav-actions {
	gap: 6px;
}
.ss-navbar .dropdown-toggle::after {
	opacity: 0.6;
	vertical-align: 0.14em;
}

/* ---- Dropdown menus (shared shell for More / sim status / account) ---- */
.ss-dropdown {
	background: rgb(24, 26, 32);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
	padding: 8px;
	margin-top: 10px !important;
}
.ss-dropdown .dropdown-item {
	color: rgb(210, 212, 218);
	border-radius: 8px;
	padding: 8px 10px;
	font-size: 0.92em;
	font-weight: 500;
}
.ss-dropdown .dropdown-item:hover, .ss-dropdown .dropdown-item:focus {
	background: rgba(255, 255, 255, 0.07);
	color: white;
}
.ss-dropdown .dropdown-item.active {
	background: rgba(150, 105, 230, 0.18);
	color: white;
}
.ss-dropdown .dropdown-item.disabled {
	color: rgb(120, 122, 128);
}
.ss-dropdown .dropdown-item.disabled:hover {
	background: none;
}
.ss-dropdown .dropdown-divider {
	border-color: rgba(255, 255, 255, 0.08);
	margin: 6px 4px;
}
.ss-dropdown .dropdown-item-text {
	padding: 4px 10px 8px;
}
/* Bootstrap's .text-muted is tuned for light backgrounds - on this
   near-black dropdown it renders as dark gray on dark gray. Override it
   here rather than reach for dropdown-menu-dark, since these dropdowns
   are already fully custom-styled. */
.ss-dropdown .text-muted {
	color: rgb(150, 152, 158) !important;
}

/* ---- Sim status pill ---- */
.ss-sim-pill {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
}
.ss-sim-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	flex-shrink: 0;
	background: rgb(220, 80, 80);
	box-shadow: 0 0 0 3px rgba(220, 80, 80, 0.18);
}
.ss-sim-dot.connected {
	background: rgb(70, 200, 110);
	box-shadow: 0 0 0 3px rgba(70, 200, 110, 0.18);
}
.ss-sim-dropdown {
	min-width: 260px;
}
.ss-sim-detail {
	padding: 6px 8px;
	font-size: 0.88em;
	color: rgb(190, 192, 198);
}
.ss-sim-aircraft {
	color: white;
	font-weight: 600;
	margin-bottom: 8px;
}
.ss-sim-stats {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

/* ---- Account dropdown ---- */
.ss-account-toggle {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
}
.ss-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	flex-shrink: 0;
	font-size: 12px;
	font-weight: bold;
	color: white;
	background: linear-gradient(135deg, rgb(120, 80, 200), rgb(60, 40, 110));
	overflow: hidden;
}
.ss-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ss-account-name {
	white-space: nowrap;
}
.ss-account-dropdown {
	min-width: 250px;
}
.ss-stat-row {
	display: flex;
	gap: 6px;
	padding: 4px 4px 8px;
}
.ss-stat {
	flex: 1 1 0;
	text-align: center;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 8px;
	padding: 8px 4px;
}
.ss-stat-label {
	font-size: 0.68em;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgb(150, 152, 158);
	margin-bottom: 2px;
}
.ss-stat-value {
	font-family: 'JetBrains Mono', 'DINPro-Medium', monospace;
	font-weight: 600;
	font-size: 0.95em;
	color: white;
	white-space: nowrap;
}
.ss-stat-value.cash {
	color: rgb(110, 215, 130);
}
.ss-stat-value.bank {
	color: rgb(120, 180, 235);
}

/* ---- Sign up CTA ---- */
.ss-cta {
	border-radius: 20px;
	font-weight: bold;
	padding: 7px 18px;
}

/* ---- Mobile collapse ---- */
@media (max-width: 991.98px) {
	.ss-navbar .navbar-collapse {
		margin-top: 10px;
		padding-top: 10px;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}
	.ss-nav-main, .ss-nav-actions {
		gap: 2px;
	}
	.ss-dropdown {
		box-shadow: none;
		border: none;
		background: rgba(255, 255, 255, 0.03);
		margin-top: 2px !important;
	}
	.ss-cta {
		display: inline-block;
		margin-top: 6px;
	}
}
@media (max-width: 576px) {
	.ss-brand {
		font-size: 1.15em;
	}
	.ss-brand-mark {
		width: 28px;
		height: 28px;
	}
}
