/* Floating WhatsApp (layouts/partials/whatsapp-float.blade.php) — above navbar (z-index 1000), below full-screen overlays */
.whatsapp-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 1040;
}

.whatsapp-float__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float__link:hover {
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0.35rem 1.25rem rgba(0, 0, 0, 0.3);
}

.whatsapp-float__link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.whatsapp-float__img {
  display: block;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.whatsapp-float__mdi {
  font-size: 2rem;
  line-height: 1;
}

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

  .whatsapp-float__link:hover {
    transform: none;
  }
}
