Center text in input fields and adjust width for mobile devices