#background-video {

    min-width: 100%;
    min-height: 100%;
    
    object-fit: cover;
    
    position: fixed;
    inset: 0;
    z-index: -1;
}

::placeholder {
    color: var( --color-placeholder );
}

.ui-login {

    width: 100%;
    height: 100%;

    position: relative;
    z-index: 1;

    h1, h2 {
      
        font-weight: 100;
        
        margin: 0;
        padding: 0;        
    }

    .ui-row {
        padding: 0.5% 0;
    }

    .ui-login-wrapper {
      
        width: 50%;        
        
        display: grid;
        grid-template-columns: 1fr 0.5fr;
        align-items: center;
        justify-items: stretch;
        align-content: center;

        box-shadow: none;
        border-radius: 0.5rem;
        transform: translate( -50%, -50% );
        
        position: absolute;
        top: 50%;
        left: 50%;
        
        overflow: hidden;

        .ui-login-left {
                    
            width: 100%;
            height: 100%;

            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;

            background-color: rgba( 255, 255, 255, 0.9 );
            backdrop-filter: blur( 0.25rem );

            .app-title {

                /* Fluid between a 400px and 1200px viewport, replacing the old fixed size +
                   @media( max-width: 767px ) override below with a smooth scale between the
                   same two endpoints (24px at the low end, 54px at the top). */
                font-size: clamp( 1.5rem, 0.5625rem + 3.75vw, 3.375rem );
                text-align: center;
                vertical-align: middle;

                color: var( --color-primary );
            }

            .app-subtitle {

                /* Same treatment as .app-title: fluid between 20px and 36px. */
                font-size: clamp( 1.25rem, 0.75rem + 2vw, 2.25rem );
                text-align: center;
                vertical-align: middle;

                color: var( --color-primary );
            }

            .ui-login-content {

                width: 100%;

                display: flex;
                align-items: center;

                background-color: transparent;
                
                .ui-label {

                    font-size: var( --font-size-xl );
                    font-weight: 100;

                    color: rgba( 33, 37, 41, 0.8 );
                }

                .ui-btn {
                    width: 100%;
                }
            }
        }
        
        .ui-login-right {
                        
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;

            height: 100%;

            background: linear-gradient( 
                            22deg, 
                            rgba( 51, 232, 227, 0.45 ) 0%, 
                            rgba( 96, 148, 233, 0.55 ) 33%, 
                            rgba( 115, 102, 239, 0.25 ) 62%, 
                            rgba( 203, 116, 249, 0.25 ) 100% 
            );
            backdrop-filter: blur( 0.5rem );

            padding: 3rem;

            .company-logo {
                margin-top: 1rem;
            }
        }
        
        .ui-login-content,
        footer {
        
            padding: 2.5%;
            background: var(--color-white-tint);
        }

        .ui-login-informer {
        
            position: relative;
            
            color: var( --color-white );
            
            padding: 0.5rem;            

            h1 {

                font-size: var( --font-size-xl );
                color: var( --color-white );
            }

            p {
                color: var( --color-white );
            }

            .ui-btn {
                
                background: none;
                border: none;
                box-shadow: none;
                
                position: absolute;
                top: 0;
                right: 0;
            }

            &.is-warning {
                background: var( --color-warning-bg );
            }
        }
    }
  
    footer {

        width: 100%;    

        font-size: 0.8em;
        font-weight: 100;
        text-align: right;

        background-color: var( --color-white );
        color: var( --color-footer-text );    

        position: fixed;
        bottom: 0;

        margin: 0;
        padding: 1em;
    }

    @media( max-width: 767px ) {
      
        .ui-login-wrapper {
        
            width: 75%;

            .ui-login-header {
          
                .company-name {

                    font-size: var( --font-size-xl );
                    text-align: center;
                }

                .company {
            
                    display: flex;
                    justify-content: center;

                        .company-logo {
                            width: 50%;
                        }
                }

                .app-title {

                    /* font-size now handled by the fluid clamp() on the base rule. */
                    margin-top: 0;
                }
            }

            .ui-login-content {
          
                .ui-label {

                    font-size: var( --font-size-xl );
                    margin-bottom: 0;
                }
            }
        }
    }
}