@import url("./ctwo.brand.css");


body, html {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    width: 100%;
    font-size: 62.5%;
    line-height: 1.5 !important;
    overflow: hidden;
}

h1 { font-size: 28px; font-style: normal; font-variant: normal; font-weight: 100; line-height: 46.2px; }
h2 { font-size: 20px; font-style: normal; font-variant: normal; font-weight: 100; line-height: 32.2px; }
h3 { font-size: 18px; font-style: normal; font-variant: normal; font-weight: 100; line-height: 24.2px; }
p, table { font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 20px; }
blockquote { font-size: 21px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 30px; }
pre { font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; line-height: 18.5714px; }

.ctwo-logo {
    position: absolute;
    top: 24px;
    left: 24px;
}

.root, body > div#root {
    height: 100%;
}

.loginArea {
    display: flex;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(to bottom, #0F0F0F 77%, var(--ctwo-white) 22%);
    position: relative;
}

.loginContainer {
    z-index: 2;
    width: 100%;
    margin-left: auto;
    box-sizing: border-box;
    margin-right: auto;
    display: block;
    max-width: 450px;
    font-size: 14px;
    transform: translateY(-40px);
}

.login-img-container {
    position: absolute;
    width: 100%;
    height: 205px;
    top: 77%;
    left: 0;
    transform: translateY(-5%);
    overflow: hidden;
}

.login-img-container .login-img {
    background-image: url("gfx/login-cover.svg");
    color: var(--ctwo-black);
    background-repeat: repeat-x;
    background-position: center top;
    background-size: contain;
    width: 100%;
    height: 100%;
    clip-path: inset(6px 0 0 0);
}

.login {
    background-color: var(--ctwo-grey-825);
    color: var(--ctwo-white);
    padding: 3rem;
}

.loginContainer .form-control:focus {
    background-color: inherit;
    color: inherit;
    border-color: transparent;
    outline: 0;
}

.welcome-header-text {
    margin: 0px 0px 8px;
    line-height: 1.5;
    font-weight: 700;
    font-size: 24px;
    text-align: center;
}

.welcome-text {
    margin: 0px 0px 32px;
    line-height: 1.5;
    color: rgb(64, 64, 64);
    font-weight: 700;
    font-size: 18px;
}

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
}

.login-divider:not(:empty)::before {
    margin-right: 10px;
}

.login-divider:not(:empty)::after {
    margin-left: 10px;
}

.loginContainer button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 260px;
    width: 100%;
    height: 41px;
    border: none;
    background-color: #E4F726;
    color: var(--ctwo-black);
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 19px;
    margin-bottom: 1em;
    border-radius: 6px;
}

.loginContainer button:hover {
    background-color: #acbf1d;
}

.loginContainer button:disabled {
    cursor: initial
}

.spinner-button-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    pointer-events: none;
    border-radius: 6px;
    transition: opacity 0.3s ease-in-out;
}

.login input::placeholder {
    color: #969090;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}

.login input, input[type=password] {
    display: flex;
    padding: 10px 16px;
    gap: 16px;
    width: 100%;
    background-color: inherit;
    height: 45px;
    border: 0.1px solid var(--ctwo-grey-600);
    border-radius: 6px;
    color: var(--ctwo-white);
    font-size: 14px;
    font-weight: 400;
    outline: none;
    margin-bottom: 1.6rem;
}

#buildnumber {
    font-size: 12px;
    font-weight: 600;
    bottom: 5px;
    right: 5px;
    text-align: center;
    position: absolute;
    color: var(--ctwo-grey-400);
    left: 50%;
    transform: translate(-50%);
}

::-webkit-input-placeholder{
   color: rgba(255,255,255,0.6);
}

::-moz-input-placeholder{
   color: rgba(255,255,255,0.6);
}

.login h1 {
    font-size: 22px;
    margin-top: -20px;
    margin-left: -30px;
}

.validation-area {
    min-width: var(--ctwo-sidebar-width);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.validation-area-head-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.validation-footer {
    width: 100%;
    opacity: 0.9;
    border: 1px solid #fff;
    display: contents;
    background: none;
    border: none;
    color: #2E2D2C;
    font-size: 14px;
    font-weight: 600;
}

.validation-area h1 {
    margin-top: 10px;
    margin-left: 0px;
    padding-bottom: 0.75em;
}

.validation-area p {
    font-size: 16px;
    max-width: 340px;
    text-align: center;
}

.modal-content {
    padding: 2rem;
}

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

.modal-header .close {
    margin: 0;
}

.modal-body {
    font-size: 14px;
}

.button-footer {
    width: 40% !important;
    min-width: fit-content !important;
}

.error-text {
    color: #fff;
}

.warning-icon {
    fill: var(--ctwo-red-700);
}

.icon {
    width: 16px;
    height: 16px;
    vertical-align: -2px;
}

/* -- Loading Spinners: https://loading.io/css/ ------------------------------------------- {{{ */
.spinner-button-backdrop {
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    right: -1px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    transition: opacity 300ms ease-in-out;
}

.spinner-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
}
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis.dark div {
    background: #E4F726;
}
.lds-ellipsis.centered {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}
/* -- Loading Spinners: https://loading.io/css/ ------------------------------------------- }}} */

a {
    cursor: pointer;
    text-decoration: none;
    color: #CECECE !important;
    font-weight: 600;
    background-color: transparent;
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    line-height: 36px;
}

.sign-in-azureActiveDirectory, .sign-in-singleSignOn {
    display: flex;
    height: 41px;
    padding: 0 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    width: auto;
    background-color: #2F2F2F;
    font-family: "Segoe UI", sans-serif;
    border-radius: 6px;
}

.sign-in-azureActiveDirectory:hover, .sign-in-singleSignOn:hover {
    background-color: #1f1f1f;
}

.sign-in-azureActiveDirectory p, .sign-in-singleSignOn p {
    font-size: 14px;
    font-weight: 600;
    padding: 0 8px;
}

#select-login-area .row {
    gap: 10px;
}

#select-login-area .row > div {
    flex: 1;
    text-align: center;
    min-width: fit-content;
    position: inherit;
}
