/* chat-widget.css */
.chat-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000; /* Ensure it sits on top of everything */
}

.chat-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #2481cc; /* Telegram's signature blue */
  color: white;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  border: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.chat-button:hover {
  transform: scale(1.1);
  background-color: #1e6fa8;
}

.chat-icon {
  font-style: normal;
}

/* Animation for the floating button */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* Optional: A small "new message" badge */
.chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: #ff4b4b;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 50%;
  display: none; /* Hidden by default */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .chat-widget-container {
    bottom: 16px;
    right: 16px;
  }
  .chat-button {
    width: 54px;
    height: 54px;
    font-size: 24px;
  }
}
