[Ticket/12598][Rebase] Improve search box styling

Rebase of : https://github.com/phpbb/phpbb/pull/2504

Rebased and made some minor fixes

https://tracker.phpbb.com/browse/PHPBB3-12598
PHPBB3-12598