﻿/* Modern WhatsApp Button Styles */
a[href*="wa.me"] {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  padding: 5px;
  font-size: 0;
  overflow: hidden;
}

/* Image WhatsApp Buttons */
.image-whatsapp {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 50px;
  height: 50px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  font-size: 0;
  overflow: hidden;
}

/* Hover effects for both button types */
a[href*="wa.me"]:hover,
.image-whatsapp:hover {
  width: auto;
  min-width: 60px;
  padding: 0 15px;
  border-radius: 30px;
  background: #128C7E;
}

a[href*="wa.me"]:hover span,
.image-whatsapp:hover span {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  color: white;
  margin-left: 8px;
  white-space: nowrap;
}

/* Icon styles */
a[href*="wa.me"] svg,
.image-whatsapp svg {
  width: 24px;
  height: 24px;
  color: white;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  a[href*="wa.me"] {
    bottom: 80px;
    right: 20px;
  }
  
  .image-whatsapp {
    top: 5px;
    right: 5px;
    width: 45px;
    height: 45px;
  }
}
