Changing the searchbar's styling

Hi, I want to keep the default white background styling on the searchbar. But for darker backgrounds, I want to change the styling of the search bar to a different color. How can I change the styling for one page and not affect the other ones?

Expected Result: I want to change the styling only for the darker background. How can I do that? Thanks!


Darker color: