const payments = whop.payments.create({
appearance: {
classes: {
'whop-Address': { borderRadius: '8px', fontWeight: '600' },
'whop-AddressErrorSummary': { borderRadius: '8px', fontWeight: '600' },
'whop-AddressField': { borderRadius: '8px', fontWeight: '600' },
'whop-AddressFieldError': { borderRadius: '8px', fontWeight: '600' },
'whop-AddressFieldInput': { borderRadius: '8px', fontWeight: '600' },
'whop-AddressFieldInputInvalid': { borderRadius: '8px', fontWeight: '600' },
'whop-AddressFieldInvalid': { borderRadius: '8px', fontWeight: '600' },
'whop-AddressFieldLabel': { borderRadius: '8px', fontWeight: '600' },
'whop-AddressFieldSelect': { borderRadius: '8px', fontWeight: '600' },
'whop-AddressLine2Toggle': { borderRadius: '8px', fontWeight: '600' },
'whop-AddressManualEntry': { borderRadius: '8px', fontWeight: '600' },
'whop-AddressSuggestion': { borderRadius: '8px', fontWeight: '600' },
'whop-AddressSuggestionActive': { borderRadius: '8px', fontWeight: '600' },
'whop-AddressSuggestionManual': { borderRadius: '8px', fontWeight: '600' },
'whop-AddressSuggestions': { borderRadius: '8px', fontWeight: '600' },
'whop-CardField': { borderRadius: '8px', fontWeight: '600' },
'whop-CardFieldError': { borderRadius: '8px', fontWeight: '600' },
'whop-CardFieldGroup': { borderRadius: '8px', fontWeight: '600' },
'whop-CardFieldInput': { borderRadius: '8px', fontWeight: '600' },
'whop-CardFieldInputFocused': { borderRadius: '8px', fontWeight: '600' },
'whop-CardFieldInputInvalid': { borderRadius: '8px', fontWeight: '600' },
'whop-CardLabel': { borderRadius: '8px', fontWeight: '600' },
'whop-Payment': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentBillingBlock': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentCardFields': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentDetailIcon': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentDetailRegion': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentDetailSubtext': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentDetailText': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentError': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentFieldError': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentFieldInput': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentFieldInputInvalid': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentFieldLabel': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMandateLink': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMandateNotice': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMethod': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMethodDetail': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMethodIcon': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMethodLabel': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMethodMoreSelect': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMethodMoreTile': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMethodPanel': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMethodRadio': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMethodRadioSelected': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMethodRow': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMethodRowSelected': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMethods': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMethodSeparated': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMethodsSeparated': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMethodTile': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMethodTileRow': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMethodTileSelected': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentMoreRow': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentSavedMethod': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentSavedMethodHint': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentSavedMethodRow': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentSavedMethodRowSelected': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentSavedMethods': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentSavedMethodSeparated': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentSavedMore': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentSavedMoreSpinner': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentSaveNotice': { borderRadius: '8px', fontWeight: '600' },
'whop-PaymentSettlementNotice': { borderRadius: '8px', fontWeight: '600' }
}
}
});
// restyle live at any point — the same shape through update()
payments.update({
appearance: { classes: { 'whop-Address': { fontWeight: '700' } } }
});