html,body{
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: white;
    min-height: 100vh;
    position: relative;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}
input[type=password]::-ms-reveal,
input[type=password]::-ms-clear
{
    display: none;
}
#background-image{
    z-index: 1;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
}
main{
    display: flex;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99;
    position: relative;
}
#main-content{
    z-index: 9999;
    padding: 62px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    max-width: 500px;
    height: fit-content;
    width: 100%;
    min-height: 400px;
}
#main-content header{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
#main-content header h2{
    color: #112638;
    font-size: 32px;
    font-weight: 600;
}
#main-content header hr{
    height: 45px;
    border: 2px solid #FAA701;
}
#main-content header img{
    max-width: 170px;
    width: 100%;
}
#main-content form{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.inputs{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid #DBDBDB;
    border-radius: 4px;
    background-color: white;
}
.inputs label{
    padding: 12px 8px 12px 12px;
}
.inputs label, input{
    color: #5F5F5F;
    font-size: 14px;
}
.inputs input{
    padding: 8px 30px 8px 3px;
    border: none;
    outline: none;
    width: 100%;
}
.inputs-with-label{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.inputs-with-label label{
    font-weight: 500;
    color: #112638;
}
#main-content form button{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 10px 45px;
    width: 100%;
    justify-content: center;
    min-height: 45px;
    color: white;
    font-weight: 500;
    border-radius: 4px;
    background-color: #112638;
    border: none;
    outline: none;
    cursor: pointer;
}
#main-content form button:hover{
    opacity: 0.8;
}
#form-navegacao{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    width: 100%;
}
.form-navegacao-content{
    display: flex;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
    gap: 12px;
}
#form-navegacao p{
    color: #5F5F5F;
    font-size: 14px;
}
#form-navegacao a{
    color: #5F5F5F;
    font-weight: 400;
    font-size: 14px;
}
#form-navegacao a:hover{
    color: #112638;
    text-decoration: underline;
    opacity: 0.8;
}

#email-error, #password-error{
    color: #fa0101;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}
.loading-login{
    display: none;
    position: fixed;
    z-index: 100000;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}
.flashes{
    width: 100%;
}
.danger, .error{
    text-align: center;
    padding: 12px;
    border: 1px solid #fa0101;
    background: #fa01011d;
    border-radius: 4px;
    color: #fa0101;
}
.success{
    text-align: center;
    padding: 12px;
    border: 1px solid #009c1e;
    background: #01fa371d;
    border-radius: 4px;
    color: #009c1e;
}
.message, .info{
    text-align: center;
    padding: 12px;
    border: 1px solid #c09c00;
    background: #facb011a;
    border-radius: 4px;
    color: #c09c00;
}

@media screen and (max-width: 565px) {
    #main-content{
        width: 80%;
        padding: 18px;
    }
    .form-navegacao-content{
        flex-direction: column;
        gap: 4px;
    }
}
@media screen and (max-width: 425px) {
    #main-content header{
        flex-direction: column-reverse;
        gap: 10px;
    }
    #main-content header hr{
        width: 80%;
        height: 2px;
    }
}
