* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}

.container-fluid {
    display: flex;
    height: 100vh;
    width: 100vw !important;
    padding: 0 !important;
    /* border: 1px solid #000; */
}

.left-side {
    width: 70vw;
    color: red;
    font-size: 20px;
    line-height: 2.5em;
    display: flex;
    justify-content: center;
    align-items: end;
    padding-bottom: 90px;
    position: relative; /* Importante para referência de posicionamento */
    height: 100%;
    overflow: hidden; /* Evita que o carrossel ultrapasse */
}

.right-side {
    flex: 1;
}

.right-side {
    background-color: #e0e0e0;
    display: flex;
    justify-content: right;
    width: 100%;
}

.text-centertitulo {
    font-size: 3rem;;
}

.login-box {
    background-color: white;
    padding: 40px;
    border-radius: 0px;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
    width: 100%;
    text-align: center;
}

.logo {
    margin-bottom: 20px;
}

.logo img {
    max-width: 100%;
}

.titulo {
    font-weight: bold;
    margin-bottom: 5px;
}

.subtitulo {
    font-size: 0.9em;
    color: #005aa7;
    margin-bottom: 30px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-bottom: 1px solid #ccc;
}

.botao {
    background-color: #003d7a;
    color: white;
    font-weight: bold;
    border: none;
    padding: 12px;
    width: 100%;
    margin-top: 20px;
    cursor: pointer;
}

.botao:hover {
    background-color: #002f5e;
}

.link {
    height: 120px;
    border: 1px solid;
    padding: 10px;
    margin: 5px;
}

.grid-boxes {
    display: grid;
    grid-template-columns: repeat(4, 160px);
    gap: 20px;
    justify-content: center;
}

.box {
    width: 160px;
    height: 100px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    transition: transform 0.2s;
}

.carousel-item {
    width: 100vw !important;
    height: 100vh !important;
}

#carouselExampleIndicators {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Fica atrás do .grid-boxes */
}

.grid-boxes {
    position: relative;
    z-index: 1; /* Fica acima do carrossel */
}

/* Responsivo */
@media (max-width: 768px) {
    .container-fluid {
        flex-direction: column;
        height: auto;
    }

    .left-side {
        display: none;
    }

    .right-side {
        width: 100%;
        height: 100vh;
    }

    .left-side {
        text-align: center;
    }

    .login-box {
        height: 100vh;
    }

    #aviso-privacidade {
        font-size: 13px;
        padding: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #aviso-privacidade button {
        max-width: 90%;
    }

}

#aviso-privacidade {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #133274;
    color: #fff;
    padding: 15px;
    font-size: 14px;
    display: flex;
    /* flex-direction: column; <- ESSENCIAL */
    align-items: center;
    justify-content: end;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.3);
    z-index: 9999;
}
#aviso-privacidade a {
    color: #1abc9c;
    text-decoration: underline;
}
#aviso-privacidade button {
    background: #E5E5E5;
    border: none;
    color: black;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    margin-left: 10px;
    width: 360px;
}
#aviso-privacidade button:hover {
    background: #16a085;
}

/* Animação com tremor na linha do termo de aceite */
@keyframes tremer {
    0%   { transform: translateX(0); 	}
    20%  { transform: translateX(-5px); }
    40%  { transform: translateX(5px); 	}
    60%  { transform: translateX(-5px); }
    80%  { transform: translateX(5px); 	}
    100% { transform: translateX(0); 	}
}
.tremer {
    animation: tremer 0.5s;
}