An estimated 8,000 refugees have crossed into Hungary from the Croatian border after taking a detour from Serbia.