/* Hide built-in AI chat widget (replaced by WhatsApp) */
#root button.fixed.bottom-6.right-4,
#root div.fixed.bottom-24.right-4 {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Prominent WhatsApp support button */
.cv-whatsapp-fab {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem 0.85rem 0.85rem;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 9999px;
  box-shadow:
    0 8px 28px rgba(37, 211, 102, 0.55),
    0 0 0 4px rgba(37, 211, 102, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: cv-wa-pulse 2.2s ease-in-out infinite;
}

.cv-whatsapp-fab:hover {
  transform: scale(1.04);
  box-shadow:
    0 12px 36px rgba(37, 211, 102, 0.65),
    0 0 0 6px rgba(37, 211, 102, 0.35);
  color: #fff;
}

.cv-whatsapp-fab__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.cv-whatsapp-fab__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.cv-whatsapp-fab__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.cv-whatsapp-fab__text strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.cv-whatsapp-fab__text span {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.95;
}

@media (min-width: 768px) {
  .cv-whatsapp-fab {
    right: 1.5rem;
    bottom: 1.5rem;
    padding: 1rem 1.35rem 1rem 1rem;
    font-size: 1rem;
  }

  .cv-whatsapp-fab__icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (max-width: 420px) {
  .cv-whatsapp-fab__text span {
    display: none;
  }

  .cv-whatsapp-fab {
    padding: 0.9rem;
    border-radius: 50%;
    width: 3.75rem;
    height: 3.75rem;
    justify-content: center;
  }

  .cv-whatsapp-fab__text strong {
    display: none;
  }
}

@keyframes cv-wa-pulse {
  0%,
  100% {
    box-shadow:
      0 8px 28px rgba(37, 211, 102, 0.55),
      0 0 0 4px rgba(37, 211, 102, 0.2);
  }
  50% {
    box-shadow:
      0 10px 34px rgba(37, 211, 102, 0.7),
      0 0 0 10px rgba(37, 211, 102, 0.12);
  }
}
