Can I move search box to header?

Guys, I searched a lot for that but no help was perfect. I couldn’t do it! I will appreciate it very much if you could.

I wish if the search box can be moved to header right with some css edits.

Hi, have you try to place the search box from customize > widgets > header?

Yes, and it had looked very messy, so I hired someone on Fiverr and made it perfect.