body {
    background: url("/imagens/imagem/bg-logo.jpeg") center center no-repeat;
    background-size: cover; /* Faz a imagem ocupar todo o espaço visível */
    background-attachment: fixed; /* Fixa a imagem na tela */
    margin: 0;
    font-family: "Poppins", serif !important;
}
.container {
    display: flex;
    height: 100vh; /* Ocupa a altura total da tela */
    padding: 32px;
    overflow: hidden; /* Remove rolagem extra */
}

#box-login{
    max-height: 650px;
    margin-top: 32px;
}

/* LADO ESQUERDO */
.image-section {
    flex: 0.8; /* Reduz a largura relativa da imagem */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: -4px 2px 4px rgba(0, 0, 0, 0.2);
    
    border: none;
}

/* LADO DIREITO */
.form-section {
    flex: 1.2; /* Aumenta a largura relativa do login */
    padding: 2rem;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 550px; /* Permite que o login ocupe mais espaço */
    border-right: none;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    border: none;
}

h1 {
    font-size: 2.5rem;
    color: #333;
    margin-top: 24px;
    font-weight: 600;
}

.form-section .info {
    font-size: 0.9em;
    font-weight: 400;
    margin-top: -8px;
    margin-bottom: 32px;
    text-align: left;
}

form {
    width: 90%;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group input {
    width: 100%;
    padding: 8px 48px;
    font-size: 1rem;
    border: none;
    background-color: #F2F2F2;
    border-radius: 10px;
}

.input-group img{
    position: absolute;
    top: 12px;
    left: 16px;

}
a,
a:hover {
    color: #313131;
}


#aviso{
    height: 40px;
}

.form-section {
    max-width: 500px;
    width: 100%;
}

.imagem-logo-mobile{
    position: relative;
    top: 0;
    width: 80% !important;
}

.image-section img {
    display: block;
    margin: 20px auto 0 auto;
}


.rodape{
    position: relative;
    top: 16px;
    opacity: 0.5;
    font-size: 0.8em;
}

input, button, textarea{
    outline: none !important;
}

input{
    width: 100%;
    border-radius: 50px;
    height: 50px;
    line-height: 50px;
    padding: 8px 24px;
    border: 1px solid #dedddd;
}

input:focus {
    border-color: #1640b9; /* Cor roxa nas bordas */
    box-shadow: 0 0 5px rgba(75, 110, 226, 0.5); /* Efeito de brilho suave */
}

/* Aparência ao passar o mouse */
input:hover {
    border-color: #1640b9; /* Cor mais escura ao passar o mouse */
}

/* MOBILE */
@media (max-width: 768px) {
    .container {
        height: 100vh; /* Mantém o tamanho fixo da tela */
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 8px;
    }
    .form-section {
        flex: 1.2; /* Aumenta a largura relativa do login */
        padding: 2rem;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 550px; /* Permite que o login ocupe mais espaço */
        border-right: none;
        border-radius: 0px;
        box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
        border: none;
    }
    form {
        width: 100%;
    }    
    #box-login h1{
        font-size: 1.6em;
    }
    .imagem-logo-mobile {
        width: 70% !important;
        transition: none; /* Remove qualquer animação que possa estar causando movimento */
        position: relative;
    }
    html, body {
        height: 100%;
        overflow: hidden;
    }
}


/* TABLET */
@media (min-width: 769px) and (max-width: 991px){
    .container {
        padding: 8px;
        width: 100% !important;
        margin-top: 128px !important;
    }
    .form-section {
        background-color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 100%; /* Permite que o login ocupe mais espaço */
        border-right: none;
        border-radius: 0px;
        box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
        border: none;
    }
    form {
        width: 90%;
        margin-left: 5%;
    }    
    #box-login h1{
        font-size: 1.6em;
        margin-left: 5%;
    }
    #box-login .info{
        margin-left: 5%;
    }
    .imagem-logo-mobile{
        width: 50% !important;
        transition: none; /* Remove qualquer animação que possa estar causando movimento */
        position: relative;
    }
}

/* XL - ATÉ 1366PX DE LARGURA */
@media (min-width: 992px) and (max-width: 1399px) {
    .container {
        max-width: 80%; /* Reduz a largura geral */
        padding: 5px;
        margin-top: 3%;
        height: 80vh; /* Reduz altura proporcionalmente */

         /* Centralizando verticalmente e horizontalmente */
         display: flex;
         align-items: center; 
         justify-content: center;
         margin: 0 auto; /* Centraliza horizontalmente */
    }

    #box-login {
        max-width: 80%; /* Reduzindo a largura do box de login */
        max-height: 600px; /* Reduzindo a altura do box de login */
    }

    .form-section {
        flex: 1; /* Ajusta a proporção da área do formulário */
        max-width: 450px; /* Reduzindo um pouco a largura */
        padding: 20px;
        margin-top: 1px;
    }

    .image-section {
        flex: 0.7;
        max-width: 400px;
        overflow: hidden; /* IMPORTANTE */
    }

    form {
        width: 85%; /* Reduzindo um pouco o formulário */
        margin-left: auto;
        margin-right: auto;
    }

    #box-login{
        margin-top: 2%;
    }
    
    #box-login h1 {
        font-size: 1.5rem; /* Reduzindo o título */
    }

    #box-login .info {
        font-size: 0.85rem; /* Reduzindo o texto informativo */
    }

    .imagem-logo-mobile {
        width: 35% !important; /* Reduzindo a logo */
    }

    .input-group input {
        font-size: 0.9rem; /* Reduzindo o tamanho do texto dos inputs */
        padding: 6px 40px;
        height: 45px; /* Reduzindo a altura */
    }

    .input-group img {
        top: 10px;
        left: 12px;
        width: 18px; /* Reduzindo ícones dentro dos inputs */
    }

    button.btn {
        font-size: 0.9rem; /* Reduzindo o tamanho do botão */
        padding: 8px;
    }

    .rodape {
        font-size: 0.75em; /* Diminuindo o rodapé */
    }
}


/* XXL - ACIMA 1400PX DE LRGURA */
@media (min-width: 1400px){
}

