export interface Course {
  id: string;
  title: string;
  titleAr: string;
  description: string;
  descriptionAr: string;
  category: string;
  categoryAr: string;
  instructor: string;
  instructorAr: string;
  rating: number;
  reviewsCount: number;
  price: number; // in NGN
  priceUSD: number; // in USD
  duration: string;
  durationAr: string;
  image: string;
  modules: string[];
  modulesAr: string[];
}

export interface Student {
  id: string;
  name: string;
  email: string;
  phone: string;
  registeredAt: string;
  bio?: string;
}

export interface Enrollment {
  courseId: string;
  enrolledAt: string;
  progress: number; // percentage 0 - 100
  status: 'not_started' | 'in_progress' | 'completed';
  grade?: string;
  completedModules: number[];
}

export interface LiveClass {
  id: string;
  title: string;
  titleAr: string;
  date: string;
  time: string;
  duration: string;
  durationAr: string;
  instructor: string;
  platform: 'Zoom' | 'Google Meet';
  link: string;
  status: 'upcoming' | 'live' | 'completed';
}

export type Language = 'en' | 'ar';
