/**
 * Shufflrr Checkout — shared form layout rhythm across all checkout products.
 * Product CSS files keep theme colors and branding only.
 */

.shuf-ct-wrap,
.shuf-bc-wrap,
.shuf-ad-wrap {
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* Keep main column from forcing sibling fields past the shared right edge */
.shuf-ct-wrap .shuf-ct-main,
.shuf-bc-wrap .shuf-bc-main,
.shuf-ad-wrap .shuf-ad-main {
  min-width: 0 !important;
  max-width: 100% !important;
}

.shuf-ct-wrap .shuf-ct-section,
.shuf-bc-wrap .shuf-bc-section{
  margin-bottom: 24px !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.shuf-ad-wrap #shuf-ad-plan-details-section,
.shuf-ad-wrap #shuf-ad-after-trial,
.shuf-ad-wrap #shuf-ad-free-company-section,
.shuf-ad-wrap #shuf-ad-company-section,
.shuf-ad-wrap #shuf-ad-payment-section {
  margin-bottom: 24px !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

/* Pro mode: collapse the (now-empty) plan-details card gap */
.shuf-ad-wrap.shuf-ad-pro #shuf-ad-plan-details-section {
  margin-bottom: 0 !important;
}
.shuf-ct-wrap .shuf-ct-field-row label,
.shuf-bc-wrap .shuf-bc-field-row label,
.shuf-ad-wrap .shuf-ad-field-row label {
  display: block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--shuf-body) !important;
  margin-bottom: 6px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.shuf-ct-wrap .shuf-ct-card-row,
.shuf-bc-wrap .shuf-bc-card-row,
.shuf-ad-wrap .shuf-ad-card-row {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.shuf-ct-wrap .shuf-ct-card-row .shuf-ct-field-row,
.shuf-bc-wrap .shuf-bc-card-row .shuf-bc-field-row,
.shuf-ad-wrap .shuf-ad-card-row .shuf-ad-field-row {
  margin-bottom: 0 !important;
  min-width: 0 !important;
}

.shuf-ct-wrap .shuf-ct-payment-box,
.shuf-bc-wrap .shuf-bc-payment-box,
.shuf-ad-wrap .shuf-ad-payment-box {
  padding: 18px !important;
  border: 1px solid var(--shuf-border) !important;
  background: var(--shuf-white) !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.shuf-ct-wrap .shuf-ct-pay-head,
.shuf-bc-wrap .shuf-bc-pay-head,
.shuf-ad-wrap .shuf-ad-pay-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 20px !important;
  margin-bottom: 18px !important;
}

.shuf-ct-wrap .shuf-ct-pay-info h4,
.shuf-bc-wrap .shuf-bc-pay-info h4,
.shuf-ad-wrap .shuf-ad-pay-info h4 {
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--shuf-navy) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.shuf-ct-wrap .shuf-ct-pay-info p,
.shuf-bc-wrap .shuf-bc-pay-info p,
.shuf-ad-wrap .shuf-ad-pay-info p {
  margin: 4px 0 0 !important;
  font-size: 14px !important;
  color: var(--shuf-body) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  line-height: 1.5 !important;
}

.shuf-ct-wrap .shuf-ct-card-logos,
.shuf-bc-wrap .shuf-bc-card-logos,
.shuf-ad-wrap .shuf-ad-card-logos {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  margin: 0 0 14px !important;
  align-items: center !important;
}

.shuf-ct-wrap input[type="text"],
.shuf-ct-wrap input[type="email"],
.shuf-ct-wrap input[type="password"],
.shuf-ct-wrap input[type="tel"],
.shuf-bc-wrap input[type="text"],
.shuf-bc-wrap input[type="email"],
.shuf-bc-wrap input[type="password"],
.shuf-bc-wrap input[type="tel"],
.shuf-ad-wrap input[type="text"],
.shuf-ad-wrap input[type="email"],
.shuf-ad-wrap input[type="password"],
.shuf-ad-wrap input[type="tel"] {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  margin: 0 !important;
  border: 1px solid var(--shuf-border) !important;
  border-radius: var(--radius) !important;
  padding: 0 12px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--shuf-navy) !important;
  background: var(--shuf-white) !important;
  box-shadow: none !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  transition: border-color 0.2s ease !important;
  box-sizing: border-box !important;
}

.shuf-ct-wrap input[type="text"]::placeholder,
.shuf-ct-wrap input[type="email"]::placeholder,
.shuf-ct-wrap input[type="password"]::placeholder,
.shuf-ct-wrap input[type="tel"]::placeholder,
.shuf-bc-wrap input[type="text"]::placeholder,
.shuf-bc-wrap input[type="email"]::placeholder,
.shuf-bc-wrap input[type="password"]::placeholder,
.shuf-bc-wrap input[type="tel"]::placeholder,
.shuf-ad-wrap input[type="text"]::placeholder,
.shuf-ad-wrap input[type="email"]::placeholder,
.shuf-ad-wrap input[type="password"]::placeholder,
.shuf-ad-wrap input[type="tel"]::placeholder {
  color: #94A3B8 !important;
}

.shuf-ct-wrap .shuf-ct-stripe-el,
.shuf-bc-wrap .shuf-bc-stripe-el,
.shuf-ad-wrap .shuf-ad-stripe-el {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  border: 1px solid var(--shuf-border) !important;
  border-radius: var(--radius) !important;
  padding: 0 12px !important;
  background: var(--shuf-white) !important;
  transition: border-color 0.2s ease !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.shuf-ct-wrap .shuf-ct-stripe-el iframe,
.shuf-bc-wrap .shuf-bc-stripe-el iframe,
.shuf-ad-wrap .shuf-ad-stripe-el iframe,
.shuf-ct-wrap .shuf-ct-stripe-el > div,
.shuf-bc-wrap .shuf-bc-stripe-el > div,
.shuf-ad-wrap .shuf-ad-stripe-el > div {
  width: 100% !important;
  max-width: 100% !important;
}

.shuf-ct-wrap .shuf-ct-card-number-wrap,
.shuf-bc-wrap .shuf-bc-card-number-wrap,
.shuf-ad-wrap .shuf-ad-card-number-wrap {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.shuf-ct-wrap .shuf-ct-card-number-wrap #shuf-ct-card-number,
.shuf-bc-wrap .shuf-bc-card-number-wrap #shuf-bc-card-number,
.shuf-ad-wrap .shuf-ad-card-number-wrap #shuf-ad-card-number,
.shuf-bc-wrap .shuf-bc-card-number-wrap .shuf-bc-stripe-el {
  padding-right: 44px !important;
}

.shuf-ct-wrap .shuf-ct-card-brand-logo,
.shuf-bc-wrap .shuf-bc-card-brand,
.shuf-ad-wrap .shuf-ad-card-brand-logo {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  z-index: 5 !important;
}

.shuf-ct-wrap .shuf-ct-card-brand-logo img,
.shuf-bc-wrap .shuf-bc-card-brand img,
.shuf-ad-wrap .shuf-ad-card-brand-logo img {
  height: 20px !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

/* ══════════════════════════════════════════════════════════
   PAYMENT SECTION — Cloud Trial reference (spacing only)
   Company-details boxes are excluded via :has() / section IDs.
══════════════════════════════════════════════════════════ */

.shuf-ct-wrap .shuf-ct-payment-box:has(.shuf-ct-card-row),
.shuf-bc-wrap #shuf-bc-payment-section .shuf-bc-payment-box,
.shuf-ad-wrap #shuf-ad-payment-section .shuf-ad-payment-box {
  padding: 18px !important;
  border-radius: 0 !important;
}

.shuf-ct-wrap .shuf-ct-payment-box:has(.shuf-ct-card-row) .shuf-ct-pay-head,
.shuf-bc-wrap #shuf-bc-payment-section .shuf-bc-pay-head,
.shuf-ad-wrap #shuf-ad-payment-section .shuf-ad-pay-head {
  margin-bottom: 18px !important;
}

.shuf-ct-wrap .shuf-ct-payment-box:has(.shuf-ct-card-row) .shuf-ct-tab-panel.active,
.shuf-bc-wrap #shuf-bc-payment-section .shuf-bc-tab-panel.active,
.shuf-ad-wrap #shuf-ad-payment-section .shuf-ad-tab-panel.active {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.shuf-ct-wrap .shuf-ct-payment-box:has(.shuf-ct-card-row) .shuf-ct-card-row,
.shuf-bc-wrap #shuf-bc-payment-section .shuf-bc-card-row,
.shuf-ad-wrap #shuf-ad-payment-section .shuf-ad-card-row {
  gap: 12px !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

.shuf-ct-wrap .shuf-ct-payment-box:has(.shuf-ct-card-row) .shuf-ct-card-row + .shuf-ct-field-row-split,
.shuf-ad-wrap #shuf-ad-payment-section .shuf-ad-card-row + .shuf-ad-field-row-split,
.shuf-bc-wrap #shuf-bc-payment-section .shuf-bc-card-row + .shuf-bc-field-row {
  margin-top: 0 !important;
}

.shuf-ct-wrap .shuf-ct-payment-box:has(.shuf-ct-card-row) .shuf-ct-field-row-split > .shuf-ct-field-row,
.shuf-ad-wrap #shuf-ad-payment-section .shuf-ad-field-row-split > .shuf-ad-field-row {
  margin-bottom: 0 !important;
}

.shuf-ct-wrap .shuf-ct-payment-box:has(.shuf-ct-card-row) .shuf-ct-stripe-el,
.shuf-bc-wrap #shuf-bc-payment-section .shuf-bc-stripe-el,
.shuf-ad-wrap #shuf-ad-payment-section .shuf-ad-stripe-el,
.shuf-ct-wrap .shuf-ct-payment-box:has(.shuf-ct-card-row) #shuf-ct-card-name,
.shuf-bc-wrap #shuf-bc-payment-section #shuf-bc-card-name,
.shuf-ad-wrap #shuf-ad-payment-section #shuf-ad-card-name {
  border-radius: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  border-width: 1px !important;
  box-sizing: border-box !important;
}

.shuf-ct-wrap .shuf-ct-payment-box:has(.shuf-ct-card-row) #shuf-ct-card-name,
.shuf-bc-wrap #shuf-bc-payment-section #shuf-bc-card-name,
.shuf-ad-wrap #shuf-ad-payment-section #shuf-ad-card-name {
  font-size: 14px !important;
  padding: 0 12px !important;
  line-height: 40px !important;
}

.shuf-ct-wrap .shuf-ct-payment-box:has(.shuf-ct-card-row) .shuf-ct-card-number-wrap #shuf-ct-card-number,
.shuf-bc-wrap #shuf-bc-payment-section .shuf-bc-card-number-wrap #shuf-bc-card-number,
.shuf-ad-wrap #shuf-ad-payment-section .shuf-ad-card-number-wrap #shuf-ad-card-number,
.shuf-bc-wrap #shuf-bc-payment-section .shuf-bc-card-number-wrap .shuf-bc-stripe-el {
  padding-right: 44px !important;
}

@media (max-width: 640px) {
  .shuf-ct-wrap .shuf-ct-card-row,
  .shuf-bc-wrap .shuf-bc-card-row,
  .shuf-ad-wrap .shuf-ad-card-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
