.arengo-whatsapp-bubble {
  position: fixed !important;
  right: max(18px, env(safe-area-inset-right)) !important;
  bottom: max(18px, env(safe-area-inset-bottom)) !important;
  z-index: 2147483000 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 62px !important;
  height: 62px !important;
  min-width: 62px !important;
  min-height: 62px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #22c55e !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 18px 40px rgba(21, 128, 61, 0.32), 0 0 0 7px rgba(34, 197, 94, 0.14) !important;
  transform: translateZ(0);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease !important;
}

.arengo-whatsapp-bubble:hover,
.arengo-whatsapp-bubble:focus {
  background: #16a34a !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(21, 128, 61, 0.38), 0 0 0 8px rgba(34, 197, 94, 0.18) !important;
}

.arengo-whatsapp-bubble:focus-visible {
  outline: 3px solid rgba(34, 197, 94, 0.34) !important;
  outline-offset: 4px !important;
}

.arengo-whatsapp-bubble__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
}

.arengo-whatsapp-bubble__icon svg {
  display: block;
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.arengo-whatsapp-bubble__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  max-width: 220px;
  padding: 9px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.arengo-whatsapp-bubble:hover .arengo-whatsapp-bubble__tooltip,
.arengo-whatsapp-bubble:focus .arengo-whatsapp-bubble__tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}

.arengo-whatsapp-bubble__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

@media (max-width: 575px) {
  .arengo-whatsapp-bubble {
    right: max(14px, env(safe-area-inset-right)) !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
  }

  .arengo-whatsapp-bubble__icon,
  .arengo-whatsapp-bubble__icon svg {
    width: 31px;
    height: 31px;
  }

  .arengo-whatsapp-bubble__tooltip {
    display: none;
  }
}
