styled for error and success msg