Added max-width property for error messages.