.podio-loading-spinner2 {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
  }
  /* Overlay de carga */
.podio-loading-overlay-ba {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Fondo semi-transparente */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  /* Asegúrate de que el overlay esté encima de todo */
}
  .podio-loading-spinner-ba {
    border: 8px solid #f3f3f3;
    /* Color de fondo del spinner */
    border-top: 8px solid #5512cf;
    /* Color del spinner */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    /* Animación de rotación */
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  .podio-position {
    font-weight: bold;
    font-size: 24px; /* Tamaño mayor */
    margin-bottom: 5px;
  }
  /* General */
  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .popup-content {
    position: relative; /* Necesario para posicionar el pseudo-elemento */
    background: none; /* Eliminamos el fondo aquí */
    border-radius: 10px;
    padding: 20px;
    color: #333;
    width: 100%;
    min-width: 20rem;
    max-width: 28rem;
    max-height: 80%;
    min-height: 30rem;
    overflow: auto;
    z-index: 1; /* Aseguramos que el contenido esté por encima del ::before */
}

.popup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/img/commons/podio.jpg') no-repeat center center;
    background-size: cover; /* Ajusta la imagen al tamaño del div */
    filter: blur(2px) brightness(.7); /* Desenfoque y aclarado */
    z-index: -1; /* Coloca detrás del contenido */
    border-radius: 10px; /* Aplica el borde redondeado */
    opacity: 1; /* Ajusta la opacidad si quieres atenuar más el fondo */
}
  .popup-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
  }
  
  .open-popup-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
  }
  
  /* Podio */
  .podio-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .podio {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(20, 1fr);
    background-image: url('/img/commons/podio.jpg');  /* Ruta de la imagen */
    background-size: cover;      /* Hace que la imagen cubra todo el div */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat;/* Evita que la imagen se repita */
    min-height: 20rem;
    max-height: 25rem;
  }
  
  .podio-item {
    display: grid;
    grid-template-rows: 1fr;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */

    display: flex; /* Permite centrar los elementos */
    flex-direction: column; /* Coloca los elementos en columna (imagen arriba, texto abajo) */
    align-items: center; /* Centra horizontalmente los elementos dentro del contenedor */
    justify-content: center; /* Centra verticalmente los elementos dentro del contenedor */
    text-align: center;
    width: 6rem;
  }
  
  .podio-1 {
    order: 1;
    grid-column: 5;    /* 2 */
    grid-row: 5;    /* Primera fila */
    margin: auto;
    padding-top: 0rem;

  }
  
  .podio-2 {
    order: 0;
    grid-column: 3;    /* 1 */
    grid-row: 5;    /* Primera fila */
    margin: auto;
    padding-top: 5rem;
  }
  
  .podio-3 {
    order: 2;
    grid-column: 7;    /* Primera fila */
    margin: auto;
    grid-row: 5;    /* Primera fila */
    padding-top: 7rem;
  }
  
  .podio-image {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* margin-bottom: 5px; */
    margin: auto;
        
  }
  
  .podio-name {
    text-align: center;
    color: #fff;
    font-weight: 800;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin: auto;
    text-shadow: -1px -1px 0 #250030, 1px -1px 0 #250030, -1px 1px 0 #250030, 1px 1px 0 #250030;
    

    max-width: 8rem; /* Ajusta el ancho máximo permitido */
    overflow: hidden; /* Oculta el texto que exceda el ancho */
    text-overflow: ellipsis; /* Muestra puntos suspensivos si el texto es muy largo */
    white-space: nowrap; /* Evita que el texto pase a una nueva línea */
    color: #fff; /* Cambia el color si el fondo del podio lo requiere */
  }
  
  /* Lista */
  .lista-section {
     /*width: 100%;
    overflow-y: auto;
    max-height: 300px; /* Ajusta según tus necesidades */
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 10px;
    max-height: calc(100vh - 500px); /* Ajusta la altura disponible dentro del popup */
    overflow-y: auto;
  }
  
  .lista {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .lista-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 15rem;
    margin: auto;
  }
  
  .lista-position {
    width: 30px;
    text-align: center;
    font-weight: bold;
    color: #ff6347;
    font-size: 18px; /* Tamaño menor que el podio */
  }
  
  .lista-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }
  
  .lista-name {
    flex-grow: 1;
    font-weight: bold;
  }
  

/* Estilo del scrollbar en la sección de la lista */
.lista-section::-webkit-scrollbar {
    width: 12px; /* Ancho del scrollbar */
  }
  
  .lista-section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.3); /* Color de fondo del track */
    border-radius: 10px; /* Bordes redondeados del track */
  }
  
  .lista-section::-webkit-scrollbar-thumb {
    background: #1e064a; /* Color del thumb */
    border-radius: 10px; /* Bordes redondeados del thumb */
    border: 3px solid rgba(255, 255, 255, 0.3); /* Espacio alrededor del thumb */
  }
  
  .lista-section::-webkit-scrollbar-thumb:hover {
    background: #ff6347; /* Color del thumb al pasar el mouse */
  }
  
  @media (min-width: 100px) and (max-width: 1023px){
  
    .podio {
      grid-template-columns: repeat(9, 1fr);
    }
  }
  @media (min-width: 1024px){
    .podio {
      grid-template-columns: repeat(9, 1fr);
    }
  }