/* 
Used by: 
    login.html
    login_fail.html
    password_reset.html
    confirm_password_reset.html
*/

.content {
    display: flex;
    min-height: calc(100vh - 60px);
    flex-direction: column;
    justify-content: space-between;
}

header {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
}

.logo {
    height: 50px;
    margin: 5px 0;
}

.backText {
    margin: 0;
    justify-self: right!important;
}

.backText a:hover {
    color: #ffa63d;
}

.headerLine {
    margin: 0;
    color: #565657;
    border-bottom: none;
}

.loginSection {
    padding: 15px 5px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.loginText {
    justify-self: center;
    align-self: center;
}

#login {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
}

.loginBtnDiv {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 3;
}

.loginBtn {
    margin: 10px auto;
    width: 80px;
    line-height: 40px;
    padding: 0px 20px; 
    background-color:#ffcc3d;     
    color:#ffffff;
}

.loginBtn:hover {
    background-color: #ffa63d;
}

.loginBtn a {
    text-decoration: none; 
}

.loginBtnDisabled, .loginBtnDisabled:hover {
    background-color: grey;
}

.loginImg {
    max-width: 100%;
}

.loginFailSection, .passwordResetForm, .confirmPwReset {
    text-align: center;
}

.loginFailSection a, .confirmPwReset a {
    color: #ffa63d;
}

.loginFailSection a:hover, .confirmPwReset a:hover {
    color: #e56966;
}

.resetBtn {
    padding: 15px;
}

.enterEmailInput {
    min-width: 300px;
}

footer {
    min-height: 30px;
    background-color: rgb(27,27,27);
    position: sticky;
    bottom: 0;
}

.footerContent {
    text-align: center;
    padding: 6px;
}

.footerContent p {
    color: rgb(180,180,180);
    font-size: 14px;
}

/* mobile view */
@media all and (max-width: 600px) {
    .loginSection {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .loginImg {
        height:  250px;
    }

    .imageDiv {
        text-align: center;
        padding-bottom: 15px;
    }

    header {
        margin: 0;
    }
}