.topbar {
	display: flex;
	align-items: center;
	gap: 18px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	min-height: 88px;
	position: relative;
}

.app-topbar {
	flex-wrap: nowrap;
	margin: 0px 10vw;
}

.topbar-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.topbar-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.topbar-logo {
	width: auto;
	height: 34px;
	display: block;
}

.mobile-menu-toggle,
.mobile-menu-close {
	display: none;
}

.topbar-panel {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	flex: 1;
}

.topbar-panel-header {
	display: none;
}

.topbar-nav {
	display: flex;
	align-items: center;
	gap: 10px;
	list-style: none;
	flex-wrap: wrap;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.topbar-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 12px;
	text-decoration: none;
	color: var(--muted);
	border: 1px solid transparent;
	background: rgba(18, 26, 44, 0.2);
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.topbar-link ion-icon {
	font-size: 1.1rem;
}

.topbar-link:hover {
	color: var(--text);
	border-color: rgba(90, 120, 180, 0.35);
	background: rgba(18, 26, 44, 0.5);
}

.topbar-link.is-active {
	color: #f5f8ff;
	border-color: rgba(40, 199, 111, 0.5);
	background: rgba(40, 199, 111, 0.2);
}

.topbar-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: 0;
}

.logout-topbar-button {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.logout-topbar-button ion-icon {
	font-size: 1.15rem;
}

.icon-button {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	padding: 0;
}

.user-chip {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(18, 26, 44, 0.6);
	border: 1px solid rgba(90, 120, 180, 0.3);
	padding: 6px 12px;
	border-radius: 999px;
}

.avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(92, 141, 255, 0.12);
	display: grid;
	place-items: center;
	font-weight: 700;
}

.mobile-nav-overlay {
	display: none;
}

@media (min-width: 901px) {

	.mobile-menu-toggle,
	.mobile-menu-close,
	.mobile-nav-overlay {
		display: none !important;
	}

	.topbar-panel {
		position: static;
		height: auto;
		width: auto;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0;
		background: transparent;
	}
}
