/// 应用常量定义
class AppConstants {
  // 应用信息
  static const String appName = '灵越智报';
  static const String appVersion = 'v2.0.0';

  // 断点定义
  static const double mobileBreakpoint = 768.0;
  static const double tabletBreakpoint = 1280.0;
  static const double desktopBreakpoint = 1600.0;

  // Web应用布局
  static const double webMaxWidth = 1680.0;
  static const double webContentPadding = 40.0;

  // 文件限制
  static const double maxFileSize = 50.0; // MB
  static const List<String> allowedFileTypes = [
    'pdf',
    'docx',
    'doc',
    'jpg',
    'jpeg',
    'png',
  ];

  // 分页
  static const int defaultPageSize = 20;
}

/// 间距常量
class AppSpacing {
  static const double xs = 4.0;
  static const double sm = 8.0;
  static const double md = 16.0;
  static const double lg = 24.0;
  static const double xl = 32.0;
  static const double xxl = 48.0;
}

/// 路由路径
class AppRoutes {
  static const String home = '/';
  static const String upload = '/upload';
  static const String parse = '/parse';
  static const String process = '/process';
  static const String traction = '/traction';
  static const String result = '/result';
  static const String documents = '/documents';
  static const String settings = '/settings';
  static const String tasks = '/tasks';
}
