#user-badge {
    position: fixed;
    display: none;
    bottom: 20px;
    left: 20px;
    background-color: #422a00;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    z-index: 9999;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(61, 33, 0,0.5);
    transition: all 0.2s ease-in-out;
    -webkit-tap-highlight-color: transparent; /* Para navegadores WebKit (Chrome, Safari, etc.) */
    tap-highlight-color: transparent; /* Para navegadores que no son WebKit */
    outline: none; /* Desactivar contorno por completo - ten en cuenta que esto también afectará a otros elementos enfocables */
}

#popup-user-list li {
  display: flex;
}

#popup-user-list a {
    align-items: center;
    display: flex;
    padding: 8px 16px;
    margin: 2px auto;
    text-align: left;
    text-decoration: none;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s, border-color 0.3s;
}
#popup-user-list img {
    width: 60px;
    height: 60px;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
}

#popup-user-list a:hover {
    background-color: #5c5c5c;
}
/* Estilos para la animación del badge */
@keyframes badgePulse {
  100% {
      box-shadow: 0 0 0 44.8px #0000;
   }
}

#user-badge {
    animation: badgePulse 1.5s infinite linear; 
}
#user-badge:before, #user-badge:after {
   content: "";
   position: absolute;
   inset: 0;
   border-radius: inherit;
   box-shadow: 0 0 0 0 rgba(61, 33, 0,0.5);
   animation: inherit;
   animation-delay: -0.5s;
}

#user-badge:after {
   animation-delay: 1s;
}


#user-badge:hover {
    background-color: #944f00;
}

#user-badge:active {
    background-color: #422a00;
    scale: 1.4;
}

#user-popup {
  position: fixed;
  z-index: 10000;
  bottom: 50px;
  left: 50px;
  background-color: rgba(0, 0, 0, 0.8); /* Fondo negro transparente */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  display: none;
  backdrop-filter: blur(10px); /* Desenfoque del fondo */
  color: #fff; /* Color del texto en el popup */
}

#popup-user-list {
    list-style-type: none;
    padding: 0;
    font-weight: bold;
    overflow-y: scroll !important;
    max-height: 200px;
}

#popup-user-list li {
    margin-bottom: 8px;
}