/* Container sidebar : glass effect + shadow + vertical stack */
.sidebar {
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  padding: 1.5rem 0;
  background: rgba(30, 30, 50, 0.6);
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  border-radius: 0px 0px 20px 0px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
  position: fixed;      /* Fixe la sidebar à l'écran */
}



/* Badge business : glass button rond avec animation au hover */
.business-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.3),
    inset 0 0 10px rgba(255, 255, 255, 0.15);
  color: #e0e0ff;
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  overflow: hidden;
}

/* Image dans badge (si tu utilises des images) */
.business-badge img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Hover : léger zoom et glow */
.business-badge:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 6px 15px rgba(88, 101, 242, 0.7),
    inset 0 0 15px rgba(255, 255, 255, 0.3);
  transform: scale(1.15);
  color: #5865f2;
}

/* Hover sur image zoom */
.business-badge:hover img {
  transform: scale(1.1);
}

/* Tooltip glassy stylé */
.business-badge[title]:hover::after {
  content: attr(title);
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(40, 40, 60, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.4rem 0.8rem;
  border-radius: 10px;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ddd;
  pointer-events: none;
  opacity: 0.95;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.8);
  z-index: 10;
}

/* Active : couleur électrique + glow */
.business-badge.active {
  background: #5865f2;
  box-shadow:
    0 0 20px #5865f2,
    inset 0 0 15px #a0a8ff;
  color: white;
  transform: scale(1.3);
  font-weight: 800;
  cursor: default;
}

/* Active image pulse anim */
.business-badge.active img {
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% {
    filter: drop-shadow(0 0 5px #a0a8ff);
  }
  50% {
    filter: drop-shadow(0 0 15px #d0d8ff);
  }
}
