Refactor search styling