/* Shared action styling based on the supplied WhatsApp reference. */
:root body :is(.primary, .secondary, .text-button, .hero-trial, .login-link, .whatsapp-float) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 22px;
  border: 1px solid var(--kw-btn-border, #438acb);
  border-radius: 999px;
  background: var(--kw-btn-bg, #0b2445);
  color: var(--kw-btn-text, #edf7ff);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  box-shadow: 0 0 0 5px rgb(53 144 242 / 7%), 0 0 24px rgb(41 132 235 / 20%);
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
}
:root body :is(.primary, .secondary, .text-button, .hero-trial, .login-link)::before {
  content: none;
}
:root body .whatsapp-float::before {
  content: "";
  position: static;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 1px solid #79c7ff;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 9px rgb(58 164 255 / 65%), inset 0 0 6px rgb(58 164 255 / 35%);
}
:root body :is(.primary, .secondary, .text-button, .hero-trial, .login-link)::after { content: none; }
:root body :is(.primary, .secondary, .text-button, .hero-trial, .login-link, .whatsapp-float):hover {
  background: var(--kw-btn-hover, #103158);
  box-shadow: 0 0 0 5px rgb(53 144 242 / 12%), 0 0 28px rgb(41 132 235 / 30%);
}
body :is(.primary, .secondary, .text-button, .hero-trial, .login-link, .whatsapp-float):focus-visible {
  outline: 2px solid #a4dbff;
  outline-offset: 5px;
}
@media (prefers-reduced-motion: reduce) {
  body :is(.primary, .secondary, .text-button, .hero-trial, .login-link, .whatsapp-float) { transition: none; }
}

/* The floating WhatsApp action is just the illuminated ring. */
:root body .whatsapp-float {
  width: 60px;
  height: 60px;
  min-height: 60px;
  padding: 0;
  gap: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0;
}
:root body .whatsapp-float::before {
  flex-basis: 54px;
  width: 54px;
  height: 54px;
  background: var(--kw-btn-bg, #0b2445) url('/assets/web/img/whatsapp.svg') center / 28px 28px no-repeat;
}
:root body .whatsapp-float:hover {
  background: transparent;
  box-shadow: none;
}
:root body .whatsapp-float:hover::before {
  box-shadow: 0 0 15px rgb(58 164 255 / 85%), inset 0 0 8px rgb(58 164 255 / 45%);
}
