
/* CertProxyWizard contact widgets — intentionally isolated from the approved site design */
.cpw-floating-whatsapp-left {
  position: fixed;
  left: max(20px, env(safe-area-inset-left));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 9998;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25D366;
  color: #fff !important;
  box-shadow: 0 5px 18px rgba(0,0,0,.22);
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cpw-floating-whatsapp-left:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.cpw-floating-whatsapp-left svg { width: 31px; height: 31px; display: block; }
.cpw-floating-whatsapp-left .cpw-wa-label {
  position: absolute;
  left: 68px;
  padding: 8px 11px;
  border-radius: 8px;
  color: #fff;
  background: #172554;
  font: 600 13px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(0,0,0,.16);
}
.cpw-floating-whatsapp-left:focus-visible { outline: 3px solid #172554; outline-offset: 4px; }
@media (max-width: 640px) {
  /* Keep the floating button above the existing mobile sticky action bar. */
  .cpw-floating-whatsapp-left {
    bottom: calc(82px + env(safe-area-inset-bottom));
    left: max(14px, env(safe-area-inset-left));
    width: 54px;
    height: 54px;
  }
  .cpw-floating-whatsapp-left .cpw-wa-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cpw-floating-whatsapp-left { transition: none; }
}
