/**
 * CSS 变量 - 橙色主题
 */

:root {
  /* 主题颜色 - 橙色渐变 */
  --primary-color: #ff6b35;
  --primary-hover: #ff8555;
  --primary-light: #ff9f75;
  --primary-dark: #e55525;

  --secondary-color: #f7931e;
  --secondary-hover: #ffa53e;
  --secondary-light: #ffb85e;
  --secondary-dark: #d7810e;

  --accent-color: #ff8c42;
  --accent-hover: #ffa662;
  --accent-light: #ffc082;
  --accent-dark: #df7222;

  /* 背景色 */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #e9ecef;
  --bg-dark: #1a1a1a;
  --bg-darker: #0d0d0d;

  /* 侧边栏 */
  --sidebar-bg: #2d2d2d;
  --sidebar-hover: #3d3d3d;
  --sidebar-active: #ff6b35;
  --sidebar-text: #e0e0e0;
  --sidebar-text-active: #ffffff;

  /* 文字颜色 */
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-tertiary: #999999;
  --text-light: #ffffff;

  /* 边框颜色 */
  --border-color: #e0e0e0;
  --border-color-light: #f0f0f0;
  --border-color-dark: #d0d0d0;

  /* 状态颜色 */
  --success-color: #10b981;
  --success-light: #34d399;
  --warning-color: #f59e0b;
  --warning-light: #fbbf24;
  --error-color: #ef4444;
  --error-light: #f87171;
  --info-color: #3b82f6;
  --info-light: #60a5fa;

  /* 阴影 */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 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-orange: 0 10px 25px -5px rgba(255, 107, 53, 0.3);

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

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

  /* 过渡 */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* 字体大小 */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 36px;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* 布局 */
  --sidebar-width: 260px;
  --topbar-height: 64px;
}

/* 渐变 */
.gradient-orange {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.gradient-orange-light {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
}

.gradient-dark {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}
