&.login-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    background-attachment: fixed;

    .login-splash {
        float: left;
        height: 100%;
        background-color: $accent-color;
        background-image: url("../Images/login-background.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 75% 50%;
        display: none;

        @media (min-width: 768px) {
            & {
                width: 75%;
                max-width: calc(100% - 480px);
                display: block;
            }
        }
    }

    .login-splash::before {
        content: "";
        width: 100%;
        height: 100%;
        display: block;
        background-color: transparent; /*TODO: Add filter color for image when available*/
    }

    .login-splash-logo {
        background-image: url("../Images/datalab_logo_dark.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position-y: 100%;
        width: 90px;
        height: 20px;
        display: block;
        left: 60px;
        bottom: 60px;
        position: absolute;
    }

    .login {
        height: 100%;
        overflow: auto;
        float: right;
        width: 100%;
        padding: 60px 60px;
        padding-bottom: 0;
        background-color: $login-form-background;

        @media (min-width: 768px) {
            & {
                width: 25%;
                min-width: 480px;
            }
        }

        @media (max-width: 575.98px) {
            & {
                padding: 30px;
            }
        }

        .login-logo {
            max-width: calc(80% - 10px);
            max-height: 60px;
            margin-bottom: 2vh;
            width: 100%;
            height: 100%;
            background-image: $login-logo-image;
            background-repeat: no-repeat;
            background-size: contain;
            display: inline-block;
        }

        .login-partner-icon {
            display: inline-block;
            max-height: 60px;
            max-width: 60px;
            height: 15vmin;
            width: 20%;
            margin-left: 5px;
            float: right;
        }

        .login-title {
            font-size: 24px;
            line-height: 29px;
            font-weight: 600;
            letter-spacing: 0;
            margin-top: 7vh;
            margin-bottom: 3vh;
            color: $accent-color;
        }

        .login-form {
            .form-submit {
                font-weight: 600;
                font-size: 16px;
                line-height: 22px;
                letter-spacing: 0;
                padding: 11px 20px;
                color: $light-color;
                position: relative;
                cursor: pointer;

                & > i {
                    position: absolute;
                    top: calc(50% - 7px);
                    left: calc(50% - 7px);
                    transform: translate(-50%, -50%);
                }
            }

            .form-group {
                text-align: left;

                &.has-error input {
                    border-color: $danger-color;
                }

                &.has-error span {
                    color: $danger-color;
                }

                label {
                    font-weight: 600;
                    font-size: 14px;
                    line-height: 19px;
                }

                input {
                    height: 40px;
                    border: 1px solid $input-border-color;
                    font-weight: 300;

                    &:focus {
                        border: 1px solid $accent-color !important;
                    }

                    &:-webkit-autofill,
                    &:-webkit-autofill:hover,
                    &:-webkit-autofill:focus,
                    &:-webkit-autofill:active {
                        border: 1px solid $accent-color;
                        -webkit-box-shadow: 0 0 0 30px $login-filled-input-background inset !important;
                    }
                }
            }
        }

        .login-links {
            position: absolute;
            bottom: 60px;



            & > a {
                font-weight: 600;
                font-size: 13px;
                line-height: 34px;
                color: $solid-link-color;
            }

            & > a:hover {
                color: lighten($solid-link-color, 12);
            }

            & > p {
                margin-top: 33px;
            }

            @media (max-height: 794px) {
                & {
                    position: unset;

                    & > a {
                        line-height: 24px;
                    }
                }
            }

            &.is-pa-news {
                @media (max-height: 900px) {
                    position: static;
                }
            }
        }

        .login-copyright {
            color: $copyright-color;
        }

        .login-hosting-upgrade-notif-holder {
            position: relative;

            .login-hosting-upgrade-notif {
                padding: 16px;
                display: flex;
                border: 1px solid $login-notification-border-color;
                margin-bottom: 16px;

                .login-hu-notif-icon {
                    &.login-hu-notif-icon-bell {
                        background-image: $login-notification-icon-bell;
                        width: 25px;
                        height: 25px;
                        background-position: center center;
                        background-repeat: no-repeat;
                    }
                }

                .login-hu-notif-msg {
                    padding-left: 16px;

                    a {
                        text-decoration: underline;
                    }
                }

                .login-hu-notif-col {
                    flex-grow: 0;
                }

                .login-hu-notif-col-d {
                    flex-grow: 2;
                }
            }

            .login-host-upgrade-notif-preloader-holder {
                position: absolute;
                left: 0;
                top: 0;
                background: rgba(255,255,255, 0.5);
                width: 100%;
                height: 100%;

                .login-host-upgrade-notif-preloader {
                    position: absolute;
                    left: 50%;
                    top: 50%;
                    transform: translate(-50%, -50%);
                }
            }
        }

        .licenses-modal {
            .modal-content {
                padding: 16px;
                max-width: 340px;

                ul {
                    list-style: none;
                    margin: 0;
                    padding: 0;
                    border: 1px solid $input-border-color;

                    li {
                        border-bottom: 1px solid $input-border-color;

                        button.licence-selector {
                            padding: 8px 16px;
                            background: none;
                            border: none;
                            width: 100%;
                            text-align: left;

                            &.active {
                                background-color: rgba($accent-color, 0.1);
                            }
                        }

                        &:last-child {
                            border-bottom: 1px solid $input-border-color;
                            border-bottom: none;
                        }
                    }
                }
            }
        }

        .login-db-upgrade-error-msg {
            border: 1px solid $login-notification-border-color;
            padding: 16px;
            margin-top: 16px;
        }
    }
}

.paw-popup.paw-2fa-login-popup {
    max-width: 400px !important;

    .paw-popup-content{
        height: 100%;
    }

    .paw-2fa-fields {
        padding: 8px 16px;

        .paw-2fa-field {
            padding: 8px 0;

            .form-control {
                border: 1px solid $divider-color;
                height: 40px;

                &:focus {
                    border: 1px solid $accent-color !important;
                }
            }
        }
    }

    .paw-2fa-actions {
        padding: 16px;
        padding-top: 8px;
        border-top: 1px solid $divider-color;
    }

    .paw-2fa-resend-holder {
        align-self: flex-end;
    }

    .paw-2fa-field-label {
        padding-top: 8px;
    }

    .paw-2fa-btn {
        min-height: 40px;

        &.btn-outline{
            border: 1px solid $divider-color;
            margin-right: 4px;
        }
    }

    .paw-2fa-form-error {
        color: red;
    }

    .dropdown.bootstrap-select {
        height: auto !important;
    }
}

.paw-popup.paw-2fa-error-message {
    .paw-2fa-error-content{
        padding: 16px;
    }
}

.paw-popup.paw-2fa-mfa-payment-required-popup{
    max-width: 400px !important;
}