At least 8 people have lost their lives and a dozen more wounded as Taliban militants in Afghanistan bomb attacked a hotel in the northwestern province of Badghis, officials have announced.