.gif-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    bottom: 300px;
    z-index: 9999; /* Asegura que esté encima del carousel */
}

.gif-float img {
    width: 220px; /* Ajusta el tamaño */
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gif-float img:hover {
    transform: scale(1.5);
}


/* -------------------------------------------------------------------------- */
/*                            ESTILOS BARRA LATERAL                           */
/* -------------------------------------------------------------------------- */


.sidebar-bubble {
  position: fixed;
  left: 20px;
  top: 230px;
  width: 260px;
  background: linear-gradient(135deg, #1e293b, #334155);
  color: #fff;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  overflow: hidden;
  font-family: sans-serif;
  animation: floatIn 0.6s ease;
}

/* Animación de entrada */
@keyframes floatIn {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.bubble-header {
  padding: 12px 15px;
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.bubble-content {
  padding: 10px;
  max-height: 300px;
  overflow-y: auto;
  transition: all 0.3s ease;
}

.bubble-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bubble-content li {
  margin-bottom: 10px;
}

.bubble-content a {
  display: block;
  text-decoration: none;
  color: #e2e8f0;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  transition: 0.3s;
}

.bubble-content a:hover {
  background: #475569;
  transform: translateX(5px);
  color: #fff;
}

/* Badges */
.badge {
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 6px;
  margin-right: 5px;
  background: #22c55e;
}

.badge.update { background: #3b82f6; }
.badge.event { background: #f59e0b; }
.badge.info { background: #6366f1; }

/* Estado colapsado */
.sidebar-bubble.collapsed .bubble-content {
  display: none;
}