﻿.Spacer {
    margin-bottom: 1rem;
}

#forgotPassPopup {
    background-color: #E0E6EC;
    height: 245px;
    width: 500px;
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 max(100vh, 100vw) rgba(0, 0, 0, .4);
    border-radius: 16px;
    display: none;
}

#loginBody {
    background: linear-gradient(179deg, #1A2B6D 1.27%, #7D8CCB 98.74%);
    height: 100vh;
    overflow: hidden;
    background-size: cover;
}

#loginContentOuter {
    height: 100vh;
    max-width: 100vw;
}

#loginContentContainer {
    background-color: rgb(255 255 255 / 100%);
    width: auto;
    max-width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    max-height: 95vh;
    overflow: auto;
}

#errorText {
    padding: 10px;
    position: relative;
    z-index: 2;
    text-align: center
}

.text-danger.prelineSpace {
    font-size: smaller;
}

#loginForm, #forgotPassForm, #codeForm {
    padding: 30px;
    border: 0px solid black;
    margin: auto;
    justify-content: center;
    display: flex;
    width: 50%;
    flex-direction: column;
    font-size: 20px;
    min-width: fit-content;
}

#codeForm {
    max-height: 95vh;
}

#codeFormData {
    overflow: auto;
}

#forgotPassForm {
    display: none;
}

#codeForm .row.mb-3 {
    font-size: medium;
}

#resetMFAText {
    font-size: small;
}

.formSection {
    display: inline-flex;
    padding: 5px;
    padding-top: 7px;
    margin: auto;
    width: 100%;
    max-width: 100%;
    border-bottom: 1px solid black;
}

#passRect, #ForgotPassRect {
    margin-left: 12px;
}

.LoginInputBox {
    background-color: #ffffff;
    width: 285px;
    height: 27px;
}

#forgotPasswordLink, #backtoLogin {
    cursor: pointer;
    width: fit-content;
    margin-left: auto;
    font-size: 13px;
    text-wrap: nowrap;
}

.submitBtn {
    position: relative;
    border-radius: 10px;
    background: #1A2B6D;
    border: 0px solid darkblue;
    color: white;
    width: 100%;
    height: 34px;
    margin: auto;
    margin-top: 20px;
}

#sendEmailBtn {
    margin-top: 20px
}

#resetPassInstructs {
    text-align: center;
    font-size: medium;
    max-width: 15.4vw;
    margin: auto;
}

:-webkit-autofill {
    animation-name: onAutoFillStart;
    transition: background-color 50000s ease-in-out 0s;
}

.formLabel {
    position: absolute;
}

#qrCode {
    text-align: -webkit-center;
    text-align: center;
}

#setupMFACode {
    color: white;
    background-color: #2e2e2e;
    border-radius: 3px;
    padding: 3px;
    margin-left: 5px;
    max-width: 100%;
    word-break: break-word;
    font-size: 13px;
}

#usernameText, #codeText {
    margin-top: -20px;
    font-size: 70%
}

#passwordText, #emailText {
    margin-top: 5px;
    font-size: 16px
}

.form-control {
    border: none;
    max-width: 100%;
}

#passSection {
    margin-bottom: 0;
    margin-top: 20px;
}

#inputPass {
    visibility: hidden;
}

#inputPass:-webkit-autofill {
    visibility: visible;
}

input:-webkit-autofill + #passwordText {
    margin-top: -20px;
    font-size: 70%;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: black;
    transition: background-color 5000s ease-in-out 0s;
    margin-top: auto;
}

#hatsLogoOuter {
    position: static;
    display: flex;
    justify-content: center;
    width: 50%;
    margin: auto;
}

#hatsLogoImg {
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.LoginTitleText {
    margin-bottom: 35px;
    font-weight: bold;
    font-size: 27px;
}

/* Small Screens */
@media (max-width:956px) {
    #loginForm, #forgotPassForm {
        width: auto;
        min-width: 200px;
        padding-top: 0px;
    }

    #hatsLogoOuter {
        width: 100%;
        padding: 20px 60px 10px 60px;
    }

    #codeFormData {
        overflow: unset;
    }
}

@media (max-width:1196px) {
    #codeForm {
        width: auto;
        min-width: 200px;
        padding-top: 0px;
    }

    #hatsLogoOuterMFA {
        width: 100%;
        padding: 20px 50px;
    }
}

@media (max-width:1560px) {
    #resetPassInstructs {
        max-width: revert;
    }
}

/* Big Screens */
@media (min-width:957px) {
    #loginForm, #forgotPassForm {
        width: 50%;
        min-width: auto;
    }

    #hatsLogoOuter {
        padding: 80px 40px;
    }
}

@media (min-width:1197px) {
    #codeForm {
        width: 50%;
        min-width: auto;
    }

    #hatsLogoOuterMFA {
        padding: 0px 40px;
        width: 50%;
    }
}



#hatsLogoOuterMFA {
    align-self: center;
    text-align: -webkit-center;
    text-align: center;
}

#codeForm .LoginTitleText {
    margin-bottom: 15px;
}
