.sumup-checkout {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 520px;
  background: var(--sumup-widget-bg, #f8fafc);
  text-align: inherit;
  box-shadow: 0 6px 12px -12px rgba(15, 23, 42, 0.25);
  position: relative;
}

.sumup-checkout {
  border-color: var(--sumup-widget-border, #e2e8f0);
}

.sumup-checkout__icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 24px;
  height: 24px;
  opacity: 0.8;
  pointer-events: none;
}

/* Bridge checkout overrides */
.sumup-checkout--bridge {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(12, 16, 24, 0.5);
  box-shadow: 0 12px 22px -22px rgba(0, 0, 0, 0.7);
}

.sumup-checkout--bridge .sumup-checkout__title,
.sumup-checkout--bridge .sumup-checkout__description,
.sumup-checkout--bridge .sumup-checkout__email,
.sumup-checkout--bridge .sumup-checkout__email-label,
.sumup-checkout--bridge .sumup-checkout__amount,
.sumup-checkout--bridge .sumup-checkout__amount-label,
.sumup-checkout--bridge .sumup-checkout__next,
.sumup-checkout--bridge .sumup-checkout__affordability {
  color: rgba(240, 244, 250, 0.88);
}

.sumup-checkout--bridge .sumup-checkout__summary-refunds,
.sumup-checkout--bridge .sumup-checkout__summary-support,
.sumup-checkout--bridge .sumup-checkout__summary-list li,
.sumup-checkout--bridge .sumup-checkout__terms {
  color: #1f2937;
}

.sumup-checkout--bridge .sumup-checkout__summary-refunds strong {
  color: #0a2540;
}

.sumup-checkout--bridge .sumup-checkout__email-field,
.sumup-checkout--bridge .sumup-checkout__amount-input {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 248, 252, 0.95);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.sumup-checkout--bridge .sumup-checkout__email-field::placeholder,
.sumup-checkout--bridge .sumup-checkout__amount-input input::placeholder {
  color: rgba(220, 228, 240, 0.65);
}

.sumup-checkout__copy {
  margin-bottom: 1.2rem;
}

.sumup-checkout__title {
  margin: 0 0 0.35rem 0;
  font-size: 1.4rem;
  color: #0a2540;
}

.sumup-checkout__description {
  margin: 0 0 0.75rem 0;
  color: #425466;
  line-height: 1.5;
}

.sumup-checkout__description--rich p {
  margin: 0 0 0.75rem;
}

.sumup-checkout__description--rich p:last-child {
  margin-bottom: 0;
}

.sumup-checkout__investment {
  margin: 0;
}

.sumup-checkout__affordability {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: #425466;
}

.sumup-checkout__affordability a {
  color: inherit;
  text-decoration: underline dotted;
  text-underline-offset: 0.15em;
}

.sumup-checkout__amount { 
  display: block;
  margin: 1rem 0 1.25rem;
  color: #0a2540;
}

.sumup-checkout__email {
  display: block;
  margin: 1rem 0 1.2rem;
  color: #0a2540;
}

.sumup-checkout__email-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
}

.sumup-checkout__email-field {
  display: block;
  width: 100%;
  margin-top: 0.55rem;
  padding: 0.55rem 0.95rem;
  line-height: 1.2;
  border: 1px solid rgba(10, 37, 64, 0.18);
  border-radius: 999px;
  background: #ffffff;
  font-size: 1rem;
  color: #0a2540;
  box-shadow: inset 0 1px 2px rgba(10, 37, 64, 0.06);
  text-align: inherit;
}

.sumup-checkout__email-field:focus {
  outline: none;
  border-color: rgba(26, 75, 181, 0.65);
  box-shadow: 0 0 0 3px rgba(26, 75, 181, 0.12);
}


.sumup-checkout__feedback-offer,
.sumup-checkout__feedback-proceed {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  color: #0a2540;
}

.sumup-checkout__feedback-offer {
  font-weight: 600;
}

.sumup-checkout__feedback-proceed {
  color: #425466;
}

.sumup-checkout__email-note {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: #425466;
}

.sumup-checkout__intake {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.85rem;
}

.sumup-checkout__intake-title {
  font-weight: 650;
  color: #0a2540;
  margin: 0;
}

.sumup-checkout__intake-field {
  display: grid;
  gap: 0.45rem;
}

.sumup-checkout__intake-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #425466;
}

.sumup-checkout__intake-textarea {
  border-radius: 18px;
  min-height: 120px;
  resize: vertical;
  padding: 0.7rem 1rem;
  text-align: inherit;
}

.sumup-checkout__amount-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
}

.sumup-checkout__amount-input {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.55rem;
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.18);
  border-radius: 999px;
  padding: 0.35rem 0.75rem 0.35rem 0.6rem;
  box-shadow: inset 0 1px 2px rgba(10, 37, 64, 0.06);
  text-align: inherit;
}

.sumup-checkout__currency {
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #425466;
}

.sumup-checkout__amount-field {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
  color: #0a2540;
  padding: 0.2rem 0.1rem;
  min-width: 0;
  text-align: inherit;
}

.sumup-checkout__amount-field:focus {
  outline: none;
}

.sumup-checkout__options-select {
  text-align: inherit;
}

.sumup-checkout__amount-note {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: #425466;
}

.sumup-checkout__amount-eur {
  display: none;
  font-weight: 500;
  font-size: 0.85rem;
  color: #64748b;
}

.sumup-checkout__amount-eur.is-visible {
  display: inline;
}

.sumup-checkout__amount-note--highlight {
  font-weight: 600;
  color: #b91c1c;
}

.sumup-checkout__amount-note--highlight .sumup-checkout__amount-note-extra {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: #425466;
}

.sumup-checkout__investment .pack-investment__line {
  margin: 0;
  font-size: 1rem;
  color: #0a2540;
  letter-spacing: 0.02em;
  display: flex;
  justify-content: center;
  text-align: center;
}

.pack-investment__price {
  position: relative;
  font-weight: 700;
  color: #0a2540;
  text-decoration: underline dotted;
  text-underline-offset: 0.2em;
}

.pack-investment__price:focus-visible {
  outline: 2px solid #1a4bb5;
  outline-offset: 2px;
}

.pack-investment__tooltip {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  z-index: 5;
  min-width: 240px;
  max-width: 320px;
  padding: 0.75rem 0.9rem;
  background: #0a2540;
  color: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(10, 37, 64, 0.32);
}

.pack-investment__tooltip-line {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: rgba(245, 245, 245, 0.78);
}

.pack-investment__tooltip-list {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
}

.pack-investment__tooltip-item {
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: rgba(245, 245, 245, 0.72);
}

.pack-investment__price:hover .pack-investment__tooltip,
.pack-investment__price:focus-visible .pack-investment__tooltip {
  display: block;
}

.pack-investment__approx {
  margin-left: 0.5rem;
  color: #0a2540;
  font-size: 0.95rem;
  text-decoration: underline dotted;
  text-underline-offset: 0.15em;
}

.pack-investment__example {
  display: none;
  margin-left: 0.4rem;
  font-weight: 700;
  color: #0a2540;
  font-size: 0.95rem;
}

.pack-investment__example.is-visible {
  display: inline;
}

.sumup-checkout__investment .pack-investment__note {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: #425466;
  font-style: italic;
}

.sumup-checkout__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  background: #1a4bb5;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.18s ease, opacity 0.18s ease;
  text-align: inherit;
}

.sumup-checkout__button--secondary {
  background: #e2e8f0;
  color: #0a2540;
  text-decoration: none;
}

.sumup-checkout__button--secondary:hover {
  background: #cbd5f5;
}

.sumup-checkout__button:hover {
  background: #173f96;
}

.sumup-checkout__button-icon {
  width: clamp(16px, 1.4vw, 20px);
  height: clamp(16px, 1.4vw, 20px);
  opacity: 0.9;
}

.sumup-checkout__button.is-loading {
  opacity: 0.7;
  cursor: progress;
}

.sumup-checkout__summary {
  margin-top: 1.15rem;
  padding: 0.9rem 1.1rem;
  background: transparent;
  border-radius: 0;
  border: none;
  display: grid;
  gap: 0.45rem;
  text-align: center;
}

.sumup-checkout__summary-title {
  margin: 0 0 0.35rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0a2540;
}

.sumup-checkout__summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.sumup-checkout__summary-list li {
  position: relative;
  padding-left: 1.4rem;
  color: #1f2937;
  font-size: 0.92rem;
  line-height: 1.45;
}

.sumup-checkout__summary-list li::before {
  content: "✔";
  position: absolute;
  left: 0.1rem;
  top: 0.2rem;
  font-size: 0.8rem;
  color: #1a4bb5;
}

.sumup-checkout__summary-refunds {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: #1f2937;
  line-height: 1.5;
}

.sumup-checkout__summary-refunds strong {
  color: #0a2540;
}

.sumup-checkout__summary-refunds a {
  color: #0a2540;
  text-decoration: underline;
}

.sumup-checkout__summary-support {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  color: #1f2937;
  line-height: 1.5;
}

.sumup-checkout__widget {
  margin-top: 1.25rem;
}

.sumup-checkout__widget iframe {
  display: block;
  width: 100%;
  border: 0;
}


.sumup-checkout--bridge .sumup-checkout__widget {
  display: none;
}

.sumup-checkout--bridge.sumup-checkout--mounted .sumup-checkout__widget {
  display: block;
}

.sumup-checkout--bridge .sumup-checkout__widget iframe {
  background: #ffffff;
}

.sumup-checkout__status {
  display: none;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #0a2540;
  display: none;
}

.sumup-checkout__status.is-visible {
  display: block;
}

.sumup-checkout__status.is-visible {
  display: block;
}

.sumup-checkout__status.is-error {
  color: #a30021;
}

.sumup-checkout__terms {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: #1f2937;
  text-align: center;
}

.sumup-checkout__next {
  margin: 0.4rem 0 0.2rem;
  font-size: 0.9rem;
  color: #0a2540;
}

.sumup-checkout > .sumup-checkout__terms {
  display: none;
}

.sumup-checkout__summary .sumup-checkout__terms {
  display: block;
}

.sumup-checkout__terms--inline {
  margin: 0.05rem auto 0;
  display: block;
  text-align: center;
  line-height: 1.35;
}

.sumup-checkout__terms-text a {
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  text-align: center;
}

.sumup-checkout--staged .sumup-checkout__details {
  margin-top: 0.85rem;
  display: none;
  background: transparent;
}

.sumup-checkout--staged.sumup-checkout--ready .sumup-checkout__details {
  display: block;
}

.sumup-checkout--staged .sumup-checkout__summary {
  display: none;
}

.sumup-checkout--staged.sumup-checkout--ready .sumup-checkout__summary {
  display: grid;
}

.sumup-checkout__form {
  display: grid;
  gap: 0.75rem;
}

body.centered-page .sumup-checkout__form {
  display: flex;
  flex-direction: column;
}

body.centered-page .sumup-checkout__step[data-role="step-email"] {
  order: 1;
}

body.centered-page .sumup-checkout__amount-stage {
  order: 2;
}

body.centered-page .sumup-checkout__code-step {
  order: 3;
}

body.centered-page .sumup-checkout__action-row {
  order: 4;
}

body.centered-page .sumup-checkout__status--inline {
  order: 5;
}

.sumup-checkout__amount-stage {
  display: grid;
  gap: 0.8rem;
  margin: 0.25rem 0 0.15rem;
}

.sumup-checkout__payment {
  margin-top: 1.1rem;
  padding: 1.5rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(10, 37, 64, 0.1);
  box-shadow: 0 14px 28px rgba(10, 37, 64, 0.08);
  overflow: hidden;
}

.sumup-checkout__step + .sumup-checkout__step {
  margin-top: 0.4rem;
}

.sumup-checkout--step-email [data-role="step-amount"],
.sumup-checkout--step-email [data-role="step-code"],
.sumup-checkout--step-email [data-role="payment-panel"],
.sumup-checkout--step-email [data-role="terms-panel"] {
  display: none !important;
}

.sumup-checkout--step-amount [data-role="payment-panel"],
.sumup-checkout--step-amount [data-role="terms-panel"] {
  display: none !important;
}

.sumup-checkout__action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
}

body.centered-page .sumup-checkout__action-row {
  justify-content: center;
}

body.centered-page.align-left .sumup-checkout__action-row {
  justify-content: flex-start;
}

.sumup-checkout__code {
  flex: 1;
  min-width: 240px;
}

.sumup-checkout__status--inline {
  margin: 0.35rem 0 0;
  min-height: 1.15rem;
}

.sumup-checkout__summary-list {
  padding: 0;
}

.sumup-checkout--staged .sumup-checkout__details {
  margin-top: 0.85rem;
  display: none;
}

.sumup-checkout--staged.sumup-checkout--ready .sumup-checkout__details {
  display: block;
}

.sumup-checkout--staged .sumup-checkout__summary {
  display: none;
}

.sumup-checkout--staged.sumup-checkout--ready .sumup-checkout__summary {
  display: grid;
}

.sumup-checkout--staged .sumup-checkout__summary {
  background: transparent;
  border: none;
  padding: 0;
  gap: 0.65rem;
}

.sumup-checkout--staged .sumup-checkout__summary-list {
  padding: 0;
  margin: 0;
}

.sumup-checkout--staged .sumup-checkout__summary-list li {
  padding-left: 0;
}

.sumup-checkout--staged .sumup-checkout__summary-list li::before {
  display: none;
}

.sumup-checkout__form {
  display: grid;
  gap: 0.75rem;
}

.sumup-checkout__action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
}

.sumup-checkout__code {
  flex: 1;
  min-width: 240px;
}

.sumup-checkout__status--inline {
  margin: 0.35rem 0 0;
  min-height: 1.15rem;
}

.sumup-checkout__summary-list,
.sumup-checkout__summary-refunds {
  text-align: center;
}

.sumup-checkout__summary-refunds {
  margin: 0;
}

.sumup-checkout__summary-list {
  padding: 0;
}

.sumup-checkout__conversion {
  margin: 0.35rem 0 0;
  color: #0a2540;
  font-weight: 700;
  font-size: 0.95rem;
}

.sumup-checkout__terms a {
  color: #0a2540;
  text-decoration: underline;
  word-break: break-word;
}

.sumup-checkout__error {
  color: #a30021;
  font-weight: 600;
  text-align: center;
  margin: 1.5rem 0;
}

@media (max-width: 640px) {
  .sumup-checkout {
    padding: 1.2rem;
  }

  .sumup-checkout__title {
    font-size: 1.25rem;
  }

  .sumup-checkout__amount-input {
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0.35rem 0.6rem;
  }

  .sumup-checkout__currency {
    font-size: 0.95rem;
  }

  .sumup-checkout__amount-field {
    font-size: 0.95rem;
  }

  .sumup-checkout__action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .sumup-checkout__button {
    width: 100%;
    padding: 0.6rem 1.2rem;
  }

  .pack-investment__price {
    position: relative;
  }

  .pack-investment__tooltip {
    position: absolute;
    display: none;
    top: calc(100% + 0.4rem);
    left: 50%;
    transform: translateX(-50%);
    max-width: min(92vw, 320px);
    width: max-content;
    min-width: 220px;
    z-index: 6;
  }

  .pack-investment__price:hover .pack-investment__tooltip,
  .pack-investment__price:focus-visible .pack-investment__tooltip,
  .pack-investment__price:focus-within .pack-investment__tooltip,
  .pack-investment__price:active .pack-investment__tooltip {
    display: block;
  }
}

/* Theme readability fixes */
body.warm-theme .sumup-checkout {
  color: #1e1e1e;
  background: var(--sumup-widget-bg, #ffffff);
  border-color: var(--sumup-widget-border, rgba(0, 0, 0, 0.12));
}

body.warm-theme .sumup-checkout :is(
  .sumup-checkout__title,
  .sumup-checkout__description,
  .sumup-checkout__amount,
  .sumup-checkout__email,
  .sumup-checkout__email-label,
  .sumup-checkout__amount-label,
  .sumup-checkout__email-note,
  .sumup-checkout__amount-note,
  .sumup-checkout__summary-list,
  .sumup-checkout__summary-refunds,
  .sumup-checkout__terms,
  .sumup-checkout__affordability,
  .sumup-checkout__next,
  .sumup-checkout__status
) {
  color: #1e1e1e;
}

body.warm-theme .sumup-checkout :is(.sumup-checkout__email-field, .sumup-checkout__amount-input) {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.2);
  color: #1e1e1e;
}

body.warm-theme .sumup-checkout :is(.sumup-checkout__email-field, .sumup-checkout__amount-field)::placeholder {
  color: #7a7a7a;
  opacity: 1;
}

body.exclusive-theme .sumup-checkout {
  color: #f5f5f5;
}

body.exclusive-theme .sumup-checkout :is(
  .sumup-checkout__title,
  .sumup-checkout__description,
  .sumup-checkout__amount,
  .sumup-checkout__email,
  .sumup-checkout__email-label,
  .sumup-checkout__amount-label,
  .sumup-checkout__summary-list,
  .sumup-checkout__summary-refunds,
  .sumup-checkout__terms,
  .sumup-checkout__affordability,
  .sumup-checkout__next,
  .sumup-checkout__status
) {
  color: #f5f5f5;
}

body.warm-theme .sumup-checkout--bridge {
  border-color: rgba(0, 0, 0, 0.12);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

body.warm-theme .sumup-checkout--bridge .sumup-checkout__summary-refunds,
body.warm-theme .sumup-checkout--bridge .sumup-checkout__summary-support,
body.warm-theme .sumup-checkout--bridge .sumup-checkout__summary-list li,
body.warm-theme .sumup-checkout--bridge .sumup-checkout__terms {
  color: #1e1e1e;
}

.traffic-order-widget {
  margin: 2rem auto;
  max-width: 680px;
  padding: 1.3rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.12);
  display: grid;
  gap: 0.8rem;
}

.traffic-order-widget--warm {
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
  border-color: rgba(234, 88, 12, 0.4);
}

.traffic-order-widget input[type="range"] {
  width: 100%;
  accent-color: #2563eb;
}

.traffic-order-widget--warm input[type="range"] {
  accent-color: #ea580c;
}

.traffic-order-widget__stats,
.traffic-order-widget__totals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

.traffic-order-widget__checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.traffic-order-widget__optional {
  display: grid;
  gap: 0.65rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.traffic-order-widget__optional input,
.traffic-order-widget__optional textarea {
  width: 100%;
  margin-top: 0.3rem;
}

.traffic-order-widget__grand {
  width: 100%;
  font-size: 1.06rem;
}

.traffic-order-widget__grand--revenue {
  font-size: 0.94rem;
}

.traffic-order-widget__note,
.traffic-order-widget__delivery,
.traffic-order-widget__price-ladder small {
  color: #475569;
}

.traffic-order-widget__form {
  display: grid;
  gap: 0.7rem;
  padding-top: 0.4rem;
}

.traffic-order-widget__form input:not([type="checkbox"]):not([type="radio"]),
.traffic-order-widget__form textarea,
.traffic-order-widget__form button {
  width: 100%;
}

.traffic-order-widget__form input:not([type="checkbox"]):not([type="radio"]),
.traffic-order-widget__form textarea {
  margin-top: 0.3rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  padding: 0.55rem 0.7rem;
}

.traffic-order-widget__form button {
  border: none;
  border-radius: 999px;
  color: #fff;
  background: #0f766e;
  padding: 0.7rem 1rem;
}


.traffic-order-widget__response {
  min-height: 1.1rem;
  font-size: 0.92rem;
  color: #0f172a;
}

.traffic-order-widget__unit-economics {
  padding: 0.8rem;
  border-radius: 10px;
  border: 1px dashed rgba(15, 23, 42, 0.24);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}


.traffic-allocation-prefill-box input[type="number"],
.traffic-order-widget__inline-input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.traffic-allocation-prefill-box input[type="number"]::-webkit-outer-spin-button,
.traffic-allocation-prefill-box input[type="number"]::-webkit-inner-spin-button,
.traffic-order-widget__inline-input[type="number"]::-webkit-outer-spin-button,
.traffic-order-widget__inline-input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.traffic-order-widget__unit-economics p {
  margin: 0.2rem 0;
}

.traffic-order-widget__unit-economics label {
  display: block;
  margin-top: 0.45rem;
}

.traffic-order-widget__unit-economics input {
  width: 100%;
  margin-top: 0.2rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  padding: 0.45rem 0.55rem;
}


.traffic-order-widget {
  gap: 1.15rem;
  padding: 1.7rem;
}

.traffic-order-widget__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}

.traffic-order-widget__step-pill {
  font-size: 0.82rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #334155;
}

.traffic-order-widget__step-pill.is-active {
  background: rgba(37, 99, 235, 0.18);
  color: #1e3a8a;
  font-weight: 600;
}

.traffic-order-widget__step {
  display: grid;
  gap: 0.9rem;
  padding: 0.2rem 0;
}

.traffic-order-widget__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.traffic-order-widget__actions button {
  width: auto;
  min-width: 180px;
  border: none;
  border-radius: 999px;
  color: #fff;
  background: #0f766e;
  padding: 0.68rem 1rem;
}

.traffic-order-widget__actions .traffic-order-widget__ghost {
  background: rgba(15, 23, 42, 0.1);
  color: #1f2937;
}


.traffic-order-widget__step {
  display: none;
}

.traffic-order-widget__step.is-active {
  display: grid;
}

.traffic-order-widget__option-selectors {
  display: grid;
  gap: 0.55rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.traffic-order-widget__inline-input {
  display: inline-block;
  width: 6.5rem;
  margin: 0 0.22rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  padding: 0.2rem 0.35rem;
  vertical-align: baseline;
}
.traffic-order-widget__unit-economics p {
  line-height: 1.65;
}

.traffic-order-widget__profit-warning {
  margin-top: 0.4rem;
  font-size: 0.83rem;
  color: #b91c1c;
}


.traffic-order-widget__option-selectors .traffic-order-widget__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.traffic-order-widget__option-selectors .traffic-order-widget__checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
}

.traffic-order-widget__checkbox-copy {
  flex: 1;
  text-align: right;
}

.traffic-order-widget__checkbox-title {
  display: block;
  line-height: 1.35;
}

.traffic-order-widget__checkbox-subtext {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.84rem;
  color: #64748b;
}

.traffic-order-widget__step .traffic-order-widget__inline-input {
  width: 4.2rem;
  min-width: 4.2rem;
  max-width: 4.2rem;
  padding: 0.1rem 0.3rem;
  margin: 0 0.2rem;
}

.traffic-order-widget__step .traffic-order-widget__optional {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.16);
}


/* Widget-specific isolation from page-level form input rules */
#payment-widget .traffic-order-widget__option-selectors .traffic-order-widget__checkbox {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
}

#payment-widget .traffic-order-widget__option-selectors input[type="checkbox"] {
  width: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  height: 16px;
  margin: 0.22rem 0 0 0;
  padding: 0 !important;
  flex: 0 0 16px;
  align-self: start;
}

#payment-widget .traffic-order-widget__checkbox-copy {
  min-width: 0;
  text-align: left;
}

#payment-widget .traffic-order-widget__checkbox-subtext {
  margin-top: 0.2rem;
  line-height: 1.35;
}

.traffic-allocation-prefill-box {
  margin: 1rem auto;
  padding: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.56);
  max-width: 36rem;
  display: grid;
  gap: 0.45rem;
}

.traffic-allocation-prefill-box input {
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
}

.traffic-allocation-prefill-box p {
  margin: 0;
}

.traffic-order-widget--compact label {
  font-size: 0.95rem;
}

.traffic-order-widget__inline-input--small {
  width: 4.7rem;
  min-width: 4.7rem;
  max-width: 4.7rem;
  padding: 0.12rem 0.28rem;
  border-radius: 6px;
  background: transparent;
}

.traffic-order-widget__barometer {
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  margin: 0.5rem 0;
}

.traffic-order-widget__barometer-track {
  width: 100%;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.traffic-order-widget__barometer-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #16a34a 0%, #eab308 55%, #dc2626 100%);
}


.traffic-order-widget__question-frame {
  margin: 1rem auto 0.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 10px;
  background: transparent;
  max-width: 42rem;
}

.traffic-order-widget__question-frame p {
  margin: 0 0 0.35rem;
  text-align: left;
}

.traffic-order-widget__checkbox--diagnostic {
  margin: 0.35rem 0;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  column-gap: 0.65rem;
}

.traffic-order-widget__checkbox--diagnostic input[type="checkbox"] {
  width: 16px;
  min-width: 16px;
  max-width: 16px;
  height: 16px;
  margin: 0.22rem 0 0 0;
  padding: 0;
}

.traffic-order-widget__checkbox--diagnostic .traffic-order-widget__checkbox-copy {
  min-width: 0;
  text-align: left;
}

.traffic-order-widget--diagnostic-summary {
  background: rgba(255, 255, 255, 0.52);
  border-color: rgba(15, 23, 42, 0.18);
}
