/* Bright, fixed left-side WhatsApp button for Visa Plus pages. */
.vp-floating-whatsapp {
  position: fixed;
  left: 22px;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 20px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #39f77b 0%, #00c853 100%);
  box-shadow: 0 0 10px rgba(37, 211, 102, .95), 0 0 26px rgba(37, 211, 102, .72), 0 8px 24px rgba(16, 70, 39, .32);
  color: #fff;
  direction: rtl;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  animation: vp-whatsapp-glow 2s ease-in-out infinite alternate;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.vp-floating-whatsapp:hover {
  background: linear-gradient(135deg, #55ff91 0%, #00db63 100%);
  box-shadow: 0 0 14px rgba(37, 211, 102, 1), 0 0 34px rgba(37, 211, 102, .9), 0 10px 28px rgba(16, 70, 39, .36);
  color: #fff;
  transform: translateY(-2px);
}

@keyframes vp-whatsapp-glow {
  from { box-shadow: 0 0 9px rgba(37, 211, 102, .82), 0 0 22px rgba(37, 211, 102, .56), 0 8px 24px rgba(16, 70, 39, .30); }
  to { box-shadow: 0 0 15px rgba(37, 211, 102, 1), 0 0 38px rgba(37, 211, 102, .82), 0 8px 26px rgba(16, 70, 39, .34); }
}

.vp-floating-whatsapp:focus-visible {
  outline: 3px solid #173d2a;
  outline-offset: 3px;
}

.vp-floating-whatsapp svg {
  display: block;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  fill: currentColor;
}

@media (max-width: 640px) {
  .vp-floating-whatsapp {
    left: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 52px;
    padding: 0 17px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vp-floating-whatsapp { animation: none; transition: none; }
}
