Atlas.mount({
elementId: 'payment-form',
clientSecret: session.client_secret,
appearance: {
theme: 'stripe', // 'stripe', 'night', 'flat', or 'none'
variables: {
colorPrimary: '#0ea5e9',
colorBackground: '#ffffff',
colorText: '#1a1a1a',
colorDanger: '#ef4444',
fontFamily: 'system-ui, sans-serif',
borderRadius: '8px',
spacingUnit: '4px'
},
rules: {
'.Input': {
border: '1px solid #e5e7eb',
boxShadow: 'none'
},
'.Input:focus': {
border: '1px solid #0ea5e9',
boxShadow: '0 0 0 1px #0ea5e9'
}
}
}
});