styling error and succes classes