I realized that I bought a ticket that involves a 18-hour layover at Shremetyevo from afternoon to the next day morning. Do the terminals stay open overnight? If so, is it advisable to pass the night in the waiting area?
Yes I have heard from authorities of Shremetyevo airport that this airport remain open in night time and seems very pleasant during night also and you can enjoy your stay there. But I have no experience staying there.