How to style login / subscribe modals?

It is possible, but it is a little more complicated.

I described the process here:

You can check the effect on my site (I translated modal to display it in Polish and changed it a little):
https://javowiec.pl/