:root {
    /* 主题色 - 现代蓝紫渐变 */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --primary-50: rgba(99, 102, 241, 0.05);
    --primary-100: rgba(99, 102, 241, 0.1);
    --primary-200: rgba(99, 102, 241, 0.2);
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --primary-gradient-hover: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);

    /* 功能色 */
    --success: #10b981;
    --success-light: #34d399;
    --success-bg: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fbbf24;
    --warning-bg: #fef3c7;
    --danger: #ef4444;
    --danger-light: #f87171;
    --danger-bg: #fee2e2;
    --info: #3b82f6;
    --info-bg: #dbeafe;

    /* 文字颜色 */
    --text: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --text-white: #fff;

    /* 背景色 */
    --bg: #f8fafc;
    --bg-white: #fff;
    --bg-card: #fff;
    --bg-hover: #f1f5f9;
    --bg-active: #e2e8f0;

    /* 侧边栏 */
    --sidebar-bg: #1e1e2e;
    --sidebar-hover: rgba(99, 102, 241, 0.15);
    --sidebar-active: var(--primary);
    --sidebar-text: rgba(255, 255, 255, 0.7);
    --sidebar-text-active: #fff;

    /* 边框 */
    --border: #e5e7eb;
    --border-light: #f3f4f6;

    /* 阴影 */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-primary: 0 4px 14px rgba(99, 102, 241, 0.4);
    --shadow-primary-lg: 0 8px 24px rgba(99, 102, 241, 0.35);

    /* 尺寸 */
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    --sidebar-width: 240px;
    --header-height: 64px;
    --bottom-nav-height: 64px;

    /* 间距 */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;

    /* 字体 */
    --font-size-xs: 11px;
    --font-size-sm: 12px;
    --font-size: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 20px;
    --font-size-title: 24px;
    --font-size-hero: 32px;

    /* 过渡 */
    --transition-fast: 0.15s ease;
    --transition: 0.2s ease;
    --transition-slow: 0.3s ease;

    /* 图标尺寸 */
    --icon-sm: 16px;
    --icon: 20px;
    --icon-lg: 24px;
}
