/* ===== Paperform Custom CSS — myNeon B2B brand match ===== */

/* Base font */
body, .LiveField, .Choices__label {
  font-family: 'Poppins', 'Lato', sans-serif !important;
}

/* Question titles */
.LiveField__header {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  color: #000224 !important; /* --navy */
}

/* Answer choice buttons (default state) — same border/background as the text inputs */
.Choices__choice {
  background: rgba(55, 59, 89, 0.05) !important;
  border: 1px solid #373B59 !important;
  border-radius: 6px !important;
  transition: box-shadow 0.15s ease;
}

.Choices__choice:hover {
  box-shadow: 0 0 0 3px rgba(55, 59, 89, 0.15) !important;
}

.Choices__label {
  font-family: 'Poppins', sans-serif !important;
  color: #000224 !important;
  font-size: clamp(12px, 3.5vw, 16px) !important;
}

/* Selected choice */
.Choices__choice.btn-primary {
  background: #8900ff !important;
  border-color: #8900ff !important;
  box-shadow: none !important;
}

.Choices__choice.btn-primary .Choices__label {
  color: #ffffff !important;
}

/* Next / Back / Submit buttons — squared to match the page's 6px radius. */
.Pagination__btn.btn-raised,
.Pagination__btn.btn-raised.Pagination__btn--next,
.Pagination__btn.btn-raised.Pagination__btn--previous,
.Pagination__btn--next,
.Pagination__btn--previous,
.__checkout_btn_ref {
  border-radius: 6px !important;
  border-top-left-radius: 6px !important;
  border-top-right-radius: 6px !important;
  border-bottom-left-radius: 6px !important;
  border-bottom-right-radius: 6px !important;
  transition: none !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
}

/* Special case: the very first Next button (no Back yet) gets reset to a
   pill by Paperform's own CSS via a higher-specificity rule. This beats it. */
.Pagination .Pagination__btn.btn-raised:first-child:last-child,
.Pagination__btn--next:first-child:last-child {
  border-radius: 6px !important;
}

/* Space between Back and Next when both are present */
.Pagination__btn--previous + .Pagination__btn--next {
  margin-left: 12px !important;
}

.Pagination__btn--next,
.__checkout_btn_ref {
  background: #8900ff !important;
}

.Pagination__btn--next:hover,
.__checkout_btn_ref:hover {
  background: #5700a2 !important; /* --purple-dark */
}

/* Last screen only: hide the standalone Back button (no Next beside it) */
.Pagination__btn--previous:first-child:last-child {
  display: none !important;
}

/* Last screen: stop forcing full-viewport height now that it's short content */
.editor.editor--live:has(.Pagination__btn--previous:first-child:last-child) {
  min-height: auto !important;
}

/* Last screen: tighten vertical spacing between First/Last/Email/Phone */
.LiveFieldSection--last .LiveField__container {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* Text/email/phone inputs — visible box with brand border + soft tinted background */
.LiveField__input {
  border: 1px solid #373B59 !important;
  border-radius: 6px !important;
  background: rgba(55, 59, 89, 0.05) !important;
  padding: 12px 14px !important;
  transition: box-shadow 0.15s ease;
}

.LiveField__input:focus {
  box-shadow: 0 0 0 3px rgba(55, 59, 89, 0.15) !important;
}

/* File upload — clearer dropzone + icon */
.File .btn-raised.btn-default {
  border: 1px dashed #c9a3ff !important;
  border-radius: 6px !important;
  background: #f8f4ff !important;
}

.File__label {
  color: #8900ff !important;
  font-weight: 700 !important;
}

.File__label::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238900ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}