Refactor form styles and index.html