/**
 * 安福浩科 — CSS 变量定义
 * 
 * 定义全局设计 token（色彩、间距、字号、圆角、阴影、断点）
 * 所有组件样式引用此处变量，确保一致性。
 * 
 * @author 💻 赖恩极（首席架构师）
 * @version v6.0
 * @date 2026-05-29
 */
:root {
    /* ============================================= */
    /* 色彩体系                                      */
    /* ============================================= */
    /* 主色 — 藏青（专业、稳重） */
    --primary: #0D2137;
    --primary-light: #1a3a5c;
    --primary-dark: #091728;
    --primary-rgb: 13, 33, 55;
    
    /* 辅色 — 工程金（活力、品质） */
    --accent: #F5A623;
    --accent-light: #f7b84a;
    --accent-dark: #d48e1a;
    --accent-rgb: 245, 166, 35;
    
    /* 中性色 */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --text: #1f2937;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
    
    /* 功能色 */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --info: #3b82f6;
    --info-light: #dbeafe;
    
    /* 背景色 */
    --bg: #f5f7fa;
    --bg-white: #ffffff;
    
    /* ============================================= */
    /* 间距 token（8px 基准网格）                      */
    /* ============================================= */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    
    /* ============================================= */
    /* 字号 token                                     */
    /* ============================================= */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 30px;
    --text-4xl: 36px;
    
    /* ============================================= */
    /* 行高                                          */
    /* ============================================= */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    
    /* ============================================= */
    /* 圆角                                          */
    /* ============================================= */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* ============================================= */
    /* 阴影                                          */
    /* ============================================= */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    
    /* ============================================= */
    /* 过渡                                          */
    /* ============================================= */
    --transition-fast: 0.15s ease;
    --transition-base: 0.2s ease;
    --transition-slow: 0.3s ease;
    
    /* ============================================= */
    /* 断点                                          */
    /* ============================================= */
    --bp-mobile: 768px;
    --bp-tablet: 1024px;
    --bp-desktop: 1200px;
    
    /* ============================================= */
    /* 布局                                          */
    /* ============================================= */
    --container-max: 1200px;
    --sidebar-width: 240px;
    --sidebar-collapsed: 64px;
    --header-height: 64px;
}
