/* ==========================================================================
   WHATSAPP-BUTTON.CSS
   Fixed floating WhatsApp button, always visible over the app container.
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 4rem;
  height: 4rem;
  background-color: var(--color-brand-whatsapp);
  color: #FFFFFF;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-whatsapp-float);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.whatsapp-float:hover {
  background-color: var(--color-brand-whatsapp-hover);
  transform: scale(1.1) translateY(-4px);
}

.whatsapp-float i {
  font-size: 1.875rem;
}

/* On wider (desktop) viewports, align the button under the centered app
   container instead of the browser's right edge. */
@media (min-width: 768px) {
  .whatsapp-float {
    right: auto;
    margin-left: 26rem;
  }
}
