@keyframes bounce {
  30% {
    transform: translateY(-2px);
  }
  60% {
    transform: translateY(0);
  }
  80% {
    transform: translateY(2px);
  }
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
}
#chat-widget-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  z-index: 9999;
}
#chat-popup {
  height: 70vh;
  max-height: 70vh;
  width: 40vw;
  transition: all 0.3s;
  overflow: hidden;
}
@media (max-width: 768px) {
  #chat-popup {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
}
.bubble {
  position: relative;
  display: inline-block;
  margin-bottom: 5px;
  color: #F9FBFF;
  font-size: 0.7em;
  padding: 10px 10px 10px 12px;
  border-radius: 20px;
}
.typing .bubble {
  background: #eaeaea;
  padding: 8px 13px 9px 13px;
}
.typing .ellipsis {
  width: 5px;
  height: 5px;
  display: inline-block;
  background: #b7b7b7;
  border-radius: 50%;
  animation: bounce 1.3s linear infinite;
}
.typing .ellipsis.one {
  animation-delay: 0.6s;
}
.typing .ellipsis.two {
  animation-delay: 0.5s;
}
.typing .ellipsis.three {
  animation-delay: 0.8s;
}
#chat-bubble {
  position: relative;
}
#chat-bubble .notification-badge {
  position: absolute;
  top: 10px;
  left: 34px;
  background-color: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  border-radius: 9999px;
  width: 18px;
  height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  user-select: none;
}
.hidden {
  display: none;
}
