export const PRIMARY_COLOR = '#1565C0'
export const SECONDARY_COLOR = '#FB8C00'

export const QR_CODE_ID = 'qr-reader'
export const SCAN_DEBOUNCE_MS = 2000 // 2 detik debounce untuk mencegah scan berulang

export const HISTORY_STORAGE_KEY = 'checkin_history'
export const SCANNED_QR_STORAGE_KEY = 'scanned_qr_data'
export const SUCCESSFUL_SCANS_KEY = 'successful_qr_scans'

export const MAX_HISTORY_ITEMS = 100
export const MAX_SCANNED_QR_ITEMS = 50

export const HISTORY_STATUS_OPTIONS = [
  { title: 'Berhasil', value: 'success' },
  { title: 'Gagal', value: 'failed' },
  { title: 'Pending', value: 'pending' }
] as const

export const QR_STATUS_OPTIONS = [
  { title: 'Diizinkan Check-in', value: 'ALLOWED' },
  { title: 'Belum Diizinkan', value: 'NOT_ALLOWED' }
] as const
