Afghan War figures:-
Strength
Soviet Forces: 115,000 (plus massive war machinery)
Mujahideen: 200,000–250,000 (plus american & paki technical/armament help)
Casualties and losses:-
Soviet Forces: 14,453 Killed (total) & 53,753 Wounded
Mujahideen: 75,000–90,000 killed, & 75,000+ wounded (tentative estimate)
Civilians (Afghan): 850,000–1,500,000 killed
I agree with
@desicanuk, had it not been for the americans and the pakis, russia would have smoked out the mujahideen over a period of time. Plus remember, there were paki regulars with all their CIA/American supplied weaponry/training fighting the Soviets.
US too faces the only problem in AF today, paki interference.
even without american help its difficult to wage a war in a country like afghanistan way back then.even with least support from outside,afghans scared us which has world's superior tech
the environment there is unforgiving