The Dayton Agreement left Bosnia with a collective presidency , made up of Croat , Muslim and Serb members and divided the country into a Serb Republic and Muslim-Croat Federation .