/* Estilo para la tabla */
.custom-table-responsive {
  overflow-x: auto;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Roboto", sans-serif;
  border-radius: 10px;
  overflow: hidden;
}

.custom-table th,
.custom-table td {
  padding: 12px 15px;
  border: none;
  text-align: center;
}

.custom-table td {
  vertical-align: none;
}

.custom-table th {
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
}

/* Centrar puntajes y números */
.center-ranking {
  text-align: center;
}

/* Estilos para medallas */
/* Medalla base */
.medalla {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px; /* Tamaño fijo de la medalla */
  background-size: contain; /* Ajusta la imagen al contenedor */
  background-position: center; /* Centra la imagen en el contenedor */
  background-repeat: no-repeat; /* Evita que se repita */
  border-radius: 50%; /* Hace que el contenedor sea redondo */
  position: relative; /* Para posicionar el número dentro de la medalla */
}

/* Estilo del número en la medalla */
.numero-medalla {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 2px black;
}

/* Número negro para posiciones 1, 2 y 3 */
.numero-negro {
  color: black;
}

/* Número blanco para posiciones 4 a 100 */
.numero-blanco {
  color: white;
}

/* Estilos para el buscador del ranking */
.ranking-container .ranking-buscador {
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
}


