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

/* Estilos gerais */
.search-bar {
  display: flex;
  flex-direction: column; /* Alinha os elementos verticalmente */
  align-items: flex-start; /* Alinha os itens à esquerda */
  gap: 10px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  width: fit-content; /* Largura se ajusta ao conteúdo */
  margin: 20px auto; /* Centraliza horizontalmente */
}

/* Estilos para o container dos checkboxes */
#filter-options {
  display: flex;
  flex-wrap: wrap; /* Permite que os checkboxes quebrem para a próxima linha */
  gap: 10px;
  margin-bottom: 10px;
}

#filter-options label {
  display: flex;
  align-items: center;
  padding: 8px 12px;
}


#filter-options input[type="checkbox"] {
  margin-right: 5px;
}

/* Estilos para o container dos inputs */
#filter-inputs-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%; /* Inputs ocupam toda a largura do container */
}

#filter-inputs-container > * {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box; /* Garante que o padding não aumente a largura */
  width: 100%; /* Inputs ocupam toda a largura do container */
}

/* Estilos para o botão de busca */
#search-button {
  padding: 12px 24px;
  font-size: 1.1rem;
  background-color: hsl(220, 24%, 12%);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
  margin-top: 15px;
  align-self: center; /* Centraliza o botão horizontalmente dentro do search-bar */
}

#search-button:hover {
  background-color: hsl(220, 24%, 15%);
}

.chart-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background-color: #fff;
  width: 100%;
}

.chart-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45%;
  height: 400px;
}

.chart-box:first-child,
.chart-box:nth-child(2) {
  order: 1;
}

.chart-box:nth-child(3),
.chart-box:nth-child(4) {
  order: 2;
}


.loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.checkbox-wrapper-2 .ikxBAC {
  appearance: none;
  background-color: #dfe1e4;
  border-radius: 72px;
  border-style: none;
  flex-shrink: 0;
  height: 20px;
  margin: 0;
  position: relative;
  width: 30px;
}

.checkbox-wrapper-2 .ikxBAC::before {
  bottom: -6px;
  content: "";
  left: -6px;
  position: absolute;
  right: -6px;
  top: -6px;
}

.checkbox-wrapper-2 .ikxBAC,
.checkbox-wrapper-2 .ikxBAC::after {
  transition: all 100ms ease-out;
}

.checkbox-wrapper-2 .ikxBAC::after {
  background-color: #fff;
  border-radius: 50%;
  content: "";
  height: 14px;
  left: 3px;
  position: absolute;
  top: 3px;
  width: 14px;
}

.checkbox-wrapper-2 input[type=checkbox] {
  cursor: default;
}

.checkbox-wrapper-2 .ikxBAC:hover {
  background-color: #c9cbcd;
  transition-duration: 0s;
}

.checkbox-wrapper-2 .ikxBAC:checked {
  background-color: #6e79d6;
}

.checkbox-wrapper-2 .ikxBAC:checked::after {
  background-color: #fff;
  left: 13px;
}

.checkbox-wrapper-2 :focus:not(.focus-visible) {
  outline: 0;
}

.checkbox-wrapper-2 .ikxBAC:checked:hover {
  background-color: #535db3;
}