/* Login page, from the Figma frame "VitusDenmark Login page" (Vitus Denmark file, node 6330:3). */

body.login-body {
    margin: 0;
    background: #f5f5f5;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
}

.login-page {
    display: flex;
    gap: 118px;
    max-width: 1290px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 30px 24px;
}

/* Equal outer rows keep the sign-in block centered while the logo and footer pin to the edges. */
.login-panel {
    flex: 0 0 359px;
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    row-gap: 40px;
    padding: 26px 0 5px;
}

.login-logo {
    align-self: start;
    width: 107px;
}

.login-title {
    margin: 0 0 14px;
    color: #333;
    font-family: inherit;
    font-size: 50px;
    font-weight: normal;
    line-height: normal;
}

.login-subtitle {
    margin: 0 0 26px;
    font-size: 16px;
}

.login-footer {
    align-self: end;
    margin: 0;
    font-size: 16px;
    opacity: .5;
}

.login-image {
    flex: 0 1 765px;
    min-width: 0;
    border-radius: 15px;
    background: url(images/login.jpg) center / cover no-repeat;
}

.login-errors .validation-summary-errors {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 3px;
    background: #fdecea;
    color: #a94442;
}

    .login-errors .validation-summary-errors ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

.login-sso-form + .login-sso-form {
    margin-top: 12px;
}

.login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

    .login-button:hover,
    .login-button:focus {
        border-color: #b5b5b5;
        background: #fafafa;
    }

    .login-button img {
        width: 26px;
        height: 26px;
        margin-right: 8px;
    }

.login-divider {
    display: flex;
    align-items: center;
    margin: 26px 0 20px;
    color: rgba(51, 51, 51, .5);
    font-size: 14px;
}

    .login-divider::before,
    .login-divider::after {
        content: "";
        flex: 1;
        border-top: 1px solid #d8d8d8;
    }

    .login-divider span {
        padding: 0 12px;
    }

.login-password-form label {
    color: #333;
    font-size: 14px;
}

.login-password-form .form-control {
    height: 44px;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
    box-shadow: none;
    color: #333;
    font-size: 16px;
}

    .login-password-form .form-control:focus {
        border-color: #446e63;
        box-shadow: 0 0 0 3px rgba(68, 110, 99, .2);
    }

.login-password-form .field-validation-error {
    color: #a94442;
}

.login-password-form a {
    color: #446e63;
}

.login-password-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

    .login-password-options .login-checkbox {
        margin: 0;
        font-weight: normal;
    }

.login-checkbox input {
    margin: 0 6px 0 0;
    vertical-align: -2px;
}

.login-new-account {
    display: block;
    margin: 0 0 20px;
    font-weight: normal;
}

@media (max-width: 991px) {
    .login-page {
        justify-content: center;
    }

    .login-panel {
        flex-shrink: 1;
        min-width: 0;
    }

    .login-image {
        display: none;
    }
}
