/* Hide the default Voiceglow bubble */
.vg-widget-bubble,
div[id^="vg-widget-bubble"],
.vg-widget-container {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#custom-chat-bubble {
  pointer-events: auto !important;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  height: 80px;
  border-radius: 40px;
  background: #f9f9f9;
  border: 3px solid #ff0000;
  display: flex;
  align-items: center;
  padding: 0 15px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(255, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-family: "Roboto", sans-serif;
  z-index: 9999;
}

#custom-chat-bubble:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(255, 0, 0, 0.2);
}

#custom-chat-bubble .ai-image {
  width: 50px;
  height: 50px;
  background-image: url("https://i.imgur.com/VAvAqRG.png");
  background-size: cover;
  background-position: center;
  border-radius: 25px;
  margin-right: 15px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

#custom-chat-bubble .ai-image::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 20px;
  bottom: -10px;
  left: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  z-index: -1;
}

#custom-chat-bubble .vg-bubble-text {
  flex-grow: 1;
  text-align: left;
  font-size: 14px;
  color: #333;
  line-height: 1.3;
}

#custom-chat-bubble .click-text {
  color: #e60000;
  text-decoration: underline;
  font-weight: 400;
}
#VG_OVERLAY_CONTAINER {
  position: fixed;
  bottom: 120px;
  border-radius: 30px;
  right: 20px;
  width: 400px;
  height: 500px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  background-color: white;
  pointer-events: none;
}

#VG_OVERLAY_CONTAINER.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
