you can achive this with basic css. here is an example ive made for you, you can just work on this and achive what you want:
(mobile version might need other css too)
.LogInButtons>.LogInButtonContainer>.FoFLogInButton>.Button-label {
display: none!important;
}
.LogInButtons {
width: 18%;
}
.Modal-body {
display: flex;
justify-content: space-around;
flex-direction: row-reverse;
}
