.offer-modal__content iframe {
  border-radius: 16px;
  width: 100%;
  min-height: 600px; /* adjust to your form length */
}
/* Paperform Submit Button - Match Shopify Buy Button */
span[data-testid="submitbutton"] {
  background-color: #087ec5 !important; /* Red default */
  color: #ffffff !important;
  border: 2px solid #087ec5 !important; /* Add matching border */
  transition: background-color 0.3s ease, color 0.3s ease !important;
}

/* Hover: Transparent bg like Shopify Buy Button */
span[data-testid="submitbutton"]:hover {
  background-color: #000000 !important;
  color: #ffffff !important; /* Red text on transparent */
  border-color: #000000 !important; /* Keep red border */
}

/* Active: Light tint feedback */
span[data-testid="submitbutton"]:active {
  background-color: rgba(183, 38, 33, 0.1) !important; /* Very light red */
  border-color: #8B1E1A !important;
}

/* Full success page wrapper */
._pf_submitted .Theme__editorPreview,
._pf_submitted .Theme__editorPreviewWrapper,
._pf_submitted .editor.editor--live {
  min-height: 60vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Inner content block on success page */
._pf_submitted .editor.editor--live > div {
  text-align: center !important;
}

/* Heading on success page */
._pf_submitted h1,
._pf_submitted .__header-one {
  font-size: 32px !important;
  line-height: 1.3 !important;
  margin: 0 0 12px !important;
}

/* Paragraph text on success page */
._pf_submitted p,
._pf_submitted .__unstyled span {
  font-size: 16px !important;
  line-height: 1.5 !important;
}
