Improved alert formatting