use card style for search box instead of panel