/* WhatsApp Widget Styles */
.whatsapp-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

/* WhatsApp Floating Button */
.whatsapp-float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366; /* WhatsApp green */
  color: white;
  padding: 14px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.whatsapp-float-btn:hover {
  background: #20BA5A; /* Darker green on hover */
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  transform: translateY(-2px);
}

.whatsapp-float-btn:active {
  transform: translateY(0);
}

/* WhatsApp Icon */
.whatsapp-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* WhatsApp Text */
.whatsapp-text {
  white-space: nowrap;
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: white;
  color: #333;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 30px;
  width: 12px;
  height: 12px;
  background: white;
  transform: rotate(45deg);
}

.whatsapp-tooltip.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .whatsapp-widget-container {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float-btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .whatsapp-icon {
    width: 24px;
    height: 24px;
  }

  /* Hide text on very small screens, show only icon */
  .whatsapp-text {
    display: none;
  }

  .whatsapp-float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-tooltip {
    right: -10px;
    max-width: 200px;
    white-space: normal;
  }
}

/* Animation on page load */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-widget-container {
  animation: slideInUp 0.5s ease-out 0.5s both;
}