/* ==================================================================
   Estilos Gerais e Reset
   ================================================================== */
   * {
    font-family: 'Roboto', sans-serif; /* Define a fonte padrão */
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Garante que o padding e a borda não afetem a largura */
}

body {
    display: flex;
    flex-direction: column; /* Organiza os elementos na coluna */
    height: 100vh; /* Faz o body ocupar toda a altura da tela */
    background-color: #1A1A1A;
    line-height: 1.6;
}

/* Conteúdo principal (main) */
main {
    flex: 1; /* Faz o conteúdo ocupar o espaço restante */
    padding: 20px;
}

/* ==================================================================
   Estilos para Telas Maiores (1024px e acima)
   ================================================================== */
   @media only screen and (min-width: 1024px) {
#caixa-login {
    margin-top: 10vh;
    align-items: center;
    display: flex;
    flex-direction: column;
}

/* Estilos para o Header e Logo */
header {
    position: relative; /* Garante que o logo seja posicionado relativamente ao header */
    z-index: 100; /* Garante que o header fique acima de outros elementos */
}
    
.logo-title {
    position: absolute;
    top: 15px; /* Ajuste a distância do topo conforme necessário */
    left: 20px; /* Ajuste a distância da esquerda conforme necessário */
    z-index: 101; /* Garante que o logo fique acima do menu lateral */
}
    
.logo-title a {
    color: #979797;
    font: 550 26px / 60px DIN_Regular, Arial, Verdana, sans-serif;
    font-style: italic;
    text-decoration: none; /* Remove o sublinhado do link */
}

    #title_login {
        font-size: 32px;
        color: #979797;
        text-align: center;
        padding-top: 30px;
    }

    form {
        background-color: #202020;
        width: 350px;
        position: relative;
        border-radius: 10px;
        border: 1px solid #383636;
        padding: 20px;
    }

    #email, #password {
        background: #F9F9F9;
        border: 1px solid #E6E6E6;
        border-radius: 3px;
        height: 40px;
        width: 270px;
        padding-left: 10px;
        margin-left: 15px;
    }

    #loginBtn {
        font: 14px / 20px Roboto, Helvetica, Arial, Verdana, sans-serif;
        color: white;
        border-radius: 5px;
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: 15px;
        width: 270px;
        height: 45px;
        background-color: #5952d6;
        border: 0px solid var(--cor-borda); /* Borda sutil */
        transition: background-color 0.3s; /* Transição suave na cor de fundo */
    }

    #loginBtn:hover {
        font-size: 14px;
        border: 1px solid #453ecc;
        cursor: pointer;
        background-color: #453ecc;
    }

    .criar_conta {
        color: white;
        background-color: #202020;
        margin-top: 10px;
        padding-left: 50px;
        padding-top: 10px;
        width: 350px;
        height: 50px;
        position: relative;
        border-radius: 10px;
        display: flex;
        border: 1px solid #383636;
    }

    .separacao-forgot {
        background-color: white;
        height: 1px;
        padding-left: 60px;
        padding-right: 60px;
        margin-top: 12px;
    }

    #ou-forgot {
        color: white;
        padding-left: 10px;
        padding-right: 10px;
    }

    .forgot-password {
        display: flex;
        justify-content: center;
        text-decoration: none;
        color: #979797;
        margin-top: 20px;
    }

    footer {
        color: #979797;
        text-align: center;
        padding-top: 10px;
        margin-top: auto; /* Isso empurra o footer para o final */
    }

    footer ul {
        list-style: none;
        padding: 0;
    }

    footer ul li {
        display: inline;
        margin: 0 10px;
    }

    footer ul li a {
        color: #979797;
        text-decoration: none;
    }

    footer ul li a:hover {
        text-decoration: underline;
    }
}

/* ==================================================================
   Estilos para Telas Menores (500px e abaixo)
   ================================================================== */
@media only screen and (max-width: 500px) {

    #caixa-login {
        margin-top: 10vh;
        margin-left: 5%;
        width: 90%;
    }

    label {
        background-color: #202020;
        color: #979797;
        margin-top: 10px;
        margin-left: 5px;
    }

    #title_login {
        font-size: 24px;
        color: #979797;
        text-align: center;
        padding-top: 30px;
    }

    form {
        background-color: #202020;
        width: 100%;
        position: relative;
        border-radius: 10px;
        border: 1px solid #383636;
        padding: 15px;
    }

    #email, #password {
        background: #F9F9F9;
        border: 1px solid #E6E6E6;
        border-radius: 5px;
        height: 30px;
        width: 100%;
        padding-left: 10px;
        margin-top: 10px;
        margin-bottom: 5px;
    }

    #loginBtn {
        font: 14px / 20px Roboto, Helvetica, Arial, Verdana, sans-serif;
        color: white;
        border-radius: 5px;
        margin-top: 20px;
        margin-bottom: 20px;
        width: 100%;
        height: 45px;
        background-color: #5952d6;
    }

    #loginBtn:hover {
        font-size: 15px;
        border: 1px solid gray;
        cursor: pointer;
        background-color: #6761df;
    }

    .criar_conta {
        color: white;
        background-color: #202020;
        margin-top: 10px;
        padding-left: 100px;
        padding-top: 15px;
        width: 100%;
        height: 50px;
        position: relative;
        border-radius: 10px;
        display: flex;
        border: 1px solid #383636;
    }

    .separacao-forgot {
        background-color: white;
        height: 1px;
        padding-left: 60px;
        padding-right: 60px;
        margin-top: 12px;
    }

    #ou-forgot {
        color: white;
        padding-left: 10px;
        padding-right: 10px;
    }

    .forgot-password {
        display: flex;
        justify-content: center;
        text-decoration: none;
        color: #979797;
        margin-top: 20px;
    }
    
    footer {
        color: #979797;
        text-align: center;
        padding-top: 10px;
        margin-top: auto; /* Isso empurra o footer para o final */
    }

    footer ul {
        list-style: none;
        padding: 0;
    }

    footer ul li {
        display: inline;
        margin: 0 10px;
    }

    footer ul li a {
        color: #979797;
        text-decoration: none;
    }

    footer ul li a:hover {
        text-decoration: underline;
    }
}