/* Synex WhatsApp floating button — fixed bottom-right */

.synex-wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 100050;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  text-decoration: none;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.18));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.synex-wa-float:hover,
.synex-wa-float:focus-visible {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.22));
  outline: none;
}

.synex-wa-float:focus-visible .synex-wa-float__btn {
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.45);
}

.synex-wa-float__label {
  position: relative;
  background: #fff;
  color: #2d3436;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  padding: 0.65rem 0.85rem 0.65rem 1.1rem;
  border-radius: 999px;
  margin-right: -4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Speech-bubble tail pointing at the circle */
.synex-wa-float__label::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 8px solid #fff;
}

.synex-wa-float__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(37, 211, 102, 0.45);
}

.synex-wa-float__icon {
  display: block;
  margin-left: 2px;
}

@media (max-width: 480px) {
  .synex-wa-float__label {
    font-size: 0.875rem;
    padding: 0.55rem 0.7rem 0.55rem 0.9rem;
  }

  .synex-wa-float__btn {
    width: 52px;
    height: 52px;
  }

  .synex-wa-float__icon {
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .synex-wa-float {
    transition: none;
  }

  .synex-wa-float:hover,
  .synex-wa-float:focus-visible {
    transform: none;
  }
}
