/* Payment status headings have no back button and must not use its narrow column. */
#bookingApp .payment-wrap > .flow-top:has(> .flow-title:first-child) {
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 6px !important;
}

#bookingApp .payment-wrap > .flow-top > .flow-title:first-child {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  font-size: clamp(24px, 3vw, 30px) !important;
  line-height: 1.2 !important;
  letter-spacing: -.5px !important;
  overflow-wrap: normal;
  word-break: normal;
}

#bookingApp .payment-wrap > .flow-top > .flow-title:first-child + .progress-copy {
  display: block;
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px !important;
  line-height: 1.5;
  color: var(--tmz-muted, var(--muted)) !important;
}

#bookingApp .payment-wrap:has(#subscriptionPaymentStatus) {
  max-width: 760px !important;
}

#bookingApp .payment-panel:has(#subscriptionPaymentStatus) > h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.3;
}

#bookingApp .payment-panel:has(#subscriptionPaymentStatus) > .privacy-copy,
#bookingApp #subscriptionPaymentStatus {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: var(--tmz-muted, var(--muted)) !important;
}

#bookingApp #subscriptionPaymentFallback {
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  margin-top: 12px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

#bookingApp .payment-wrap:has(#subscriptionCommitmentConsent) .order-total {
  flex-wrap: wrap;
  align-items: flex-start;
}

#bookingApp .payment-wrap:has(#subscriptionCommitmentConsent) .order-total > strong {
  flex: 0 0 auto;
  white-space: nowrap;
  margin-left: auto;
}

#bookingApp .payment-wrap:has(#subscriptionCommitmentConsent) .privacy-copy,
#bookingApp .payment-wrap:has(#subscriptionCommitmentConsent) .plan-note {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: inherit !important;
  opacity: .85;
}

#bookingApp .payment-wrap:has(#subscriptionCommitmentConsent) .summary-list span,
#bookingApp .payment-wrap:has(#subscriptionCommitmentConsent) .order-text {
  color: inherit !important;
  opacity: .8;
}

#bookingApp #subscriptionPayButton:disabled {
  opacity: .5;
  cursor: not-allowed;
}

#bookingApp .payment-wrap:has(.subscription-payment-notice) {
  max-width: 760px !important;
}

#bookingApp .subscription-payment-notice > h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.3;
}

#bookingApp .subscription-payment-notice > .privacy-copy {
  margin: 0 0 20px;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: inherit !important;
  opacity: .85;
}

#bookingApp .subscription-payment-notice > .primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 20px;
  font-size: 14px;
  line-height: 1.4;
  white-space: normal;
  text-align: center;
  margin: 0 12px 12px 0;
}

#bookingApp .subscription-detail-link {
  display: inline-block;
  padding: 12px 0;
  color: inherit;
  font-size: 14px;
}

#bookingApp .subscription-payment-notice > .plan-note {
  margin: 0 0 20px;
  color: inherit !important;
  opacity: .85;
  font-size: 14px;
  line-height: 1.6;
}
