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

body.page-business-central-rapid5 .lf-r5-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-rapid5 .lf-r5-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-rapid5 .lf-r5-currency-option:hover,
body.page-business-central-rapid5 .lf-r5-currency-option:focus-visible {
  color: #205baa;
  background: #eaf1fc;
}

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

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

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

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

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

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

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

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


/* Rapid5 only — elegant, date-free limited period offer announcement */
body.page-business-central-rapid5 .lf-r5-limited-offer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: fit-content;
  max-width: 100%;
  margin: -12px auto 30px;
  padding: 15px 27px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 15px;
  background: rgba(9, 36, 82, .48);
  box-shadow: 0 14px 32px rgba(8, 36, 81, .16);
}
body.page-business-central-rapid5 .lf-r5-limited-offer h3 {
  margin: 0;
  color: #ffffff;
  font: 800 clamp(19px, 2.15vw, 29px)/1.25 "Poppins", Arial, sans-serif;
  letter-spacing: .075em;
  text-align: center;
}
body.page-business-central-rapid5 .lf-r5-limited-offer h3 span {
  color: #ffb46c;
}
body.page-business-central-rapid5 .lf-r5-limited-offer__mark {
  flex: 0 0 32px;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #ff8b3d, #ffcf91);
  border-radius: 2px;
}
@media (max-width: 620px) {
  body.page-business-central-rapid5 .lf-r5-limited-offer {
    gap: 10px;
    margin: 0 auto 24px;
    padding: 14px 12px;
    border-radius: 12px;
  }
  body.page-business-central-rapid5 .lf-r5-limited-offer h3 {
    font-size: clamp(16px, 4.3vw, 21px);
    letter-spacing: .035em;
  }
  body.page-business-central-rapid5 .lf-r5-limited-offer__mark {
    flex-basis: 15px;
    width: 15px;
  }
}
