The human body will process carbohydrates the same way first thing in the morning as it does right before bed. So feel free to eat some carbs before bed. It will not hinder your fat loss one bit. In fact, newer studies have even shown that consuming carbs before bed may even lead to a slightly higher metabolism, but further research is still needed on this subject.
This may explain why the fat-burning effects of eating more protein were confirmed in a study published in the American Journal of Physiology. One group was fed a high-protein diet (just over 1 gram per pound of body weight per day) while the second group consumed an amount closer to the lower recommendation of the RDA (recommended dietary allowance). The group eating the higher-protein diet burned the most fat.