* {
    box-sizing: border-box;
    color: #404040;
}

html, body {
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto;
    font-size: 15px;
    line-height: 1.5;
}

body {
    background-color: #dfdfdf;
    color: #404040;
    height: 100vh; /* Ocupa toda a altura da tela */
    margin: 0; /* Remove margens padrão */
    display: flex;
    flex-direction: column;
}

.corpo {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Faz a div ocupar o espaço restante */
}

.row.align-items-center {
    flex-grow: 1; /* Faz a linha ocupar o espaço restante */
    display: flex;
    align-items: center; /* Centraliza verticalmente */
}

.img-plan {
    max-width: 100%; /* Garante que a imagem não ultrapasse o tamanho do container */
    max-height: 300px; /* Define uma altura máxima para a imagem */
    margin: auto;
    object-fit: contain; /* Garante que a imagem mantenha suas proporções */
    padding-top: 10%;
}

.text-scroll {
    overflow-y: auto; /* Permite rolagem vertical no texto */
}

.text-center.mt-4 {
    position: fixed; /* Fixa o botão na parte inferior da tela */
    bottom: 0;
    left: 0;
    width: 100%; /* Faz o botão ocupar toda a largura */
    background-color: #dfdfdf; /* Cor de fundo para destacar o botão */
    padding: 10px 0;
    text-align: center;
    z-index: 10; /* Garante que o botão fique acima de outros elementos */
    flex-shrink: 0; /* Garante que o botão não seja comprimido */
}

.titulo-consulta {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.ementa-consulta {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.comentarios-consulta {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 5px;
    overflow: hidden;
}
  
.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

.table-group-divider {
    color: #ccc;
}

.table-area {
    padding: 6px;
}

tr:nth-child(even) {
    background-color: #e2e2e2 !important;
}

.rodape {
    font-size: 0.9rem;
    font-style: italic;
}

.al-right {
    text-align: right;
    padding-right: 20px !important;
}

.al-center {
    text-align: center;
}

td, th {
    max-width: 250px;
    vertical-align: top;
}

th {
    font-weight: 500;
}

table {
    font-size: 0.9rem;
}

.banner-affemg {
    display: block;
    box-shadow: 2px 6px 4px  rgba(63, 63, 132, 0.2);
}

.btn-alterar-periodo {
    margin-left: 15px;
    margin-bottom: 5px;
    display: inline-block;
}

.hidden {
    display: none !important;
}

.chart-area {
    margin-top: 40px;
}

.chart-area div {
    margin: auto;
}

.btn-salvar-csv {
    margin-left: 15px;
    margin-bottom: 5px;
    display: inline-block;
}

.form-criterios {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.form-criterios input {
    max-width: 150px;
}

.btn-assoc-serv {
    margin-top: 8px;
}

.cell-links > div {
    padding: 6px;
}

td.neg-number {
    color: red !important;
}

h1 {
    font-size: 2rem;
    margin-bottom: 2.2rem;
}

#painel-direita {
    max-height: calc(100% - 100px);
}

b {
    font-weight: 600;
}