How to remove the red border for required error and fix the style?