When you add Text Search element to the search block initially you will see that there is an input
You will find the
Text Search panelwill appear in a modal.
This can be used to change
Custom Class Name
After you change necessary configuration then it will look similar to the below Snap,