body {
  font-family: Arial, sans-serif;
  background: #f4f6f9;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

h1 {
  margin-bottom: 20px;
  color: #333;
}

h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  color: #333;
}

.buttons {
  margin-bottom: 20px;
}

.buttons button {
  background-color: #12a35c;
  border: none;
  color: white;
  padding: 10px 16px;
  margin: 5px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.buttons button:hover {
  background-color: #085a32;
}

.buttons button.active {
  background-color: #085a32;
  color: white;
  border: 2px solid #085a32;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.card {
  background-color: #12a35c;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: white;
  font-weight: bold;
}

th,
td {
  padding: 12px;
  text-align: center;
}

th {
  background-color: #1c2d8f;
}

.pos {
  font-weight: bold;
}

.team {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

td:not(.team) {
  text-align: center;
}

.badge {
  width: 35px;
  height: 35px;
}

.gold {
  color: #ffd700;
  font-weight: bold;
}

.silver {
  color: #c0c0c0;
  font-weight: bold;
}

.bronze {
  color: #cd7f32;
  font-weight: bold;
}

.partidos-section {
  margin-top: 30px;
}

#fechas-select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
  font-size: 16px;
}

.partido {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.equipo-partido {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40%;
}

.badge-partido {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.nombre-equipo {
  font-weight: bold;
  font-size: 1em;
}

.jugadores {
  font-size: 0.9em;
  color: #555;
}

.resultado {
  font-weight: bold;
  font-size: 1.2em;
  color: #1c2d8f;
}
