Make background dark when searching

Hello everyone, I’m using with the help of data-ghost-search a search box on the website

When pressing this button the website pops a white search bar and the background becomes, by default, a bit blurry.

However I wanted on top of that 2 things:

  • make the background way darker
  • change the magnifying glass icon on the popup

what would be the best solution for this?

also. there’s no way of not having a pop-up right? having just a regular search bar?