body {
    background-color: var(--dci-paint-grey-80);
}

body.test {
    background: var(--dci-paint-grey-80) linear-gradient(0deg, var(--dci-paint-grey-80) 50%, var(--dci-paint-aimtec-red) 50%) no-repeat;
}

body.test .header {
    color: var(--dci-paint-grey-0);
}

body.archive {
    background: linear-gradient(0deg, var(--dci-paint-grey-80) 50%, var(--dci-paint-aimtec-green) 50%) no-repeat;
}

body.archive .header {
    color: var(--dci-paint-grey-0);
}

body.unknown {
    background: linear-gradient(0deg, var(--dci-paint-grey-80) 50%, var(--dci-paint-grey-40) 50%) no-repeat;
}

body.unknown .header {
    color: var(--dci-paint-grey-100);
}

body.development, body.prototype {
    background: linear-gradient(0deg, var(--dci-paint-grey-80) 50%, var(--dci-paint-aimtec-blue) 50%) no-repeat;
}

body.development .header, body.prototype .header {
    color: var(--dci-paint-grey-0);
}

.container {
    max-width: 810px;
    margin: 0 auto;
}

.header {
    color: var(--dci-paint-grey-0);
    text-transform: uppercase;
    padding: 24px 0;
}

.header h1 {
    font-size: 24px;
}

.content {
    min-height: 379px;
}

.content .content__left {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    background-color: var(--dci-paint-grey-10);
    width: 240px;
    height: 100%;
}

.content .content__left .logo {
    padding: 49px;
    width: 142px;
    box-sizing: initial;
}

.content .content__right {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    background-color: var(--dci-paint-grey-0);
    width: 570px;
    height: 100%;
}

.content .content__right > .content__right-wrap {
    padding: 60px 120px;
}

.footer {
    text-align: end;
    color: var(--dci-paint-grey-30);
    height: 80px;
    font-size: 14px;
    align-items: baseline;
    justify-content: flex-end;
}

.footer .footer__wrapper {
    padding-top: 20px;
}

.footer .footer__wrapper ul {
    line-height: 24px;
    list-style-type: none;
    padding: 0;
}

.footer .footer__wrapper ul ~ ul {
    margin-left: 30px;
}

.footer .footer__wrapper ul li {
    display: inline;
}

.footer .footer__wrapper ul li:not(:last-of-type) {
    margin-right: 30px;
}

.footer .footer__wrapper .separator {
    display: none;
}

.footer .footer__wrapper .logo {
    width: auto;
    height: 17px;
    position: relative;
    top: 1px;
}

.login-form,
.social-providers {
    width: 330px;
}

.login-form .dci-input--margin-bottom {
    margin-bottom: 20px;
}

.dci-btn {
    width: 100%;
}

.dci-btn {
    margin-top: 40px;
}

.dci-mt-60 {
    margin-top: 60px;
}

*[class^="license-state"] i { margin-right: 6px; }
.license-state--unlicensed {
    background-color: var(--dci-paint-error);
    padding: 1px 6px 1px 6px;
    border-radius: 15px;
}
.license-state--unlicensed i { background-color: var(--dci-paint-grey-0); }
.license-state--licensed i { background-color: var(--dci-paint-grey-30); }

.about {
    display: none;
    position: absolute;
    z-index: 20;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: var(--dci-box-shadow-base);
    background: var(--dci-paint-grey-0);
    border-radius: var(--dci-border-radius-base);
    border: var(--dci-border-width-base) solid var(--dci-paint-grey-30);
    max-width: 481px;
    width: 481px;
}
.about__header .close-icon {
    padding: 15px 15px 0 0;
}
.about__header .close-icon i {
    cursor: pointer;
}
.about__content {
    padding: 0 30px 30px 30px;
    min-height: 250px;
}
.about__logo {
    padding: 0 30px;
    display: flex;
    justify-content: center;
}
.about__logo img {
    width: 100px;
}
.about__content p, .about__footer p {
    margin: 0;
}
.about__content h1 {
    font: normal normal bold 12px/21px Inter;
    margin: 0;
}
.about__content.legalInformation__wrapper  {
    height: 250px;
}
.about__content .legalInformation {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    height: 100%;
    overflow-y: auto;
    word-wrap: break-word
}
.about__content h1 i {
    padding-right: 8px;
}
.about__license-info p {
    font: normal normal normal 10px/18px Inter;
}
.about .separator {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--dci-paint-grey-30);
    margin: 20px 0;
}
.about .margin-30 {
    margin: 0 30px;
}
.about__footer {
    padding: 30px;
    background: var(--dci-paint-grey-10);
    font: normal normal normal 10px/18px Inter;
}
.about__footer__logo {
    width: 82px;
}
.about.active {
    display: block;
}
.background__cover {
    position: absolute;
    top: 0;
    z-index: 10;
    background-color: rgba(0,0,0,0.2);
}

.line-with-text {
    display: flex;
    align-items: center;
    text-align: center;
}

.line-with-text::before,
.line-with-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.line-with-text .text {
    padding: 0 10px;
}

/* OAuth/SSO provider buttons: light gray background, dark text, thin border (match original login) */
.social-providers .dci-btn {
    display: block;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    background: var(--dci-paint-grey-10);
    color: var(--dci-paint-grey-100);
    border: 1px solid var(--dci-paint-grey-30);
}
.social-providers .dci-btn:hover {
    background: var(--dci-paint-grey-20);
    border-color: var(--dci-paint-grey-40);
}

.login-form .dci-input__group .dci-input+.dci-icon.dci-password {
    /* show as clickable icon */
    position: absolute;
    right: 1.5px;
    top: 1.5px;
    background-color: transparent;
    border: none;
    padding: 7px;
    cursor: pointer;
}

@media (max-width: 870px) {
    .container {
        align-items: center;
        max-width: unset;
        width: auto;
    }
    .header h1 {
        font-size: 18px;
    }
    .content {
        flex-direction: column;
        height: auto;
        max-height: unset;
        min-height: unset;
    }
    .content .content__left {
        border-top-right-radius: 6px;
        border-bottom-left-radius: 0;
        min-width: 350px;
        min-height: 200px;
        max-width: 350px;
        max-height: 200px;
    }
    .content .content__right {
        border-top-right-radius: 0;
        border-bottom-right-radius: 6px;
        border-bottom-left-radius: 6px;
        width: 350px;
    }
    .content .content__right > .content__right-wrap {
        padding: 30px 20px;
    }
    .login-form,
    .social-providers {
        width: 100%;
    }
    .footer {
        width: 350px;
        justify-content: center;
    }
    .footer .footer__wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    .footer .footer__wrapper ul {
        padding: 13px 0;
    }
    .footer .footer__wrapper ul ~ ul {
        margin-left: initial;
    }
    .footer .footer__wrapper .separator {
        display: block;
        height: 1px;
        width: 100%;
        border-bottom: 1px solid var(--dci-paint-grey-70);
    }
    .footer .footer__wrapper .logo {
        top: unset;
    }
}
