/* Floating WhatsApp Button */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

/* Button */
.wa-button {
  background: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  animation: pulse 1.5s infinite;
  transition: transform 0.3s ease;
}
.wa-button:hover {
  transform: scale(1.1);
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Popup */
.wa-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: scale(0.8) translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.wa-popup.active {
  transform: scale(1) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Header */
.wa-popup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #25d366;
  color: #fff;
  position: relative;
}
.wa-popup-header i {
  font-size: 28px;
}
.wa-info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.wa-status {
  font-size: 13px;
  opacity: 0.9;
}
.wa-close {
  position: absolute;
  right: 12px;
  top: 8px;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
}

/* Body */
.wa-popup-body {
  padding: 15px;
}
.wa-message {
  font-size: 14px;
  margin-bottom: 15px;
  color: #333;
  animation: typing 2s steps(30, end);
  white-space: pre-line;
  overflow: hidden;
}

/* Typing Effect */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* Chat Button */
.wa-chat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}
.wa-chat-btn:hover {
  background: #1ebe5d;
}
