html {
    height: 100%;
}

body.no-nav.login-landing {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
}

.login-landing > .container-fluid {
    width: 100%;
    height: 100%;
    margin: 0;
    box-sizing: border-box;
}

.login-landing > .container-fluid > .row {
    height: 100%;
    margin-top: 0;
    padding-top: 0;
    box-sizing: border-box;
}

.login-landing__intro {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    padding: 0;
    background-color: #474747;
    color: #fff;
}

.login-landing__main {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: clamp(24px, 4vh, 48px);
    box-sizing: border-box;
}


.login-landing__subtitle,
.login-landing__description {
    color: #fff;
}

.login-landing__description {
    margin-bottom: 0;
}

.login-landing__module {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
}

.login-landing__footer {
    position: static;
    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
    /* padding: 0 20px clamp(12px, 2vh, 20px); */
    padding: 14px 20px 16px;
    color: #f2f2f2;
    margin: 0 0 4px;
}

.login-landing__footer-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
}

.login-landing__footer-content::before,
.login-landing__footer-content::after {
    display: none;
}

.login-landing__copyright {
    line-height: 1.4;
}

.login-landing__company {
    color: #ff6b00;
    font-weight: bold;
}

.login-landing__company:hover,
.login-landing__company:focus,
.login-landing__privacy:hover,
.login-landing__privacy:focus {
    color: #ff8a3d;
}

.login-landing__privacy {
    display: block;
    color: #d9d9d9;
    line-height: 1.4;
}

.signup-landing .login-landing__module {
    align-items: center;
    padding-right: clamp(20px, 2vw, 28px);
    padding-left: clamp(20px, 2vw, 28px);
}

.signup-landing .login-landing__module-content {
    width: 100%;
    max-width: 350px;
    box-sizing: border-box;
}

.signup-landing #RegisterBtn {
    background-color: #474747;
    border-color: #474747;
    color: #fff;
}

.signup-landing #RegisterBtn:hover,
.signup-landing #RegisterBtn:focus {
    background-color: #3f3f3f;
    border-color: #3f3f3f;
    color: #fff;
}

@media (max-width: 767px) {
    body.no-nav.login-landing {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .login-landing > .container-fluid,
    .login-landing > .container-fluid > .row {
        height: auto;
        min-height: 100vh;
    }

    .login-landing > .container-fluid > .row {
        display: flex;
        flex-direction: column;
    }

    .login-landing__intro.hidden-xs {
        display: flex !important;
        order: 2;
        height: auto;
    }

    .login-landing__main {
        display: none;
    }

    .login-landing__module {
        order: 1;
        height: auto;
        justify-content: flex-start;
    }

    .signup-landing .login-landing__module {
        padding-left: 20px;
        padding-right: 20px;
    }

}

.landing-info-panel {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 40px 42px;
    flex: 1 0 auto;
    min-height: 0;
}

.landing-info-content {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.landing-info-title {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

.landing-info-description {
    margin: 0 0 30px;
    color: #d0d3d8;
    font-size: 14px;
    line-height: 1.7;
}

.landing-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
}

.landing-info-icon {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: 16px;
    border-radius: 8px;
    background-color: #5a5a5a;
    color: #ffffff;
    font-size: 19px;
}

.landing-info-item-content {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.landing-info-item-title {
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
}

.landing-info-item-description {
    color: #d0d3d8;
    font-size: 13px;
    line-height: 1.6;
    text-align: left;
}

.login-landing__module-content {
    box-sizing: border-box;
    width: 100%;
    max-width: 415px;
    max-height: none;
    overflow: visible;
    padding: 4px 10px;
}

/* Shorter laptop viewports */
@media (max-height: 850px) {
    .login-landing__module-content > .text-center img {
        max-height: 42px !important;
        width: auto;
    }

    #mainContainer {
        margin: 16px !important;
    }

    #mainContainer .form-group {
        margin-bottom: 12px;
    }
}

/* More compact layout for 13–14 inch laptop viewports */
@media (max-height: 750px) {
    .login-landing__module-content > .text-center img {
        max-height: 36px !important;
    }

    #mainContainer {
        margin: 10px !important;
    }

    #mainContainer .form-group {
        margin-bottom: 8px;
    }

    #mainContainer .form-control {
        height: 34px;
        padding: 6px 10px;
    }

    #mainContainer .btn {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

/* Very short viewports */
@media (max-height: 650px) {
    .login-landing__module-content > .text-center img {
        max-height: 40px !important;
    }

    #mainContainer {
        margin: 18px !important;
    }

    #mainContainer .form-group {
        margin-bottom: 6px;
    }
}

@media (max-width: 767px) {
    .landing-info-panel {
        padding: 30px 22px;
    }

    .landing-info-title {
        font-size: 22px;
    }
}
