I need to customize the login page for each of my application. It means different application with different UI

Hello Team,

I wanted to do customisation of universal login page, suppose I have two applications in same tenant. I wanted to have different login page UI (customized login page) for different application. I have two applications under single tenant and i wanted to customise the login page for application1 and application2 separatly. It means two applications should have different login page.
How to do this. Please provide me step by step answer. How to do this?