/* ===================================
   CSS 變數定義
   =================================== */

:root {
    /* 品牌色彩 */
    --primary-color: #4db8a8;
    --secondary-color: #3a9d8f;
    --accent-color: #6dd5c3;

    /* 背景色彩 */
    --background-color: #f5f7fa;
    --background-light: #ffffff;
    --background-dark: #f8f9fa;
    --background-hover: #f0f2ff;
    --background-active: #e8ebff;

    /* 文字色彩 */
    --text-color: #2c3e50;
    --text-light: #6c757d;
    --text-white: #ffffff;
    --text-muted: #999;

    /* 狀態色彩 */
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --info-color: #3498db;

    /* 邊框與分隔線 */
    --border-color: #dee2e6;
    --border-light: #e9ecef;
    --border-radius: 8px;
    --border-radius-sm: 6px;
    --border-radius-lg: 12px;

    /* 陰影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 4px 12px rgba(77, 184, 168, 0.3);

    /* 間距 */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-2xl: 24px;

    /* 漸層 */
    --gradient-primary: linear-gradient(135deg, #4db8a8 0%, #3a9d8f 100%);
    --gradient-progress: linear-gradient(90deg, #4db8a8 0%, #3a9d8f 100%);

    /* 過渡效果 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* 高對比模式 */
.high-contrast {
    --primary-color: #000000;
    --secondary-color: #333333;
    --background-color: #ffffff;
    --text-color: #000000;
}