Ionic 4 - remove shadow box from ion-searchbar

I am trying to remove the box-shadow from the searchbar through css but it’s not working like this:

.searchbar-input {
  box-shadow: none !important;

but it doesn’t work.

However if I edit it directly by inspecting the website it works as expected:

Any idea on how to do this?


you need to put this style in your global.scss file and it will work


Thank you. for your answer !!
this is correct answer.