Refactored notice and alert styles