/**
 * CSS Custom Properties (Variables)
 * Election Lab Design System - Light Theme
 */

:root {
    /* Colors - Primary (科技紫 - Tech Purple, brighter) */
    --color-primary: #7C5CFF;
    --color-primary-dark: #6347E0;
    --color-primary-light: #9B7FFF;
    --color-primary-bg: rgba(124, 92, 255, 0.12);

    /* Colors - Accent (琥珀橘 - Amber Orange for highlights/alerts) */
    --color-accent: #FF9F43;
    --color-accent-dark: #E8872A;
    --color-accent-light: #FFB76B;
    --color-accent-bg: rgba(255, 159, 67, 0.15);

    /* Colors - Background (Light theme, cleaner) */
    --color-bg-body: #FAFAFC;
    --color-bg-white: #ffffff;
    --color-bg-card: #ffffff;
    --color-bg-muted: #F4F2FF;
    --color-bg-hover: #EEEAFF;

    /* Colors - Text */
    --color-text-primary: #111827;
    --color-text-secondary: #6b7280;
    --color-text-muted: #9ca3af;
    --color-text-white: #ffffff;

    /* Colors - Borders */
    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;

    /* Colors - Sentiment (傳統語意色彩) */
    --color-positive: #22c55e;
    --color-positive-light: rgba(34, 197, 94, 0.15);
    --color-negative: #ef4444;
    --color-negative-light: rgba(239, 68, 68, 0.15);
    --color-neutral: #9ca3af;
    --color-neutral-light: rgba(156, 163, 175, 0.15);

    /* Colors - Hot/Alert (琥珀橘 - 用於熱度標籤) */
    --color-hot: #FF9F43;
    --color-hot-light: rgba(255, 159, 67, 0.15);

    /* Colors - Party (Taiwan) */
    --color-party-kmt: #000095;
    --color-party-dpp: #1b9431;
    --color-party-tpp: #28c8c8;
    --color-party-independent: #808080;

    /* Typography */
    --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;

    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --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 -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-card: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;

    /* Layout */
    --mobile-nav-height: 64px;
    --header-height: 64px;
    --container-max-width: 1200px;

    /* Z-index */
    --z-header: 100;
    --z-mobile-nav: 100;
    --z-modal: 200;
    --z-tooltip: 300;
}
