.afe-whatsapp-container {
  z-index: 999999;
}

.afe-whatsapp-floating.afe-whatsapp-bottom-right {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
}

.afe-whatsapp-floating.afe-whatsapp-bottom-left {
  position: fixed;
  bottom: 20px;
  left: 20px;
}

.afe-whatsapp-floating.afe-whatsapp-top-right {
  position: fixed;
  top: 20px;
  right: 20px;
}

.afe-whatsapp-floating.afe-whatsapp-top-left {
  position: fixed;
  top: 20px;
  left: 20px;
}

/* Button Styles */
.afe-whatsapp-btn {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 15px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 1s ease;
  position: relative;
  overflow: visible;
}

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

.afe-whatsapp-btn:hover {
  background: linear-gradient(135deg, #128c7e, #25d366);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: white;
  text-decoration: none;
}

.afe-whatsapp-btn:active {
  transform: scale(1.05);
}

.afe-whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.afe-whatsapp-icon svg {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.afe-whatsapp-btn:hover .afe-whatsapp-icon svg {
  transform: rotate(360deg);
}

.afe-whatsapp-tooltip {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-weight: 500;
  z-index: 10;
}

.afe-whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 98%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: rgba(255, 255, 255, 0.9);
}

.afe-whatsapp-floating .afe-whatsapp-btn:hover .afe-whatsapp-tooltip {
  background: rgba(37, 211, 102, 0.9);
  transform: translateY(-50%) scale(1.05);
  color: #fff;
}

.afe-whatsapp-floating .afe-whatsapp-btn:hover .afe-whatsapp-tooltip::after {
  border-left-color: rgba(37, 211, 102, 0.9);
  color: #fff;
}

.afe-whatsapp-button .afe-whatsapp-btn,
.afe-whatsapp-inline .afe-whatsapp-btn {
  border-radius: 25px;
  width: auto;
  height: auto;
  padding: 12px 20px;
  gap: 10px;
}

.afe-whatsapp-text {
  font-size: 16px;
  font-weight: 600;
  margin-left: 8px;
}

.afe-whatsapp-inline {
  display: inline-block;
  margin: 10px 0;
}

.afe-whatsapp-button {
  display: block;
  text-align: center;
  margin: 20px 0;
}

.afe-whatsapp-floating .afe-whatsapp-btn::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid #25d366;
  border-radius: 50%;
  animation: whatsappPulse 2s infinite;
  opacity: 0.7;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .afe-whatsapp-floating.afe-whatsapp-bottom-right {
    bottom: 15px;
    right: 15px;
  }

  .afe-whatsapp-floating.afe-whatsapp-bottom-left {
    bottom: 15px;
    left: 15px;
  }

  .afe-whatsapp-floating .afe-whatsapp-btn {
    width: 50px;
    height: 50px;
  }

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

  .afe-whatsapp-tooltip {
    font-size: 12px;
    padding: 6px 10px;
    right: 60px;
  }

  .afe-whatsapp-floating .afe-whatsapp-btn:hover .afe-whatsapp-tooltip {
    right: 65px;
  }
}

.afe-currency-switcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
}
