Space trains are such a fun sci-fi idea, like just a train flying through space.
Like you get all the fun of a space ship but you can make it refined and full of glitz and glamor. Like I am imaging like an old streamliner with art deco cars just floating through space.
And if you want a more working class setting you can do that by taking inspiration from a modern diesel and American stainless steel trains to make it seem less fancy and add some grime and you get a perfect setting for a cheap transport across the vastness of space
And you could combine the ideas by making the beautiful art deco cars be at the back of the train so they can have a better view and have the working class more bare bones basic cars near the front because they would be hotter from the engines
And the train stations would be grand space stations on the orbit of planets with luxury restaurants and shopping and they are designed in the traditional architecture of the planets culture to attract the wealthy tourists that travel, with smaller shuttles between the great cities of the planet and the space stations.