body{
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Arial;
    overflow-x: hidden;
}
/* passwordChange.php: logged-in page that reuses this stylesheet and shows the header bar */
body.login-authed{
    height: auto;
    min-height: 100vh;
    padding-top: 56px;
    box-sizing: border-box;
}
p{
    font-size: 90%;
}
a{
    color: blue;
    text-decoration: none;
}
#homeButton{
    position: absolute;
    top: 50px;
    left: 50px;
    padding: 10px 20px;
    color: #c2d1f0;
    text-decoration: none;
    background-color: #18344e;
    border: solid #c2d1f0 2px;
    border-radius: 10px;
}
#homeButton:hover{
    cursor: pointer;
    color: #18344e;
    background-color: #c2d1f0;
    border: solid #18344e 2px;
}
form{
    width: 30%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: solid black 1px;
}
#username, #password, #email, #currentPsw, #newPsw, #confirmPsw{
    width: 60%;
    height: 30px;
    margin-bottom: 10px;
    outline: none;
}
#failedLoginMessage{
    width: 90%;
    height: 20px;
    margin: 0;
    font-size: 80%;
    text-align: center;
    color: red;
}
#submitBtn{
    width: 120px;
    height: 40px;
    margin-top: 10px;
}
#loginBottom{
    width: 70%;
    height: 20px;
    margin-top: 30px;
    display: flex;
    justify-content: center;
}
#loginBottom a{
    text-decoration: none;
}
/* Temporarily hidden "Stay logged" checkbox and its label */
.stayLogged{
    display: none;
}

/* Password change page */

#messageContainer{
    width: 100%;
    height: 30px;
    text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 768px){
    #homeButton{
        position: static;
        display: inline-block;
        margin: 12px;
    }
    form{
        width: 90%;
        height: auto;
        padding: 24px 0;
    }
    #username, #password, #email, #currentPsw, #newPsw, #confirmPsw{
        width: 82%;
    }
    #loginBottom{
        width: 90%;
    }
}