html, body {
    height: 100%;
    min-height: 988px;
    margin-bottom: 0;
}

body {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    background-image: unset!important;
}

div.content {
    height: calc(100% - 100px);
}

#mainContentContainer {
    margin: 0px;
    height: 100%;
}

#mainContentContainer h2 {
    margin: 0px;
}

#mainContentContainer h2, .login-container label, .login-container select, .login-container span.showPwdSupplier {
    color: #737373;
}

.login-container i {
    color: #19acee;
}

.login-container .showPwdSupplier:hover {
    cursor: pointer;
}

.login-container label, .login-container .showPwdSupplier {
    font-size: 18px;
}

.login-container label, .login-container span.showPwdSupplier {
    font-weight: bold;
}

.login-container div.input-group-text {
    width: 100%;
    background: white;
    border-color: #aaa;
}

.login-container select, .login-container input, .login-container div.input-group-text,
.login-container button {
    height: 45px;
}

.login-container label, .login-container select, .login-container input {
    margin-bottom: 10px;
}

.login-container button {
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.login-container .form-floating label {
    line-height: var(--bs-body-line-height);
    opacity: 0.8;
}

#signInPanel {
    width: 90%;
    background-color: var(--bs-white);
    border-radius:  var(--bs-border-radius-lg);
    padding: 1.5rem;
}

#messagePanel {
    background-size: cover;
    justify-content: center;
    display: flex;
    align-items: center;
}

.signin-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#messagePanel h2, #messagePanel h3 {
    color: white;
    width: 500px;
    text-align: center;
}

#messagePanel h2 {
    font-size: 38px;
    margin-bottom: 45px;
}

#messagePanel h3 {
    margin-bottom: 100px;
    font-size: 30px;
}

#messagePanel div.welcome {
    color: white;
    font-size: 24px;
    width: 500px;
    text-align: center;
    margin-bottom: 50px;
}

#messagePanel button.upsellBtn {
    color: white;
    background-color: #EB0E8C;
    border: unset;
    border-radius: 150px;
    font-weight: normal;
    width: 315px;
    height: 40px;
}

#messagePanel .carousel-btn {
    color: white;
    background-color: #EB0E8C;
    border: unset;
    border-radius: 150px;
    font-weight: normal;
    padding: 8px 38px;
}



#vgLogo {
    height: 100px;
}

.btn:disabled {
    pointer-events: auto;
    cursor: not-allowed;
}

@media only screen and (max-width: 767px) {
    #vgFooter {
        display: none !important;
    }
}

.carousel-item {
    height: 100%;
    transition: transform 1.5s ease-in-out,-webkit-transform 1.5s ease-in-out;
}

span#or {
    position: absolute;
    background-color: white;
    padding: 0px 5px;
    margin: auto;
    width: 30px;
    border: 1px solid #cccccc;
    border-radius: 15px;
    font-size: 11px;
}

div#oauthOptionContainer img {
    height: 24px;
    margin-right: 5px;
}

div#oauthOptionContainer .btn {
    align-items: center;
    display: flex;
    justify-content: center;
    height: 3rem;
}

div#oauthOptionContainer hr {
    margin: 0px;
}

div#oauthOptionContainer .btn {
    margin-top: 29px;
}

#mainContentContainer:has(#accountConflictContainer) {
    overflow: auto;

    & #signInPanel {
        max-height: 90%;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

#signInColumn {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    height: 100%;
}

#accountConflictContainer {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

@media (min-width: 768px) {
    #selectContainer {
        overflow: auto;
    }
}

.person-select-row {
    cursor: pointer;
    border: 1px solid #aaa;
    border-radius: var(--bs-border-radius-lg);

    &:hover {
        scale: 103%;
        cursor: pointer;
        box-shadow: 0 5px 7px rgb(0 0 0 / 30%);

        & .card-title {
            text-decoration: underline;
        }
    }
}

@media (max-width: 1399px) {
    #messagePanel h2, #messagePanel h3 {
        width: 380px;
    }

    #messagePanel h2 {
        font-size: 28px;
    }

    #messagePanel h3 {
        font-size: 24px;
    }
}

@media (max-width: 991px) {
    #messagePanel h2 {
        font-size: 24px;
    }

    #messagePanel div.welcome, #messagePanel h3 {
        font-size: 20px;
    }

    #messagePanel h3 {
        margin-bottom: 80px;
    }

    #messagePanel h2, #messagePanel h3 {
        width: 300px;
    }

    #messagePanel button.upsellBtn {
        font-size: 12px;
        width: 240px;
        height: 36px;
    }

    #messagePanel .carousel-btn {
        font-size: 12px;
        padding: 10px 20px;
    }

    #messagePanel div.welcome {
        width: 310px;
    }
}

@media (max-width: 767px) {
    html, body {
        min-height: 940px;
    }

    #signInColumn {
        height: auto;
        justify-content: start;
    }

    #mainContentContainer:has(#accountConflictContainer) #signInPanel {
        max-height: 100%;
    }

    #signInPanel {
        width: 100%;
    }

    #mainContentContainer .login-container {
        margin-right: 0px;
    }

    #mainContentContainer #signInPanel {
        order: 2;
        margin-top: 1rem
    }

    #mainContentContainer #signInPanel h2 {
        margin-top: 15px;
    }

    #mainContentContainer #signInPanel span, #signInPanel div.error {
        font-size: 12px;
    }

    #mainContentContainer #messagePanel {
        order: 1;
        height: 300px;
    }

    .login-container .showPwdSupplier, .login-container .btn, #signInFormContainer a {
        font-size: 14px;
    }

    .login-container select, .login-container input, .login-container div.input-group-text, .login-container .btn {
        height: 38px;
    }

    .login-container .btn {
        margin-bottom: 15px;
    }

    #messagePanel h2 {
        width: 310px;
        margin-bottom: 25px;
    }

    #messagePanel div.welcome, #messagePanel h3 {
        font-size: 14px;
    }

    #messagePanel h3 {
        margin-bottom: 40px;
        width: 250px;
    }

    #mainContentContainer h2 {
        font-size: 24px;
    }

    #messagePanel button.upsellBtn {
        width: 228px;
        height: 30px;
    }

    #messagePanel .carousel-btn {
        padding: 7px 17px;
    }

    #messagePanel div.welcome {
        font-size: 18px;
        width: 500px;
        margin-bottom: 40px;
    }

    .footer {
        flex-shrink: 0;
        bottom: unset;
        position: unset;
        min-height: unset;
    }

    div#oauthOptionContainer hr {
        margin: 10px 0px;
    }

    div#oauthOptionContainer .btn {
        margin-top: 15px;
    }

    #mainContentContainer #signInPanel span#or {
        font-size: 10px;
        width: 26px;
    }
}

@media (max-width: 575px) {
    html, body {
        min-height: 920px;
    }

    .login-container .btn {
        margin-bottom: 20px;
    }

    #mainContentContainer h2 {
        font-size: 22px;
    }

    #messagePanel h2 {
        width: 290px;
    }

    #messagePanel div.welcome {
        width: 450px;
    }

    div#oauthOptionContainer hr {
        margin: 0px;
    }

    div#oauthOptionContainer .btn {
        margin-top: 19px;
    }
}