export const referrals = {
  // Dashboard page
  page_title: 'Your Referral Program',
  page_description: 'Earn credit for every friend who joins and buys',

  // Invite / share
  invite_heading: 'Invite Friends, Earn Credit',
  invite_body:
    'When a friend you invite makes their first purchase — you earn {{referralPct}}% of their purchase as store credit, and they get ₪{{refereeDiscount}} off.',
  share_cta: 'Share Your Link',
  share_message:
    'Join me on Multideal — great discounted deals. Use this link to get ₪{{refereeDiscount}} off your first purchase!',
  copy_link: 'Copy Link',
  link_copied: 'Link Copied',
  create_link: 'Create Referral Link',
  creating_link: 'Creating link…',
  your_link: 'Your Link',
  your_code: 'Your Code',

  // Stats / dashboard labels
  pending_label: 'Pending',
  qualified_label: 'Qualified',
  balance_label: 'Available Credit',
  lifetime_label: 'Total Earned',
  affiliate_window_label: 'Affiliate Window',
  affiliate_window_active: 'Active until {{date}}',
  affiliate_window_inactive: 'Inactive',
  no_referrals_yet: "You haven't invited anyone yet — share your link!",
  error_load_title: "Couldn't load referral data",
  error_load_body: 'Check your connection and try again in a moment',
  link_create_error: "Couldn't create your referral link — please try again",
  hold_note:
    "Credit unlocks {{holdDays}} days after your friend's purchase — matching the returns window.",

  // Withdraw
  withdraw_cta: 'Withdraw',
  withdraw_min_notice: 'Minimum ₪200 lifetime earnings to withdraw',
  kyc_required_title: 'Identity Verification Required',
  kyc_required_body: "Before withdrawing, you'll need to verify your identity. Coming soon!",
  withdraw_ineligible: "You don't meet the withdrawal requirements yet",
  withdraw_coming_soon: 'Withdrawal — coming soon',
  withdraw_success_title: 'Withdrawal request submitted',
  withdraw_error_title: 'Withdrawal error',

  // Wallet split tiles
  wallet_pending_label: 'Pending Maturation',
  wallet_pending_hint: 'Maturing, not yet available',
  wallet_available_label: 'Available to Withdraw',
  wallet_available_hint: 'Ready to withdraw',

  // Referee list
  referees_heading: 'Friends You Invited',
  referee_status_pending: 'Pending',
  referee_status_qualified: 'Qualified',

  // Recent activity
  recent_activity_heading: 'Recent Activity',
  activity_referral_reward: 'Referral Reward',
  activity_affiliate_commission: 'Affiliate Commission',
  activity_redemption: 'Credit Redemption',
  activity_refund_clawback: 'Refund Clawback',
  activity_adjustment: 'Adjustment',

  // Checkout credit line
  credit_applied: '₪{{amount}} credit applied',
  credit_held: '₪{{amount}} credit — not applied to this purchase',
  hold_credit_label: 'Do not use credit for this purchase',
  no_credit_available: 'No credit available',
  balance_debt_label: '₪0 available',
  balance_debt_detail: 'debt: ₪{{amount}} owed against future earnings',
} as const;
