Added styling to error and success messages