Refactor search page for styling