.btn-excel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  background-color: #1e7e34;
  border-color: #1c7430;
}

.btn-excel:hover {
  background-color: #218838;
  color: #ffffff;
}

/* Estilo para o ícone usando pseudo-elemento */
.btn-excel::before {
  content: "📊"; /* Emoji de gráfico que representa Excel */
  font-size: 14px;
}

/* Estilo para os seletores de ano */
.pt-dashboard-select {
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.pt-dashboard-select:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Estilizar botões com ícones */
.btn-chart {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.375rem 0.75rem;
}

.btn-chart i {
  font-size: 14px;
}

.btn-chart span[class^="icon-"] {
  margin-right: 5px;
  position: relative;
  top: 1px;
}

.mr-1 {
  margin-right: 0.25rem;
}

/* Estilo para grupo de input com ícone */
.input-group-text {
  display: flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  border: 1px solid #ced4da;
  border-radius: 0.25rem 0 0 0.25rem;
}

.input-group .form-select {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Ajustes para os ícones do ClayUI */
.lexicon-icon {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  width: 16px;
  height: 16px;
}

/* Ajustando dimensionamento dos gráficos */
.apexcharts-canvas {
  margin: 0 auto;
}

/* Estilos para o componente Title */
.pt-component-heading {
  text-align: left;
  font: normal normal 600 1.6rem/1.9125rem 'Source Sans Pro';
  letter-spacing: -0.085625rem;
  color: #1E488D;
  margin-bottom: 0;
  font-size: 2.25rem;
}

.heading-hr::before {
  content: "";
  position: absolute;
  width: 30%;
  margin-top: -0.125rem;
  height: 0.25rem;
  background: #1E488D;
  border-radius: 0.25rem;
}

/* Responsividade para todos os componentes */
@media (max-width: 768px) {
  .row.mb-3 {
    margin-bottom: 0.5rem !important;
  }
  
  .col-md-4.offset-md-4,
  .col-md-4.offset-md-8 {
    margin-left: 0;
    margin-top: 10px;
  }
  
  .col-md-1.offset-md-11 {
    margin-left: 80%;
  }
  
  .btn-chart {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .pt-dashboard-select {
    width: 100%;
  }
  
  /* Ajuste para tabelas responsivas */
  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Ajustes para o tamanho dos gráficos */
  .apexcharts-canvas {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Ajustes para as abas */
  .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-tabs .nav-item {
    white-space: nowrap;
  }
}

/* Estilos para melhorar visualização em dispositivos muito pequenos */
@media (max-width: 576px) {
  .box {
    padding: 0.5rem !important;
  }
  
  .col-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
