/**
 * Dashboard Translations - English
 */

export const dashboardEn = {
  // Header
  clinicWorkspace: "Clinic Workspace",
  signedInAs: "Signed in as",

  // Metrics
  revenue: "Revenue",
  bookings: "Bookings",
  conversations: "Conversations",
  conversion: "Conversion",
  thisWeek: "this week",
  thisMonth: "this month",
  today: "today",
  vsLast: "vs last",
  active: "active",
  avgResponseTime: "Avg response",
  demoToBooking: "demo→booking",

  // Navigation Tabs
  tabOverview: "Overview",
  tabWhatsApp: "WhatsApp",
  tabAppointments: "Appointments",
  tabClients: "Customers",
  tabAnalytics: "Analytics",
  tabIntegrations: "Integrations",
  tabBilling: "Billing & Plan",
  tabWaitlists: "Waitlists",
  tabTeam: "Team",

  // Overview Tab
  welcomeBack: "Welcome back",
  overviewSubtitle:
    "Live view of your appointments, conversations, and business metrics",
  recentConversations: "Recent WhatsApp Conversations",
  recentConversationsDesc:
    "Latest customer interactions via your AI WhatsApp agent",
  todaysSchedule: "Today's Schedule",
  todaysScheduleDesc: "Appointments scheduled for today",
  pendingActions: "Pending Actions",
  pendingActionsDesc: "Tasks requiring your attention",
  viewAll: "View all",
  noConversations: "No conversations yet",
  noConversationsDesc:
    "When customers message your WhatsApp Business number, conversations will appear here",
  noAppointments: "No appointments today",
  noAppointmentsDesc: "Your schedule is clear for today",

  // WhatsApp Tab
  whatsappConversations: "WhatsApp Conversations",
  whatsappConversationsDesc:
    "Manage customer conversations handled by your AI agent",
  connectionStatus: "Connection Status",
  connected: "Connected",
  disconnected: "Disconnected",
  reconnect: "Reconnect",
  testConnection: "Test connection",
  viewN8nWorkflow: "View n8n workflow",
  conversationWith: "Conversation with",
  conversationSummary: "Summary",
  aiActionsTaken: "Actions taken by AI agent",
  viewFullHistory: "View full message history",
  escalateToHuman: "Escalate to human",
  markAsResolved: "Mark as resolved",
  addTag: "Add tag",
  searchConversations: "Search by name or phone",
  filterByStatus: "Filter by status",
  allStatuses: "All statuses",
  statusActive: "Active",
  statusResolved: "Resolved",
  statusEscalated: "Escalated",
  statusAbandoned: "Abandoned",
  unreadMessages: "unread messages",

  // Appointments Tab
  appointments: "Appointments",
  appointmentsDesc: "Upcoming and past bookings",
  createManualBooking: "Create appointment",
  filterByDate: "Filter by date",
  filterByAppointmentStatus: "Filter by status",
  filterByDeposit: "Filter by deposit",
  allDeposits: "All deposits",
  depositPaid: "Deposit paid",
  depositPending: "Deposit pending",
  date: "Date",
  time: "Time",
  customer: "Customer",
  service: "Service",
  deposit: "Deposit",
  status: "Status",
  actions: "Actions",
  depositPaidBadge: "Deposit Paid",
  depositPendingBadge: "Deposit Pending",
  noDeposit: "No deposit",
  statusPending: "Pending",
  statusConfirmed: "Confirmed",
  statusCompleted: "Completed",
  statusCancelled: "Cancelled",
  statusNoShow: "No-show",
  reschedule: "Reschedule",
  cancel: "Cancel",
  viewDetails: "View details",
  sendReminder: "Send reminder",
  noAppointmentsYet: "No appointments scheduled",
  noAppointmentsYetDesc:
    "Bookings from WhatsApp or manual entries will appear here",

  // Customers Tab
  customers: "Customer Directory",
  customersDesc:
    "Manage your customer database and keep track of client information",
  addCustomer: "Add Customer",
  searchCustomers: "Search by name, phone, or email...",
  totalCustomers: "Total Customers",
  returningCustomers: "Returning",
  avgBookingsPerCustomer: "Avg bookings",
  noCustomersYet: "No customers yet",
  noCustomersYetDesc: "Add your first customer to get started",
  customerName: "Name",
  phone: "Phone",
  email: "Email",
  totalBookings: "Bookings",
  lastVisit: "Last visit",
  lifetimeValue: "Lifetime value",
  // Customer Form
  addNewCustomer: "Add New Customer",
  editCustomer: "Edit Customer",
  customerDetails: "Customer Details",
  fullName: "Full Name",
  fullNamePlaceholder: "Enter customer name",
  mobileNumber: "Mobile Number",
  mobileNumberPlaceholder: "+974 XXXX XXXX",
  emailAddress: "Email Address",
  emailPlaceholder: "customer@example.com",
  notes: "Notes",
  notesPlaceholder: "Add any notes about this customer...",
  saveCustomer: "Save Customer",
  updateCustomer: "Update Customer",
  cancelAction: "Cancel",
  customerAdded: "Customer added successfully",
  customerUpdated: "Customer updated successfully",
  customerDeleted: "Customer deleted successfully",
  confirmDelete: "Delete Customer",
  confirmDeleteDesc:
    "Are you sure you want to delete this customer? This action cannot be undone.",
  deleteCustomer: "Delete",
  viewCustomerDetails: "View Details",
  customerInfo: "Customer Information",
  contactInfo: "Contact Information",
  appointmentHistory: "Appointment History",
  noAppointmentHistory: "No appointments yet",
  sendMessage: "Send Message",
  createAppointmentFor: "Create Appointment",
  customerSince: "Customer since",
  lastContact: "Last contact",
  requiredField: "This field is required",
  invalidEmail: "Please enter a valid email",
  invalidPhone: "Please enter a valid phone number",

  // Analytics Tab
  analytics: "Analytics & Reports",
  analyticsDesc: "Revenue trends, deposit tracking, and business insights",
  revenueTrends: "Revenue Trends",
  last7Days: "Last 7 days",
  last30Days: "Last 30 days",
  last90Days: "Last 90 days",
  totalRevenue: "Total Revenue",
  depositsCollected: "Deposits Collected",
  depositsPending: "Deposits Pending",
  topServices: "Top Services by Revenue",
  bookingSources: "Booking Sources",
  sourceWhatsApp: "WhatsApp AI",
  sourceManual: "Manual entry",
  sourceDemo: "Demo form",
  sourceWidget: "Website widget",
  exportData: "Export data",
  exportBookings: "Export bookings (CSV)",
  exportCustomers: "Export customers (CSV)",
  exportRevenue: "Export revenue report (PDF)",

  // Integrations Tab
  integrations: "Integrations & Connections",
  integrationsDesc: "Connect your tools and automate workflows",
  whatsappIntegration: "WhatsApp Business API",
  whatsappIntegrationDesc:
    "Connect your WhatsApp Business number via n8n workflow",
  calendarIntegration: "Calendar Sync",
  calendarIntegrationDesc: "Two-way sync with Google Calendar or Outlook",
  crmIntegration: "CRM Integration",
  crmIntegrationDesc: "Sync customer data with Salesforce or HubSpot",
  connectNow: "Connect now",
  configure: "Configure",
  disconnect: "Disconnect",
  lastSynced: "Last synced",
  syncNow: "Sync now",
  setupWizard: "Setup Wizard",
  setupProgress: "Setup Progress",
  setupStep1: "Create account",
  setupStep2: "Choose subscription plan",
  setupStep3: "Connect WhatsApp",
  setupStep4: "Sync calendar",
  setupStep5: "Add team members",
  setupStep6: "Test first booking",

  // Quick Actions
  quickActions: "Quick Actions",
  createAppointment: "Create appointment",
  sendBroadcast: "Send broadcast",
  exportReports: "Export reports",
  getHelp: "Get help",

  // Notifications
  notifications: "Notifications",
  markAllAsRead: "Mark all as read",
  noNotifications: "No notifications",
  noNotificationsDesc: "You're all caught up!",
  newBookingNotif: "New booking",
  depositReceivedNotif: "Deposit received",
  newConversationNotif: "New conversation",

  // Support Tab
  tabSupport: "Support",
  supportTitle: "Support Tickets",
  supportSubtitle: "Get help from our team",
  newTicket: "New Ticket",
  createTicket: "Create Ticket",
  myTickets: "My Tickets",
  ticketList: "Ticket List",
  ticketConversation: "Conversation",
  noTickets: "No support tickets yet",
  noTicketsDesc:
    "Need help? Create a support ticket and our team will assist you.",
  ticketId: "Ticket ID",
  ticketSubject: "Subject",
  ticketSubjectPlaceholder: "Brief description of your issue",
  ticketCategory: "Category",
  ticketCategoryPlaceholder: "Select a category",
  ticketPriority: "Priority",
  ticketPriorityPlaceholder: "Select priority",
  ticketMessage: "Message",
  ticketMessagePlaceholder: "Describe your issue in detail...",
  ticketAttachments: "Attachments",
  ticketAttachmentsDesc: "Add screenshots or files (optional)",
  submitTicket: "Submit Ticket",
  sendReply: "Send Reply",
  typeYourReply: "Type your reply...",
  sending: "Sending...",

  // Support Ticket Categories
  categoryGeneral: "General",
  categoryBilling: "Billing",
  categoryTechnical: "Technical",
  categoryFeatureRequest: "Feature Request",
  categoryOther: "Other",

  // Support Ticket Priorities
  priorityLow: "Low",
  priorityMedium: "Medium",
  priorityHigh: "High",
  priorityUrgent: "Urgent",

  // Support Ticket Statuses
  ticketStatusOpen: "Open",
  ticketStatusInProgress: "In Progress",
  ticketStatusResolved: "Resolved",
  ticketStatusClosed: "Closed",

  // Support Messages
  unreadSupportMessages: "unread",
  noMessages: "No messages yet",
  staffReply: "Staff Reply",
  yourMessage: "You",
  messageAt: "at",

  // Support Helpers
  helpCenter: "Help Center",
  contactSupport: "Contact Support",
  knowledgeBase: "Knowledge Base",
  videoTutorials: "Video Tutorials",
  supportTicket: "Submit Support Ticket",
  ticketDescription: "Description",
  viewConversation: "View Conversation",
  backToTickets: "Back to Tickets",
  ticketCreated: "Ticket created successfully",
  ticketUpdated: "Ticket updated successfully",
  replySent: "Reply sent successfully",
  errorCreatingTicket: "Error creating ticket",
  errorSendingReply: "Error sending reply",
  errorLoadingTickets: "Error loading tickets",
  lastUpdated: "Last updated",

  // Modals
  confirmBookingTitle: "Confirm Appointment",
  confirmBookingDesc: "Are you sure you want to confirm this appointment?",
  cancelBookingTitle: "Cancel Appointment",
  cancelBookingDesc: "Are you sure you want to cancel this appointment?",
  sendBroadcastTitle: "Send Broadcast Message",
  sendBroadcastDesc: "Send a WhatsApp message to multiple customers",
  selectCustomers: "Select customers",
  allCustomers: "All customers",
  customSelection: "Custom selection",
  broadcastMessage: "Message",
  sendNow: "Send now",
  scheduleSend: "Schedule send",

  // States
  loading: "Loading",
  refreshing: "Refreshing",
  saving: "Saving",
  sendingState: "Sending",

  // Time
  minutesAgo: "min ago",
  hoursAgo: "hours ago",
  daysAgo: "days ago",
  justNow: "just now",

  // General
  refresh: "Refresh",
  save: "Save",
  cancelGeneral: "Cancel",
  confirm: "Confirm",
  close: "Close",
  edit: "Edit",
  delete: "Delete",
  search: "Search",
  filter: "Filter",
  sort: "Sort",
  export: "Export",
  print: "Print",
  download: "Download",
  upload: "Upload",
  back: "Back",
  next: "Next",
  previous: "Previous",
  submit: "Submit",
  reset: "Reset",
  clear: "Clear",

  // Links
  linksTitle: "Your Links",
  linksSubtitle: "Quick access to your AI agents, integrations, and resources",
  noLinks: "No links configured yet",
  noLinksDesc:
    "Links to your AI agents, knowledge base, and integrations will appear here once configured by our team.",
  openLink: "Open",
  copyLink: "Copy link",
  linkCopied: "Link copied!",

  // Waitlists
  waitlistsTitle: "Waitlists",
  waitlistsSubtitle:
    "Sign up to be first to know about new features and services",
  noWaitlists: "No waitlists available right now",
  joinWaitlist: "Join Waitlist",
  alreadyJoined: "Joined",
  signups: "signed up",
  signupForm: "Join Waitlist",
  waitlistName: "Name",
  waitlistEmail: "Email",
  waitlistMobile: "Mobile Number",
  waitlistSubmit: "Sign Up",
  waitlistCancel: "Cancel",
  waitlistSuccess: "Successfully signed up!",
  waitlistError: "Something went wrong. Please try again.",
  waitlistAlreadySignedUp: "You are already signed up for this waitlist",
  waitlistNameRequired: "Name is required",
  waitlistEmailRequired: "Valid email is required",
  waitlistMobileRequired: "Valid mobile number is required",

  // Billing Package Display
  currentPackage: "Current Package",
  yourPlan: "Your Plan",
  packageFeatures: "Package Features",
  includedFeatures: "Included Features",
  monthlyPrice: "Monthly Price",
  yearlyPrice: "Yearly Price",
  yearlySavings: "You save {amount} per year with yearly billing",
  renewsOn: "Renews on",
  trialEndsOn: "Trial ends on",
  changePlan: "Change Plan",
  viewBillingHistory: "View Billing History",
  upgradeNow: "Upgrade Now",
  perMonth: "/month",
  perYear: "/year",
  billedMonthly: "Billed Monthly",
  billedYearly: "Billed Yearly",
  seatsIncluded: "{count} team seats included",
  noSeatsIncluded: "Single user plan",

  // Sector-specific
  sectorDetails: "Sector Details",
  autoProvisionToast:
    "We've set up {count} appointment types for your business",
  itemType_service: "Service",
  itemType_product: "Product",
  itemType_menu_item: "Menu Item",
  itemType_fee: "Fee",
  itemType_rental: "Rental",
  sectorFieldsRequired: "Please fill in required fields",

  // ── WhatsApp Setup Wizard ────────────────────────────────────────────
  whatsappSetupTitle: "Connect WhatsApp Business",
  whatsappSetupSubtitle:
    "Set up your AI receptionist on WhatsApp in a few steps",
  whatsappSetupWelcomeTitle: "Turn WhatsApp into your 24/7 receptionist",
  whatsappSetupWelcomeSubtitle:
    "Mawidi handles bookings, answers questions, and books appointments — automatically, in Arabic and English.",
  whatsappSetupBenefit1: "Reply to customers in under 10 seconds, 24/7",
  whatsappSetupBenefit2:
    "Bilingual conversations in Arabic & English with Qatari dialect",
  whatsappSetupBenefit3: "Works with your existing WhatsApp Business number",
  whatsappSetupBenefit4: "Automated booking confirmations & reminders",
  whatsappSetupBenefit5: "Unified inbox for all your conversations",
  whatsappSetupGetStarted: "Get Started",
  whatsappSetupSkipToCredentials: "I have credentials, skip ahead",

  // Step-by-step instructions
  whatsappSetupStep1Title: "Create a Meta Business account",
  whatsappSetupStep1Desc:
    "Go to business.facebook.com and sign in or create a free Meta Business account.",
  whatsappSetupStep2Title: "Add a WhatsApp Business number",
  whatsappSetupStep2Desc:
    "In Meta Business Suite, add a phone number for your WhatsApp Business account.",
  whatsappSetupStep3Title: "Open Meta for Developers",
  whatsappSetupStep3Desc:
    "Go to developers.facebook.com, create a new app, and add the WhatsApp product.",
  whatsappSetupStep4Title: "Get your Phone Number ID and Access Token",
  whatsappSetupStep4Desc:
    "From the WhatsApp API setup page, copy the Phone Number ID and generate a permanent access token.",
  whatsappSetupStep5Title: "Get your App Secret",
  whatsappSetupStep5Desc:
    "From App Settings → Basic, copy the App Secret. We use this to verify webhook signatures.",
  whatsappSetupStep6Title: "Paste credentials into Mawidi",
  whatsappSetupStep6Desc:
    "Click Continue below and paste your three credentials into the form on the next screen.",
  whatsappSetupOpenMetaConsole: "Open Meta Developer Console",
  whatsappSetupOptional: "Optional",
  whatsappSetupQuickTip: "Quick tip",
  whatsappSetupQuickTipText:
    "Already have your WhatsApp Business credentials? Use the Skip ahead button on the welcome screen.",
  whatsappSetupPrevious: "Back",
  whatsappSetupNext: "Next",
  whatsappSetupContinueToCredentials: "Continue to credentials",

  // Success screen
  whatsappSetupSuccessTitle: "WhatsApp connected successfully!",
  whatsappSetupSuccessSubtitle:
    "Your AI receptionist is live and ready to take customer messages.",
  whatsappSetupConnectedNumber: "Connected number",
  whatsappSetupBusinessName: "Business name",
  whatsappSetupGoToConversations: "Go to conversations",
};
