/**
 * Get payment status color classes
 */
export const getPaymentStatusColor = (status: string): string => {
  switch (status) {
    case 'completed':
    case 'paid':
      return 'bg-gradient-to-r from-emerald-50 to-green-50 text-emerald-800 border-emerald-200';
    case 'pending':
      return 'bg-gradient-to-r from-amber-50 to-yellow-50 text-amber-800 border-amber-200';
    case 'failed':
      return 'bg-gradient-to-r from-rose-50 to-red-50 text-rose-800 border-rose-200';
    case 'refunded':
      return 'bg-gradient-to-r from-slate-50 to-gray-50 text-slate-700 border-slate-200';
    default:
      return 'bg-gradient-to-r from-slate-50 to-gray-50 text-slate-700 border-slate-200';
  }
};

/**
 * Get payment method label
 */
export const getPaymentMethodLabel = (method: string): string => {
  switch (method) {
    case 'stripe':
    case 'credit_card':
      return 'Card';
    case 'paypal':
      return 'PayPal';
    case 'bank_transfer':
      return 'Bank Transfer';
    case 'cash':
      return 'Cash';
    default:
      return method;
  }
};

