.tabela-cursos {
  max-width: 900px;
  margin: 40px auto;
  padding: 10px;
  overflow-x: auto;
}

.tabela-cursos table {
  width: 100%;
  min-width: 600px; /* largura mínima para evitar quebra */
  border-collapse: collapse;
}

.tabela-cursos th,
.tabela-cursos td {
  padding: 12px 16px;
  text-align: center;
}

.tabela-cursos th {
  background-color: #f3f3f3;
}

.tabela-cursos tr:nth-child(even) {
  background-color: #f9f9f9;
}

.tabela-cursos tr:nth-child(odd) {
  background-color: #eeeeee;
}

.tabela-cursos .btn-matricula {
  background-color: #14532d;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.tabela-cursos .btn-matricula:hover {
  background-color: #1a6539;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.tabela-cursos tr:nth-child(odd) {
  background-color: #eeeeee;
}

.tabela-cursos .btn-matricula {
  background-color: #14532d; /* verde escuro */
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

.tabela-cursos .btn-matricula:hover {
  background-color: #166534; /* tom mais claro no hover */
}

.tabela-cursos .tipo-selecao {
  background-color: #d1fae5; /* verde claro */
  color: #065f46; /* verde escuro para o texto */
  font-weight: bold;
}

.tabela-cursos .tipo-resultado {
  background-color: #fee2e2; /* vermelho claro */
  color: #991b1b; /* vermelho escuro para o texto */
  font-weight: bold;
}

.tabela-cursos .tipo-errata {
  background-color: #fef9c3; /* amarelo claro */
  color: #92400e; /* marrom escuro */
  font-weight: bold;
}
