Modified styles and changed the type of input fields