body{
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
    /* background-color: var(--menu-background-selected); */
    background: url("../img/backgroundindex2.jpg");
    backdrop-filter: contrast(70%);
}

/* Container Login */
body .container_login{
    width: 80%;
    height: 90%;
    background-color: white;
    border: 1px solid var(--primary-color);
    border-radius: 32px;
    overflow-x: hidden;
    overflow-y: hidden;
    box-shadow: 0px 0px 10px #4b4b4b;
    position: relative;
}

/* Scrollbox Login */
.container_login .scrollbox_login{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
}

/* Quad Left/Right */
.scrollbox_login .quad{
    width: 50%;
    height: 100%;
}

/* Form Left/Right */
.quad form{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

form .text_gray{
    color: var(--subtitle-color);
}

form p{
    width: 350px;
    height: auto;
    text-align: center;
}

form #login_error{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--danger-color);
    padding: 5px 0;
    border-top: 1px solid red;
    border-bottom: 1px solid red;
}
#login_error p{
    color: white;
    font-weight: 500;
}

form .ouropro_h{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.ouropro_h img{
    width: 60px;
    height: auto;
}
.ouropro_h h1{
    font-weight: bold;
}
.ouropro_h h1 span{
    font-weight: 400;
    color: var(--primary-color);
}

form .inputbox{
    width: 300px;
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;

}

.inputbox:not(input.invalid) input{
    width: 100%;
    height: 100%;
    border: 1px solid var(--line-color);
    border-radius: 8px;
    padding-left: 30px;
    box-shadow: 0px 0px 10px transparent;
}

.inputbox:has(input.invalid) input{
    width: 100%;
    height: 100%;
    border: 1px solid var(--danger-color);
    border-radius: 8px;
    padding-left: 30px;
    box-shadow: 0px 0px 10px var(--danger-color);
}

.inputbox:not(input.invalid) input:focus{
    border: 1px solid var(--primary-color);
    box-shadow: 0px 0px 5px var(--primary-color);
}
.inputbox:not(input.invalid) input:valid{
    border: 1px solid var(--primary-color);
    box-shadow: 0px 0px 5px var(--primary-color);
}

.inputbox:not(input.invalid) input:focus ~ i{
    color: var(--primary-color);
}

.inputbox #icon_username{
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 20px;
    color: var(--subtitle-color);
}

.inputbox #icon_password{
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 20px;
    color: var(--subtitle-color);
}

.inputbox #icon_show_password{
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: var(--subtitle-color);
    cursor: pointer;
}
.inputbox #icon_show_password.hide{
    display: none;
}

.inputbox #icon_hide_password{
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: var(--primary-color);
    cursor: pointer;
}
.inputbox #icon_hide_password.hide{
    display: none;
}

form input[type="submit"]{
    width: 300px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: 200ms all ease-in-out;
    opacity: 0.8;
}
form input[type="submit"]:hover{
    opacity: 1;
}
form input[type="submit"].disabled{
    background-color: orangered;
    pointer-events: none;
    animation: aguarde infinite 3s;
}
@keyframes aguarde{
    0%{
        background-color: orangered;
    } 
    50%{
        background-color: var(--primary-color);
    }
    100%{
        background-color: orangered;
    }
}

form .recover_password{
    width: 300px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--line-color);
}
.recover_password #button_recover{
    color: var(--primary-color);
    text-shadow: 0px 0px 10px transparent;
    cursor: pointer;
    font-size: 11px;
}
.recover_password #button_recover:hover{
    text-shadow: 0px 0px 10px #00d5ff;
    text-decoration: underline;
}

.recover_password #button_chave{
    padding: 5px 10px;
    cursor: pointer;
    background-color: transparent;
    color: var(--primary-color);
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    transition: all 200ms ease-in-out;
    font-size: 11px;
}
.recover_password #button_chave:hover{
    background-color: var(--primary-color);
    color: white;
}
.recover_password #button_chave.close{
    padding: 5px 10px;
    cursor: pointer;
    background-color: transparent;
    color: var(--danger-color);
    border-radius: 4px;
    border: 1px solid var(--danger-color);
    transition: all 200ms ease-in-out;
    font-size: 11px;
}



/* Return to Login */
form .recover_password_back{
    width: 300px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--line-color);
}
.recover_password_back #button_recover_back{
    color: var(--primary-color);
    text-shadow: 0px 0px 10px transparent;
    cursor: pointer;
}
.recover_password_back #button_recover_back:hover{
    text-shadow: 0px 0px 10px #00d5ff;
    text-decoration: underline;
}





/* Info Slider */
.container_login .info_slider{
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    z-index: 10;
    transition: .5s;
}

.container_login .info_slider.recover{
    transform: translateX(100%);
}
.container_login .info_slider.access{
    transform: translateX(0%);
}

.info_slider #info_slider_back{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.info_slider .slider_z{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
}
.slider_z a{
    color: #7cc8ff;
    text-decoration: none;
    transition: all 200ms ease-in-out;
}
.slider_z a:hover{
    text-decoration: underline;
}

.slider_z p{
    font-size: 9px;
}

.info_slider img{
    width: 250px;
    height: auto;
    filter: drop-shadow(0px 0px 1px rgb(255, 255, 255));
}

.info_slider h1{
    font-weight: bold;
    font-size: 40px;
    color: white;
}
.info_slider h1 span{
    font-weight: 400;
}
.info_slider p{
    color: var(--line-color);
}

.info_slider #btn_map{
    text-decoration: none;
    border-radius: 4px;
    background-color: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    padding: 5px 10px;
    border: 1px solid transparent;
    transition: all 200ms ease-in-out;
}
.info_slider #btn_map:hover{
    background-color: var(--primary-color);
    color: white;
    border: 1px solid white;
}


#validacao_chave{
    width: 300px;
    height: 40px;
    background-color: transparent;
    border-radius: 4px;
    display: flex;
    flex-direction: row;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    z-index: 11;
    gap: 5px;
    transition: .5s;
}
#validacao_chave input{
    width: 50%;
    height: 20px;
    font-size: 10px;
    text-align: center;
    border: 1.5px solid gray;
    border-radius: 4px;
    text-transform: uppercase;
}
#validacao_chave input::placeholder{ 
    color: gray;
    font-weight: bold;
}
#validacao_chave button{
    width: 60px;
    height: 20px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    font-size: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 200ms ease-in-out;
}
#validacao_chave button:hover{
    background-color: var(--primary-color);
    color: white;
}
#validacao_chave.hide{
    display: none;
}