.rf-marketing-popup-open {
  overflow: hidden;
}

.rf-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.rf-popup-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.rf-popup-card {
  position: relative;
  width: min(100%, 420px);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  padding: 20px 18px 18px;
  font-family: Arial, Helvetica, sans-serif;
}

.rf-popup-card--discount {
  border-top: 5px solid #0f70d8;
}

.rf-popup-card--lead {
  border-top: 5px solid #0c9f67;
}

.rf-popup-card--urgency {
  border-top: 5px solid #d9534f;
}

.rf-popup-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  color: #343a40;
  background: #f4f5f7;
  font-size: 22px;
  line-height: 1;
}

.rf-popup-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #edf3fb;
  color: #0f70d8;
  font-size: 12px;
  font-weight: 700;
}

.rf-popup-title {
  margin: 0 0 8px;
  color: #1f2933;
  font-size: 22px;
  line-height: 1.2;
}

.rf-popup-description {
  margin: 0 0 10px;
  color: #455a64;
  font-size: 15px;
  line-height: 1.5;
}

.rf-popup-highlight {
  margin: 0 0 14px;
  color: #212529;
  font-size: 13px;
  font-weight: 600;
}

.rf-popup-iframe-wrap {
  margin: 0 0 14px;
  border: 1px solid #d7dee5;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f9fb;
}

.rf-popup-iframe {
  display: block;
  width: 100%;
  border: 0;
  background: #ffffff;
}

.rf-popup-cta {
  display: inline-block;
  width: 100%;
  border-radius: 8px;
  padding: 11px 12px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  color: #ffffff;
  background: #0f70d8;
}

.rf-popup-card--lead .rf-popup-cta {
  background: #0c9f67;
}

.rf-popup-card--urgency .rf-popup-cta {
  background: #d9534f;
}

@media (max-width: 480px) {
  .rf-popup-card {
    width: 100%;
    padding: 16px 14px 14px;
  }

  .rf-popup-title {
    font-size: 19px;
  }
}
