/* Login visual treatment: keep the light background distinct from the form card. */
body.auth-bg {
    --auth-ink: #1f3154;
    --auth-border: #d5e1ee;
    background-color: #e5edf7 !important;
    background-image:
        linear-gradient(135deg, rgba(31, 73, 116, .13), rgba(229, 237, 247, .68)),
        var(--auth-bg-image) !important;
}

body.auth-bg .auth-brand-panel {
    color: var(--auth-ink);
}

body.auth-bg .auth-brand-lockup {
    gap: .75rem;
    margin-bottom: 2rem;
}

body.auth-bg .auth-brand-logo {
    display: block;
    width: min(300px, 42vw);
    max-height: 86px;
    object-fit: contain;
}

body.auth-bg .auth-brand-illustration {
    display: block;
    width: min(220px, 30vw);
    max-height: 250px;
    object-fit: contain;
}

body.auth-bg .auth-login-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--auth-border) !important;
    box-shadow: 0 1.25rem 3rem rgba(31, 49, 84, .14), 0 .2rem .65rem rgba(31, 49, 84, .06);
}

body.auth-bg .auth-login-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    content: '';
    background: linear-gradient(90deg, #0d9be8, #54c5f5);
}

body.auth-bg .auth-login-card .form-control {
    border-color: #c8d7e8;
    background-color: #fff;
}

body.auth-bg .auth-login-card .form-control::placeholder {
    color: #7f8da6;
    opacity: 1;
}

body.auth-bg .auth-login-card .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .12);
}

@media (max-width: 991.98px) {
    body.auth-bg .auth-login-card {
        width: 100%;
        max-width: 600px;
        min-height: auto;
    }

    body.auth-bg .auth-brand-lockup {
        margin-bottom: 1.25rem;
    }

    body.auth-bg .auth-brand-logo {
        width: min(220px, 58vw);
        max-height: 70px;
    }

    body.auth-bg .auth-brand-illustration {
        width: min(170px, 48vw);
        max-height: 190px;
    }
}
