/* WhatsApp Widget Styles */

.whatsapp-widget {
  position: fixed;
  bottom: 70px;
  right: 30px;
  z-index: 999;
  animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #20ba5c 100%);
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  color: white;
  font-size: 28px;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
  color: white;
  text-decoration: none;
}

.whatsapp-button:active {
  transform: scale(0.95);
}

.whatsapp-tooltip {
  position: absolute;
  bottom: 75px;
  right: 0;
  background-color: #25d366;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 10px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #25d366;
}

.whatsapp-widget:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: 80px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .whatsapp-widget {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-button {
    width: 55px;
    height: 55px;
    font-size: 26px;
  }

  .whatsapp-tooltip {
    font-size: 12px;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .whatsapp-widget {
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-button {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .whatsapp-tooltip {
    font-size: 11px;
    padding: 6px 10px;
    white-space: normal;
    max-width: 120px;
  }
}
