Afghan refugees are found all over the world, including in the former Soviet republics. Its what happens to a country that has war for 50 years. If you learn about established routes, ethnicity, geography and closed borders, you might realize why Iran and Pakistan, the neighboring countries of Afghanistan have the highest number of refugees. Its not logical to think more Afghan refugees would be found in Moscow or Dushanbe or Dubai rather than border regions of Pakistan and Iran.
Operation Cyclone was the largest CIA covert ops campaign in history and Pakistan was the principal agent. Its how Zia ul Haq and Akhtar Abdur Rahman families and everyone else in the regime got rich. Why don't you learn about Op Cyclone ?
https://en.wikipedia.org/wiki/Operation_Cyclone
The Soviets departed in 1989, yet war continued in Afghanistan for 30+ years. Are you aware of the principal actors post 1989 or I have to explain that to you as well ?
"Pakistan role in Afghanistan was negligible" ....sheer ignorance.