:root {
    --background-light: #141414;
    --background-dark: #141414;
    --text-light: #000000;
    --text-dark: #000000;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

html, body {
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    user-select: none;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    padding-top: 20px;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.4);
    animation-name: fadeIn;
    animation-duration: 0.4s;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 40px;
    width: 80%;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.modal-content h2 {
    margin-top: 25px;
    margin-bottom: 25px; /* Espaço abaixo do título */
    font-weight: 800;
}

.modal-content h5 {
    margin-top: 10px; /* Espaço abaixo do subtítulo */
    margin-bottom: 40px; /* Espaço abaixo do subtítulo */
    font-weight: 600;
}

.modal-content form {
    font-weight: 500;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Divide o formulário em duas colunas */
    gap: 10px; /* Espaço entre os itens do grid */
}

.modal-content label {
    display: flex;
    align-items: center;
    font-size: 1.2em; /* Aumenta o tamanho do texto dos labels */
}

.modal-content label.checked {
    color: black;
    font-weight: 600;
}

.modal-content input[type="checkbox"] {
    transform: scale(1.5); /* Aumenta o tamanho dos checkboxes */
    margin-right: 10px; /* Espaço entre o checkbox e o texto */
}

.modal-content .button-container {
    grid-column: span 2; /* Faz com que o botão ocupe duas colunas */
    display: flex;
    justify-content: center; /* Centraliza o botão dentro do container */
    margin-top: 60px; /* Espaço acima do botão de confirmação */
}

.modal-content button {
    padding: 20px 80px;
    background-color: #141414;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease; /* Adiciona a transição para o efeito */
}

.modal-content button:hover,
.modal-content button:focus {
    background-color: #6338BF; /* Cor do botão ao passar o mouse ou focar */
}

.modal-content button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.close {
    position: absolute;
    top: 10px;
    right: 40px;
    background-color: transparent;
    border: none;
    color: #141414;    
    font-size: 80px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #6338BF;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}



.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #000000cc; /* Cor de fundo com transparência */
    padding: 20px;
    border-radius: 10px;
    overflow: auto; /* Adiciona rolagem se o conteúdo for maior que o tamanho do pop-up */
    box-sizing: border-box; /* Garante que o padding não aumente o tamanho do pop-up */
}

.popup.show {
    display: block;
}

.popup-content {
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Define a altura do pop-up para ocupar toda a área */
}

.image-container {
    max-width: 100%;
    max-height: 100%;
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto;
}

.overlay-link {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.overlay-button {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;  
    background-color: #fff;
    color: #000;
    border: none;
    padding: 30px 60px;
    font-size: 25px;
    cursor: pointer;
    transition: var(--background-dark) 0.3s;
    border-radius: 10px; /* Bordas arredondadas */
    box-shadow: 0 0 10px #00000080; /* Sombra esfumaçada */
}

.overlay-button:hover {
    background-color: #6338BF;
    color: white;
}

.close-btn {
    position: absolute;
    top: 5%; /* Ajusta a posição do botão "X" conforme necessário */
    right: 5%; /* Ajusta a posição do botão "X" conforme necessário */
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 150px;
    cursor: pointer;
}



body {
    background-color: var(--background-light);
    color: var(--text-light);
    width: 1900px;
}

body.dark-mode {
    background-color: var(--background-dark);
    color: var(--text-dark);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    height: 75px;
    margin: 0 auto;
    margin-top: 20px;
    padding: 0 10%; /* Utilizando porcentagem para garantir espaço lateral responsivo */
}

.title-container {
    color: #ffffff;
    font-size: 200%; 
    font-weight: bold;
    margin-top: 10px;
    flex:auto;
}

.image-container {
    max-width: 20%; /* Define um valor máximo para a largura da imagem-container */
}

.image-container img {
    max-width: 100%;
    height: auto;
    max-height: 50px;
}

.rounded-box {
    width: 82%;
    background-color: #6338BF;
    border-radius: 8px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 20px; /* Adicionei uma margem para melhor espaçamento */
}

.input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    flex: 1;
    padding: 10px; /* Reduzi o espaçamento para melhor ajuste em dispositivos menores */
}

.input-border{
    border: 2px solid #141414;
    border-radius: 7px;
}

.d-flex1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.d-flex-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card {
    flex: 1;
    margin: 10px;
    text-align: left; /* Centralizei o texto dentro dos cards */
    background-color: white;
    border-radius: 7px;
    padding: 25px; /* Reduzi o espaçamento para melhor ajuste em dispositivos menores */
    box-sizing: border-box;
    border: 2px solid #141414;
}

.card h5 {
    color: #000000;
    font-size: 18px; /* Ajustei o tamanho da fonte para melhor adaptação */
    font-weight: bold;
}

.card p {
    color: #000000;
    font-size: 18px; /* Ajustei o tamanho da fonte para melhor adaptação */
    font-weight: bold;
}

.second-box {
    width: 82%;
    background-color: #6338BF;
    border-radius: 8px;
    margin: 0 auto;
    padding: 30px;
    box-sizing: border-box;
}

.max-h-custom {
    height: 400px !important;
}
.max-h-custom-2 {
    max-height: 2600px !important;
}


#criminalRecords {
    width: 90%; /* Ajustei a largura para ocupar toda a largura disponível em dispositivos menores */
    height: 465px; /* Alterei a altura para automática para melhor adaptação */
    border-radius: 7px;
    border: 2px solid #141414;
    background-color: white !important;
}

.texto1 {
    color: #000000;
    font-size: 15px;
    font-weight: 400;
}

.texto2 {
    color: #000000;
    font-size: 18px;
    font-weight: 800;
}

.texto3 {
    color: #000000;
    font-size: 20px;
    font-weight: 900;
}

.texto-tabela {
    color: #000000;
    font-size: 15px;
    font-weight: 700;
}


.titulo {
    color: #000000;
    font-size: 26px;
    font-weight: 900;
}

.border-collor {
    border: 2px solid #141414;
    border-radius: 7px;
}

.bg-light {
    border: 2px solid #141414;
    border-radius: 7px;
}


.selectedOption {
    background: #6338BF !important;
    color: #ffffff; /* Adicione esta linha para definir a cor do texto como branco */
}

.button-style {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    left: 60px;
}

.custom-button {
    font-size: 25px;
    font-weight: 700;
    background-color: #141414 !important;
    width: 220px;
    height: 100px;
    border-radius: 7px;
    margin-bottom: 15px;
    transition: background-color 0.3s;
}

.custom-button:hover {
    background-color: #000000 !important;
}

.scroll-custom {
    overflow-y: scroll !important;
    background-color: #ffffff;
}

.scroll-custom::-webkit-scrollbar{
    width: 15px;
    border: 5px solid #141414;
    background-color: #919191;
    border-radius: 7px;
}

.scroll-custom::-webkit-scrollbar-thumb{
    background-color: #6338BF;
    border: 3px solid #141414;
    border-radius: 7px;
}



.font-titulo-valores{
    color: #000000;
    width: 100%;
    font-size: 15px;
    font-weight: 700;
}

.bold-font{
    
    color: #000000;
    font-size: 16px;
    font-weight: 800;
}


.fundo-artigos{
    background: #141414;
    margin-left: 0px;
    border-radius: 7px;
}

.fundo-atenuantes {
    background: #141414;
    border-radius: 7px;
    height: 460px;
    width: 100% !important;
    margin: 0 auto;
}

@media only screen and (max-width: 768px) {
    body {
        display: none;
    }
}

@media (max-width: 1600px) {
    body {
        zoom: 80%; /* Ajuste o valor conforme necessário */
    }
}