Airbus recently filed a patent for a sleeping box system for its A350 and A380 aircrafts. The 31" x 31" beds would feature all the amenities of an airplane seat, but in a reclining bed.