/* ==========================================================================
   LEAFORGE 365 — RAPID8 CURRENCY SWITCHER
   Enhances the existing Rapid8 package pricing card only.
   ========================================================================== */

body.page-business-central-rapid8 .lf-r8-currency-switcher {
  width: 100%;
  margin-top: 22px;
  padding: 5px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  border: 1px solid #dce5f3;
  border-radius: 12px;
  background: #f5f8fd;
}

body.page-business-central-rapid8 .lf-r8-currency-option {
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #667085;
  font: 700 13px/1 "Poppins", Arial, sans-serif;
  letter-spacing: .055em;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body.page-business-central-rapid8 .lf-r8-currency-option:hover,
body.page-business-central-rapid8 .lf-r8-currency-option:focus-visible {
  color: #205baa;
  background: #eaf1fc;
}

body.page-business-central-rapid8 .lf-r8-currency-option:focus-visible {
  outline: 2px solid rgba(32, 91, 170, .42);
  outline-offset: 2px;
}

body.page-business-central-rapid8 .lf-r8-currency-option.is-active {
  color: #ffffff;
  background: #205baa;
  box-shadow: 0 8px 20px rgba(32, 91, 170, .22);
}

body.page-business-central-rapid8 .lf-r8-price-display {
  transition: opacity .15s ease, transform .15s ease;
}

body.page-business-central-rapid8 .lf-r8-price-display.is-changing {
  opacity: .38;
  transform: translateY(4px);
}

body.page-business-central-rapid8 .lf-r8-interactive-price-card .lf-rapid-price-card__price {
  margin-top: 20px;
}

@media (max-width: 420px) {
  body.page-business-central-rapid8 .lf-r8-currency-switcher {
    margin-top: 18px;
  }

  body.page-business-central-rapid8 .lf-r8-currency-option {
    height: 42px;
    padding: 0 8px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-business-central-rapid8 .lf-r8-currency-option,
  body.page-business-central-rapid8 .lf-r8-price-display {
    transition: none;
  }
}


/* Rapid8 only — elegant, date-free limited period offer announcement */
body.page-business-central-rapid8 .lf-r8-limited-offer {
  margin: 8px 0 22px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #0f2346 0%, #11274e 100%);
  box-shadow: 0 18px 40px rgba(17, 39, 78, 0.14);
}
body.page-business-central-rapid8 .lf-r8-limited-offer h3 {
  margin: 0;
  color: #ffffff;
  font: 800 clamp(22px, 2.1vw, 30px)/1.05 "Poppins", Arial, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.page-business-central-rapid8 .lf-r8-limited-offer h3 span {
  color: #ff9d2e;
}
body.page-business-central-rapid8 .lf-r8-limited-offer__mark {
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,157,46,0.18) 0%, #ff9d2e 48%, rgba(255,157,46,0.18) 100%);
  flex: 0 0 auto;
}
@media (max-width: 767.98px) {
  body.page-business-central-rapid8 .lf-r8-limited-offer {
    margin: 4px 0 18px;
    padding: 12px 16px;
    gap: 12px;
  }
  body.page-business-central-rapid8 .lf-r8-limited-offer h3 {
    font-size: clamp(16px, 4.3vw, 22px);
    text-align: center;
  }
  body.page-business-central-rapid8 .lf-r8-limited-offer__mark {
    width: 34px;
  }
}
