body {
  background-color: #f8f9fa;
}

/* Contêiner da tabela */
.table-container {
  padding: 1rem;
  margin: auto;
  max-width: 100%; /* Ajusta a largura no celular */
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
}

/* Wrapper do DataTables */
.dataTables_wrapper {
  width: 100%;
}

/* Título */
h1 {
  color: #343a40;
  font-weight: 700;
  font-size: 1.2rem; /* Ajusta o tamanho do texto */
  margin-bottom: 1rem;
}

/* Estilos para colunas e células */
.table td, .table th {
  min-width: 100px;
  white-space: nowrap;
}

/* Botões de ação */
.btn-action {
  width: 60px;
  margin: 2px;
  font-size: 0.75rem;
  padding: 0.3rem; /* Ajusta o espaçamento interno */
}

/* Coluna de ações */
.actions-cell {
  width: 80px;
}

/* Ajuste de botão de visibilidade de colunas */
.dt-buttons {
  float: none;
  margin: 0 auto 1rem;
  display: flex;
  justify-content: center;
}

/* Modo responsivo para celular */
@media (max-width: 768px) {
  /* Reduz padding no contêiner para dispositivos menores */
  .table-container {
      padding: 1rem;
  }
  
  /* Ajusta o tamanho do título */
  h1 {
      font-size: 1rem;
  }

  /* Deixa os botões de ação menores */
  .btn-action {
      width: 50px;
      font-size: 0.7rem;
      padding: 0.25rem;
  }

  /* Ajusta largura mínima das colunas */
  .table td, .table th {
      min-width: 80px;
  }
}
