Move invalid input styles to common.css