/* WhatsApp Floating Button */
.whatsapp-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* WhatsApp Icon Button */
.whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: transform 0.2s ease-in-out;
}

.whatsapp-btn:hover {
  transform: scale(1.05);
}

/* Tooltip */
.tooltip {
  visibility: hidden;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 6px 10px;
  border-radius: 6px;
  position: absolute;
  left: 70px;
  bottom: 50%;
  transform: translateY(50%);
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}

.whatsapp-btn:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

/* Chat Popup */
.chat-popup {
  display: none;
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 250px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-family: Arial, sans-serif;
  animation: fadeIn 0.3s ease-in-out;
}

.chat-popup header {
  background: #25d366;
  color: #fff;
  padding: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-weight: bold;
}

.chat-popup p {
  padding: 12px;
  margin: 0;
  color: #333;
  font-size: 14px;
}

.chat-popup a {
  display: block;
  background: #25d366;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 10px;
  border-radius: 0 0 10px 10px;
  font-weight: bold;
}

.chat-popup a:hover {
  background: #1ebe57;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
