.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.table {
  margin: 0 auto;
  margin-top: 20px;
  width: 80%;
}

.table td,
.table th {
  word-wrap: break-word;
  vertical-align: middle;
  border: 1px solid #ccc;
  padding: 10px;
}

.table td:nth-child(3),
.table th:nth-child(3) {
  text-align: center;
}

.table td:first-child,
.table th:first-child {
  width: 5%;
}

.table td:nth-child(2),
.table th:nth-child(2) {
  width: 15%;
}

.table td:nth-child(3),
.table th:nth-child(3) {
  width: 5%;
}

.table thead th {
  background-color: #ccc;
}

.table tbody td:first-child {
  text-align: center;
}

.table-elite {
  background-color: #FFD700;
}

.table-lideres-novo {
  background-color: #FFA07A;
}

.table-top {
  background-color: #87CEEB;
}

.table-lideres {
  background-color: #FF6347;
}

.table-representantes {
  background-color: #90EE90;
}

.table-sobra {
  background-color: #D3D3D3;
}

.table tfoot td:first-child {
  font-weight: bold;
}

.table tfoot td:nth-child(3) {
  background-color: #b6b1d6;
  color: #fff;
}

.table {
  margin-bottom: 20px;
}

/* Estilo para todas as tabelas terem o mesmo tamanho */
.table {
  width: 40%;
}

/* Estilos para responsividade em dispositivos móveis */

@media only screen and (max-width: 768px) {
  .table {
    width: 90%;
  }
  .table td:first-child,
  .table th:first-child,
  .table td:nth-child(2),
  .table th:nth-child(2),
  .table td:nth-child(3),
  .table th:nth-child(3) {
    width: 100%;
  }
}
