.chatbot-wrap {
  position: fixed;
  right: 24px;
  bottom:360px;
  z-index: 199;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: chatbotFadeIn 0.4s ease-out both;
}

.chatbot-bubble {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(34, 34, 34, 0.92);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}

.chatbot-wrap:hover .chatbot-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.chatbot-fab {
  width: 92px;
  height: 137px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: chatbotIdleBounce 3s ease-in-out 1s infinite;
  transform-origin: center bottom;
}

.chatbot-fab img {
  width: 92px;
  height: 137px;
  object-fit: contain;
  pointer-events: none;
}

.chatbot-fab:hover {
  transform: scale(1.06);
  border-radius: 10px;
  padding: 15px 8px 0 10px;
  width:76px;
  background: rgba(223, 223, 223, 0.623);
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18); */
}

@keyframes chatbotFadeIn {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chatbotIdleBounce {
  0%   { transform: translateY(0) scale(1); }
  6%   { transform: translateY(-5px) scale(1.02); }
  11%  { transform: translateY(0) scale(0.995); }
  15%  { transform: translateY(-2px) scale(1.005); }
  18%  { transform: translateY(0) scale(1); }
  100% { transform: translateY(0) scale(1); }
}

@media (max-width: 768px) {
  .chatbot-wrap {
    right: 16px;
    bottom: 16px;
    gap: 8px;
  }

  .chatbot-bubble {
    font-size: 13px;
    padding: 9px 12px;
  }

  .chatbot-fab {
      width: 92px;
      height: 137px;
  }

  /* .chatbot-fab img {
      width: 92px;
      height: 137px;
  } */
}