.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: Arial, sans-serif;
}

.whatsapp-bubble {
  background-color: #ffffff;
  color: #333333;
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  margin-bottom: 12px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: wa-slide-up 0.5s ease forwards;
  font-size: 14px;
}

.whatsapp-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 24px;
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

.wa-close {
  background: none;
  border: none;
  color: #999;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.wa-close:hover {
  color: #333;
}

.whatsapp-button {
  background-color: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  position: relative;
  text-decoration: none;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  background-color: #20BA56;
}

.whatsapp-ico {
  width: 35px;
  height: 35px;
}

.wa-notification {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #ff3b30;
  color: #fff;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  border: 2px solid #fff;
}

@keyframes wa-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .whatsapp-widget {
    bottom: 15px;
    right: 15px;
  }
  .whatsapp-button {
    width: 50px;
    height: 50px;
  }
  .whatsapp-ico {
    width: 30px;
    height: 30px;
  }
  .whatsapp-bubble::after {
    right: 18px;
  }
}
