.menu-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--menu-height);
    z-index: 1100;
    background: var(--mud-palette-appbar-background, #0a1120);
    border-bottom: 1px solid rgba(56,189,248,0.10);
    overflow: visible;
    backdrop-filter: blur(12px);
}

.mud-appbar {
    overflow: visible;
}

.menu-topbar__container {
    height: var(--menu-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    width: 100%;
}

.menu-topbar__left {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-topbar__right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Content offset under fixed topbar */
.mud-main-content, main, .main-content, .content {
    padding-top: calc(var(--menu-height) + 8px);
}

/* Nav links */
.menu-topbar__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-navlink {
    color: inherit;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 4px;
}

.menu-navlink.active {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* User/Profile area */
.menu-userwrap {
    display: flex;
    align-items: center;
}

.menu-userwrap .mud-chip {
    cursor: pointer;
}

.menu-item-logout {
    color: var(--mud-palette-error);
    font-weight: 500;
}

/* Small screens */
@media (max-width: 900px) {
    .menu-topbar__container {
        padding: 0 8px;
    }
}
