:root {
  font-family: "Inter", sans-serif;
  --text-color: #292B4A;
  --text-animation: #2f3491;
  --placeholder: #6B7280;
  --background-body: #F0F9FF;
  --branco: #ffff;
  --preto: #000;
}

body {
  width: 100%;
  display: flex;
  /* padding: 1rem; */
  justify-content: space-between;
  /* background-color: var(--background-body); */
  background-image: url("imgs/Home.jpg");
}

tbody{
  height: 180px;
}

.header-principal {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.header-principal h1 {
  margin: 0;
}

.gap-15 {
  gap: 150px;
}

.the-container {
  width: 100vw;
}

.container-form {
  width: 30%;
}

h1 {
  color: var(--text-color);
  text-align: center;
  font-weight: 700;
  font-size: 32pt;
}

h2 {
  color: var(--text-color);
  font-weight: 700;
  font-size: 24pt;
}

h3 {
  color: var(--text-color);
  font-weight: 600;
  font-size: 24pt;
  margin-left: 25px;
  margin-top: 10px;
}

.VITORIA {
  width: 370px;
  color: rgba(0, 46, 99, 0.829);
  background-color: #fa920a;
  padding: 10px;
  border-radius: 10px;
  font-size: 25px;
  margin: 2px auto;
  font-weight: bold;
  border: none;
  text-align: center;
}

#municipioForm {
  width: 100%;
}

#data,
#municipio {
  width: 100%;
  height: 44px;
  padding: 0 18px;
  border-radius: 20px;
  border: none;
  background-color: var(--branco);
  font-size: 20px;
  color: var(--placeholder);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  outline: none;
  min-width: 200px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#municipio:focus,
#data:focus {
  box-shadow:
    0 0 0 3px rgba(30, 64, 175, 0.12),
    0 4px 10px rgba(0, 0, 0, 0.08);
  outline: none;
}

#filtrar {
  height: 44px;
  padding: 0 28px;
  border-radius: 20px;
  border: none;
  background-color: var(--text-color);
  color: var(--branco);
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform .12s ease, background-color .12s ease;
}

#filtrar:hover {
  background-color: var(--text-animation);
  transform: translateY(-1px);
}

#filtrar:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.Fundo {
  width: 100%;
  gap: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.row {
  margin: 0px;
  gap: 20px;
}

.col {
  margin: 0px;
}

.form-label {
  height: 160px;
  width: 200px;
  background-color: var(--branco);
  border: none;
  font-weight: 600;
  color: var(--placeholder);
  font-size: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 20px;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.25);
  position: relative;
}

.titulo-card {
  min-width: 270px;
  max-width: 270px;
}

.help-badge {
  /* position: absolute; */
  top: 10px;
  right: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--text-color);
  color: var(--branco);
  font-weight: bold;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.20);
  border-radius: 10px;
  background-color: var(--text-color);
  --bs-popover-bg: var(--text-color);
}

.popover-body {
  background-color: var(--text-color);
  color: var(--branco);
  padding: 10px;
  border-radius: 0px 0px 10px 10px;
}

.popover-header {
  background-color: var(--text-color);
  color: var(--branco);
  align-items: center;
  text-align: center;
  border: none;
  margin: 0px;
  padding: 10px;
}

.help-badge:hover {
  background-color: var(--text-animation);
  transform: translateY(-1px);
}

.help-badge:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-input {
  border: none;
  border-radius: 10px;
  width: 150px;
  outline: none;
  text-align: center;
  background-color: transparent;
}

#destaque {
  width: 570px;
  height: 325px;
  color: var(--text-color);
  font-weight: 400;
  display: flex;
  min-height: 300px;
  align-items: center;
}

#destaque>.g-grafic {
  margin-top: auto;
}

.header-destaque {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#mais {
  height: 35px;
  padding: 0 20px;
  border-radius: 20px;
  border: none;
  background-color: var(--text-color);
  color: var(--branco);
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .12s ease, background-color .12s ease;
}

#mais:hover {
  background-color: var(--text-animation);
  transform: translateY(-1px);
}

#mais:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.barra {
  width: 150px;
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.barra-color {
  width: 100%;
  height: 100%;
}

.cor-2 {
  color: var(--branco);
}

.cor-1 {
  color: var(--preto);
}

#cor-pos-1 {
  height: 100%;
  background-color: #FFD700;
  border-radius: 8px 8px 0px 0px;
}

#cor-pos-2 {
  height: 70%;
  background-color: #C0C0C0;
  border-radius: 8px 8px 0px 0px;
}

#cor-pos-3 {
  height: 55%;
  background-color: #CD7F32;
  border-radius: 8px 8px 0px 0px;
}

/* #cor-pos-4 {
  height: 40%;
  background-color: #1E90FF;
  border-radius: 8px 8px 0px 0px;
}

#cor-pos-5 {
  height: 25%;
  background-color: #2CAE2C;
  border-radius: 8px 8px 0px 0px;
} */

.p-pos {
  color: #000;
  font-weight: 500;
}

.g-grafic {
  gap: 1px;
}

.content {
  display: flex;
  justify-content: center;
  width: 30%;
}

#historico {
  padding: 10px auto;
  width: 570px;
  color: var(--text-color);
  font-weight: 400;
  display: flex;
  min-height: 200px;
  align-items: center;
  padding: 1rem;
  gap: 15px;
}

#dados{
  padding: 5px 10px;
  width: 100%;
  height: 100%;
  background-color: var(--text-color);
  color: var(--branco);
  text-decoration: none;
  border: none;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#dados:hover {
  background-color: var(--text-animation);
  transform: translateY(-1px);
}

#dados:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

#months {
  height: 35px;
  padding: 0 0px;
  width: 5rem;
  border-radius: 20px;
  border: none;
  background-color: var(--text-color);
  color: var(--branco);
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .12s ease, background-color .12s ease;
}

#months:hover {
  background-color: var(--text-animation);
  transform: translateY(-1px);
}

#months:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

svg {
  width: 100%;
  filter: drop-shadow(10px 5px 3px #9a856d);
}

.aguia_branca {
  fill: #ffb9a5;
}

.agua_doce_norte {
  fill: #ffb9a5;
}

.anchieta {
  fill: #CCCD65;
}

.afonso_claudio {
  fill: #C9B793;
}

.apiaca {
  fill: #9EBCD8;
}

.aracruz {
  fill: #FFEBB0;
}

.alegre {
  fill: #EBCF6B;
}

.alfredo_chaves {
  fill: #CCCD65;
}

.alto_novo {
  fill: #D2FFBE;
}

.atilio_vivacqua {
  fill: #9EBCD8;
}

.barra_francisco {
  fill: #ffb9a5;
}

.boa_esperança {
  fill: #A6C790;
}

.brejetuba {
  fill: #C9B793;
}

.baixo_guandu {
  fill: #D2FFBE;
}

.bom_jesus_norte {
  fill: #EBCF6B;
}

.colatina {
  fill: #D2FFBE;
}

.castelo {
  fill: #9EBCD8;
}

.cariacica {
  fill: #E0A855;
}

.cachoeiro_itapemirim {
  fill: #9EBCD8;
}

.conceicao_castelo {
  fill: #C9B793;
}

.dores_preto {
  fill: #EBCF6B;
}

.domingo_martins {
  fill: #C9B793;
}

.domingos_norte {
  fill: #D2FFBE;
}

.conceicao_barra {
  fill: #A6C790;
}

.divino_lourenco {
  fill: #EBCF6B;
}

.ecoporanga {
  fill: #ffb9a5;
}

.fundao {
  fill: #E0A855;
}

.guarapari {
  fill: #E0A855;
}

.gabriel_palha {
  fill: #D2FFBE;
}

.governador_lindenberg {
  fill: #D2FFBE;
}

.guacui {
  fill: #EBCF6B;
}

.iconha {
  fill: #CCCD65;
}

.ibatiba {
  fill: #EBCF6B;
}

.iuna {
  fill: #EBCF6B;
}

.irupi {
  fill: #EBCF6B;
}

.itarana {
  fill: #FBB3F5;
}

.ibiracu {
  fill: #FFEBB0;
}

.itaguacu {
  fill: #FBB3F5;
}

.itapemirim {
  fill: #CCCD65;
}

.ibitirama {
  fill: #EBCF6B;
}

.jeronimo_monteiro {
  fill: #9EBCD8;
}

.joao_neiva {
  fill: #FFEBB0;
}

.jose_calcado {
  fill: #EBCF6B;
}

.jaguare {
  fill: #A6C790;
}

.laranja_terra {
  fill: #C9B793;
}

.linhares {
  fill: #FFEBB0;
}

.muqui {
  fill: #9EBCD8;
}

.marataizes {
  fill: #CCCD65;
}

.mimoso_sul {
  fill: #9EBCD8;
}

.muniz_freire {
  fill: #EBCF6B;
}

.mantenopolis {
  fill: #ffb9a5;
}

.marechal_floriano {
  fill: #C9B793;
}

.mucurici {
  fill: #A6C790;
}

.montanha {
  fill: #A6C790;
}

.marilandia {
  fill: #D2FFBE;
}

.nova_venecia {
  fill: #ffb9a5;
}

.presidente_kennedy {
  fill: #CCCD65;
}

.pedro_canario {
  fill: #A6C790;
}

.piuma {
  fill: #CCCD65;
}

.pancas {
  fill: #D2FFBE;
}

.pinheiros {
  fill: #A6C790;
}

.ponto_belo {
  fill: #A6C790;
}

.roque_canaa {
  fill: #D2FFBE;
}

.rio_bananal {
  fill: #FFEBB0;
}

.rio_novo_sul {
  fill: #CCCD65;
}

.santa_leopoldina {
  fill: #FBB3F5;
}

.sooretama {
  fill: #FFEBB0;
}

.santa_maria_jetiba {
  fill: #FBB3F5;
}

.santa_teresa {
  fill: #FBB3F5;
}

.sao_mateus {
  fill: #A6C790;
}

.serra {
  fill: #E0A855;
}

.vila_valerio {
  fill: #D2FFBE;
}

.vila_pavao {
  fill: #ffb9a5;
}

.viana {
  fill: #E0A855;
}

.vargem_alta {
  fill: #9EBCD8;
}

.venda_imigrante {
  fill: #C9B793;
}

.vila_velha {
  fill: #E0A855;
}

.vitoria {
  fill: #E0A855;
}

.aguia_branca:hover,
.agua_doce_norte:hover,
.ecoporanga:hover,
.mantenopolis:hover,
.nova_venecia:hover,
.vila_pavao:hover,
.barra_francisco:hover {
  fill: #ff9c89;
}

.anchieta:hover,
.alfredo_chaves:hover,
.itapemirim:hover,
.iconha:hover,
.marataizes:hover,
.piuma:hover,
.rio_novo_sul:hover,
.presidente_kennedy:hover {
  fill: #e3b440;
}

.afonso_claudio:hover,
.brejetuba:hover,
.conceicao_castelo:hover,
.domingo_martins:hover,
.laranja_terra:hover,
.marechal_floriano:hover,
.venda_imigrante:hover {
  fill: #d6925e;
}

.apiaca:hover,
.atilio_vivacqua:hover,
.castelo:hover,
.cachoeiro_itapemirim:hover,
.mimoso_sul:hover,
.muqui:hover,
.vargem_alta:hover,
.jeronimo_monteiro:hover {
  fill: #8f9bb6;
}

.aracruz:hover,
.ibiracu:hover,
.joao_neiva:hover,
.linhares:hover,
.sooretama:hover,
.rio_bananal:hover {
  fill: #ffcf9c;
}

.alegre:hover,
.bom_jesus_norte:hover,
.divino_lourenco:hover,
.guacui:hover,
.ibatiba:hover,
.iuna:hover,
.irupi:hover,
.jose_calcado:hover,
.muniz_freire:hover,
.ibitirama:hover,
.dores_preto:hover {
  fill: #ffb455;
}

.alto_novo:hover,
.baixo_guandu:hover,
.colatina:hover,
.domingos_norte:hover,
.gabriel_palha:hover,
.governador_lindenberg:hover,
.marilandia:hover,
.pancas:hover,
.roque_canaa:hover,
.vila_valerio:hover {
  fill: #c9e161;
}

.boa_esperança:hover,
.conceicao_barra:hover,
.jaguare:hover,
.mucurici:hover,
.montanha:hover,
.pedro_canario:hover,
.pinheiros:hover,
.ponto_belo:hover,
.sao_mateus:hover {
  fill: #a2b153;
}

.cariacica:hover,
.fundao:hover,
.guarapari:hover,
.serra:hover,
.viana:hover,
.vila_velha:hover,
.vitoria:hover {
  fill: #e58834;
}

.itarana:hover,
.itaguacu:hover,
.santa_leopoldina:hover,
.santa_maria_jetiba:hover,
.santa_teresa:hover {
  fill: #e891bf;
}


path {
  fill: white;
  stroke: rgb(0, 0, 0);
  stroke-width: 1px
}

.tooltip {
  pointer-events: none;
  position: absolute;
  font-size: 18px;
  text-align: center;
  background: white;
  padding: 10px 15px;
  z-index: 5;
  height: 30px;
  line-height: 30px;
  margin: 0 auto;
  color: #366CA3;
  border-radius: 5px;
  transform: translateX(-50%);
  display: none;
}

.tooltip.active {
  display: block;
}

.tooltip:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 0;
  height: 0;
  margin-left: -10px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
}

.pop-ranking {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  /* Começa escondido */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  display: none;
}

.resultados {
  background-color: var(--branco);
  margin: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-radius: 15px;
  width: 90vw;
  height: 80vh;
  /* Ocupa 90% da largura da tela */
  max-width: 1200px;
  /* Limita a largura máxima em telas grandes */
  box-sizing: border-box;
  /* Garante que o padding não estoure a largura */
  margin: 20px;
  /* Adiciona uma margem para não colar nas bordas da tela */
  /* --- ADICIONE ESTA LINHA --- */
  position: relative;
  /* Define o contexto para o botão de fechar */
}

.superior {
  background-color: var(--text-color);
  width: 100%;
  max-width: 1440px;
  height: 92px;
  border-radius: 19px 19px 0px 0px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.analise-de-inscricao {
  background-color: var(--text-color);
  width: 100%;
  max-width: 1370px;
  border-radius: 19px;
  box-shadow: 0px 4px 4px #00000040;
  padding: 30px;
  box-sizing: border-box;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.result-header h1 {
  color: var(--text-color);
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  flex: 1;
}

.controles {
  display: flex;
  gap: 15px;
}

.search-box,
.filter-box select {
  background-color: #f0f2f4;
  border: none;
  border-radius: 19px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-family: "Inter", sans-serif;
}

.search-box i {
  color: black;
  font-size: 1em;
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--placeholder);
}

#regiao {
  color: var(--placeholder);
  font-weight: 400;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  -webkit-box-shadow: 7px 9px 15px 5px rgba(0, 0, 0, 0.25);
  box-shadow: 7px 9px 15px 5px rgba(0, 0, 0, 0.25);
  border-radius: 15px;
  overflow-x: scroll;
}

.close-button {
  position: absolute;
  /* Essencial para posicionar em relação ao pai */
  top: 10px;
  right: 15px;
  font-size: 30px;
  /* Tamanho do "X" */
  color: #6B7280;
  /* Cor cinza, como os placeholders */
  cursor: pointer;
  line-height: 1;
  /* Remove altura extra da linha */
  font-weight: bold;
  transition: color 0.2s ease;
}

.close-button:hover {
  color: var(--text-animation);
  /* Cor azul ao passar o mouse */
}

/* Nova classe para o contêiner da tabela */
.table-container {
  width: 100%;
  /* Ocupa toda a largura do popup .resultados */
  overflow-y: auto;
  /* Adiciona a rolagem horizontal SE necessário */
}

thead {
  background-color: var(--text-color);
  -webkit-box-shadow: 7px 5px 15px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 7px 5px 15px 0px rgba(0, 0, 0, 0.25);
  border-radius: 50px 50px 0px 0px;
}

.border-th1 {
  border-radius: 15px 0px 0px 0px;
}

.border-th2 {
  border-radius: 0px 15px 0px 0px;
}

.ranking-table th {
  text-align: left;
  color: var(--branco);
  font-size: 14px;
  padding: 15px;

}

.ranking-table td {
  padding: 15px;
  border-bottom: 1px solid #e5e7eb;
  color: var(--preto);
  font-weight: 500;
}

#c-1 {
  color: #EAB308;
}

#c-2 {
  color: #9CA3AF;
}

#c-3 {
  color: #FB9847;
}

@media (max-width: 768px) {
  .the-container-container {
    flex-direction: column !important;
    align-items: center !important;
    padding: 10px !important;
    width: 100% !important;
    overflow-x: hidden;
  }

  /* 1. Força o container principal a empilhar, ignorando o flex-row do Bootstrap */
  .the-container {
    flex-direction: column !important;
    align-items: center !important;
    padding: 10px !important;
    width: 100% !important;
    overflow-x: hidden;
  }

  /* 2. Faz o formulário e o mapa ocuparem a largura total */
  .container-form,
  .content {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 3. Centraliza os títulos e ajusta o tamanho */
  h1 {
    font-size: 24px !important;
    width: 100% !important;
    text-align: center !important;
  }

  h2 {
    font-size: 20px !important;
    text-align: center !important;
    width: 100% !important;
  }

  /* 4. Corrige os Filtros (Select, Data e Botão) */
  #municipioForm {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  #municipio, #data {
    font-size: medium;
  }

  #municipio,
  #data,
  #filtrar {
    width: 90% !important;
    /* Quase toda a largura, centralizado */
    margin: 0 auto !important;
  }

  /* 5. Corrige os Cards (Labels) para não ficarem espremidos */
  .row {
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0px;
  }

  .form-label {
    width: 95% !important;
    /* Ocupa quase tudo */
    height: auto !important;
    min-height: 120px !important;
    margin: 0 auto !important;
    padding: 15px !important;
  }

  /* Ajusta o texto dentro do card para não quebrar feio */
  .titulo-card {
    font-size: 16px !important;
    min-width: 270px;
    max-width: 270px;
  }

  /* .div-header {
    gap: 10px;
  } */

  .g-grafic {
    display: flex;
    justify-content: end;
    width: 100%;
    height: 100%;
  }

  #destaque {
    padding: 0%;

  }

  /* 6. Ajusta o Mapa lá embaixo */
  .content svg {
    width: 90% !important;
    height: auto !important;
    margin-top: 20px !important;
  }

  .resultados {
    background-color: #f0f9ff;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-radius: 15px;
    height: 100%;
    width: 100%;
  }

}

@media (max-width: 1024px) {
  .the-container-container {
    flex-direction: column !important;
    /* Empilha Form e Mapa */
    align-items: center !important;
    padding: 20px !important;
  }

  .the-container {
    flex-direction: column !important;
    /* Empilha Form e Mapa */
    align-items: center !important;
    padding: 20px !important;
  }

  .container-form {
    width: 90% !important;
    /* Ocupa a maior parte da tela no tablet */
    max-width: 800px !important;
  }

  .content {
    width: 100% !important;
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }

  .content svg {
    width: 60% !important;
    /* Mapa um pouco maior no tablet */
    height: auto !important;
  }

  /* No tablet, podemos manter 2 cards por linha para não ficar muito esticado */
  .row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
  }

  .form-label {
    flex: 1 1 calc(50% - 20px) !important;
    /* 2 colunas no tablet */
    min-width: 300px !important;
    max-width: 400px !important;
  }

  .g-grafic {
    display: flex;
    justify-content: end;
    width: 100%;
    height: 100%;
  }

  .titulo-card {
    min-width: 270px;
    max-width: 270px;
  }

  #destaque {
    flex: 0 0 100% !important;
    /* Força ocupar 100% da largura da row */
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 350px !important;
    margin: 10px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  #historico {
    flex: 0 0 100% !important;
    /* Força ocupar 100% da largura da row */
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 350px !important;
    margin: 10px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Garante que o gráfico dentro dele também se ajuste */
  #destaque .g-grafic {
    width: 100% !important;
    max-width: 600px !important;
    /* Limita um pouco para não esticar demais as barras */
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
  }

}

@media (min-device-width: 820px) and (max-device-width: 1180px) and (orientation: landscape) {
  .the-container-container {
    /* flex-direction: row !important; */
    gap: 30px !important;
  }

  .the-container {
    flex-direction: row !important;
    gap: 30px !important;
  }

  .container-form {
    width: 60% !important;
  }

  .content {
    width: 35% !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Garante que os cards fiquem em 2 colunas dentro do form */
  .row {
    display: flex !important;
    flex-direction: row !important;
  }

  #historico {
    height: auto;
  }

  .form-label:not(#destaque) {
    flex: 1 1 calc(50% - 15px) !important;
  }

  .form-label:not(#historico) {
    flex: 1 1 calc(50% - 15px) !important;
  }

  .titulo-card {
    min-width: 250px;
    max-width: 250px;
  }

  .g-grafic {
    width: 100%;
  }
}

@media (min-width: 1025px) {
  .the-container {
    flex-direction: row !important;
    /* Volta a ficar lado a lado */
    align-items: flex-start !important;
    justify-content: space-around !important;
    flex-wrap: nowrap !important;
    /* Impede de quebrar linha se houver espaço */
    padding: 40px !important;
  }

  .container-form {
    width: 35% !important;
    /* Formulário ocupa um pouco mais da metade */
    max-width: 700px !important;
  }

  .content {
    width: 50% !important;
    /* Mapa na direita */
    position: sticky;
    /* Faz o mapa acompanhar a rolagem se os cards forem muitos */
    top: 20px;
    margin-top: 100px !important;
  }

  .content svg {
    width: 100% !important;
    max-width: 600px !important;
    height: auto !important;
  }
}