The impact of educational environment on academic thriving among medical students: insights from a multinational cross-sectional survey | Synapse