/* WhatsApp Widget Styles */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  overflow: hidden;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover img {
  transform: scale(1.1);
}

/* Animación de pulso */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Efecto al hacer clic */
.whatsapp-float:active {
  transform: scale(0.95);
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-float img {
    width: 32px;
    height: 32px;
  }
}

/* Asegurar que el botón sea accesible */
.whatsapp-float:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.5);
}
