added input error styles as well