.excel-grid {
  max-height: 400px;
  overflow-y: scroll;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.excel-grid table {
  width: auto;
  min-width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

.excel-grid th {
  background-color: #007BFF;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1;
  white-space: nowrap;
}

.excel-grid th,
.excel-grid td {
  padding: 5px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: 12px;
  white-space: nowrap;
  min-width: fit-content;
}

.excel-grid tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Estiliza e fixa a primeira coluna (#) */
.excel-grid th:first-child,
.excel-grid td:first-child {
  left: 0;
  background-color: #f1f1f1;
  z-index: 2;
  text-align: center;
  width: 40px;
  font-weight: bold;
  border-right: 1px solid #ccc;
}

/* Garante que o cabeçalho fixo continue sobreposto corretamente */
.excel-grid th {
  z-index: 3;
}

.nav-tabs {
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
}
.nav-tabs li {
  display: inline-block;
  margin-right: 5px;
}
.nav-tabs li a {
  display: block;
  padding: 8px 12px;
  background: #f1f1f1;
  border: 1px solid #ccc;
  border-radius: 4px 4px 0 0;
  text-decoration: none;
  color: #333;
}
.nav-tabs li.active a {
  background: #007BFF;
  color: white;
  border-color: #007BFF;
}
