Well, there was a movie called Blast From the Past. It was a comedy though, so I don’t think it tried to be terribly realistic. Also in Asimov’s Foundation, the planet of Trantor is pretty much completely indoors. According to him the children there are extremely agoraphobic.
Those are what inspired my question.