/* CSS 变量定义 */

:root {
    /* 颜色变量 */
    --color-primary: #1890ff;
    --color-success: #52c41a;
    --color-warning: #faad14;
    --color-error: #f5222d;
    --color-info: #1890ff;
    
    --color-text-primary: #333333;
    --color-text-secondary: #666666;
    --color-text-disabled: #999999;
    
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f5f5f5;
    --color-bg-disabled: #f0f0f0;
    
    --color-border: #d9d9d9;
    --color-border-light: #e8e8e8;
    
    /* 字体变量 */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-xxl: 24px;
    
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 600;
    
    --line-height-base: 1.5;
    --line-height-tight: 1.2;
    --line-height-loose: 1.8;
    
    /* 间距变量 */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    
    /* 圆角变量 */
    --border-radius-sm: 2px;
    --border-radius-base: 4px;
    --border-radius-lg: 8px;
    --border-radius-round: 50%;
    
    /* 阴影变量 */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-base: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.15);
    
    /* 过渡变量 */
    --transition-base: all 0.3s ease;
    
    /* Z-index 变量 */
    --z-index-dropdown: 1000;
    --z-index-sticky: 1020;
    --z-index-fixed: 1030;
    --z-index-modal-backdrop: 1040;
    --z-index-modal: 1050;
    --z-index-popover: 1060;
    --z-index-tooltip: 1070;
}

