@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root{

    --bg-primary: #111111;
    --bg-secondary: #30302e;

    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;

    --purple-primary: #7c5cff;

    --border-radius: 12px;

    --font-main: "Poppins", sans-serif;

}

/*======================================
SCROLLBAR PADRÃO
Funciona em:
✔ Chrome
✔ Edge
✔ Opera
✔ Safari
✔ Firefox
======================================*/

/*FIREFOX*/
*{
    scrollbar-width: thin;
    scrollbar-color: #ff7a00 #11111100;
}

/*CHROME, EDGE, SAFARI*/
::-webkit-scrollbar{
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track{
    background: #11111100;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb{
    background: linear-gradient(
        180deg,
        #ff7a00,
        #ff5500
    );

    border-radius: 20px;
    border: 2px solid #111111;

    transition: 0.3s;
}

::-webkit-scrollbar-thumb:hover{
    background: linear-gradient(
        180deg,
        #ff8c1a,
        #ff6600
    );
}

.main-login{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100dvh;
}


/*LEFT=======================================*/
.initial-page-login{
    width: 40vw;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-primary);
}
.container-logo{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.container-logo a{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.container-logo a img{
    height: 40px;
    width: auto;
}
.container-logo a p{
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 20px;
    color: white;
}
.container-logo a p span{
    color: #ff7a00;
}
.desc-init-pageLogin{
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 400;
    color: rgb(151, 151, 151);
    max-width: 300px;
    width: 90%;
    text-align: center;
}

.nav-initial-pageLogin{
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px
}

.nav-initial-pageLogin ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.nav-initial-pageLogin ul li{
    list-style: none;
}

.nav-initial-pageLogin ul li a, .nav-initial-pageLogin ul li button{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    background: none;
    border: 2px solid rgb(122, 122, 122);
    border-radius: 10px;
    height: 40px;
    width: 130px;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 500;
}

/*RIGHT ============================================================*/
.container-form{
    width: 60vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding-top: 50px;
    background-color: var(--bg-secondary);
    position: relative;
}

/*POP DE MENSAGEM*/
.containerMessage{
    position: absolute;
    top: 10px;
    width: calc(100% - 20px);
    max-width: 400px;
    height: max-content;
    border-radius: 10px;
    background-color: white;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 100;
    transition: 0.2s;
    scale: 0;
}
.boxMessage{
    font-family: var(--font-main);
    width: max-content;
    text-align: center;
    min-height: 20px;
}

.container-form form{
    width: 90%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
}


.header-formLogin{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 100%;
}
.header-formLogin h2{
    font-family: var(--font-main);
    font-size: 25px;
    font-weight: 600;
    color: white;
}
.header-formLogin p{
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 500;
    color: rgb(155, 155, 155);
}


.content-inputForm{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
}
.content-inputForm label{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 100%;
    gap: 5px;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 14px;
    color: white;
    padding-left: 5px;
}

.content-inputForm label div{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 10px;
    width: 100%;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.582);
    border-radius: 10px;
    padding: 12px 16px;
    transform: translateX(-5px);
}
.content-inputForm label div img{
    height: 20px;
}
.content-inputForm label div input{
    width: 100%;
    background: none;
    outline: none;
    border: none;
    color: white;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
}
.content-inputForm label div:has(input:focus){
    border: 1px solid #ff7a00;
}

#sendDataLogin{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 4px);
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.582);
    background: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    color: white;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
}


@keyframes elementLoadButton {
    0%{
        rotate: 0deg
    }
    100%{
        rotate: 360deg
    }
}
#sendDataLogin .containBtn{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.elementLoad{
    height: 25px;
    width: 25px;
    display: none;
    background: none;
    border: 2px solid white;
    border-radius: 100%;
    border-left: 2px solid rgba(255, 255, 255, 0);
    animation-name: elementLoadButton;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

#sendDataLogin img{
    height: 18px;
    width: auto;
    transition: 0.2s;
}

#sendDataLogin:hover img{
    transform: translateX(10px);
}


/*RESPONSIVIDADE DA PÁGINA====================================================*/
@media (max-width: 800px) {
    /*LEFT*/
    .initial-page-login{
        position: absolute;
        left: 0px;
        top: 0px;
        z-index: 10;
        width: 100%;
    }
    .nav-initial-pageLogin{
        display: flex;
    }

    /*RIGHT*/
    .container-form{
        width: 100%;
        height: 100%;
        overflow-y: auto;
    }
}