/* ===== CSS VARIABLES ===== */
:root {
  /* ===== COLORS ===== */
  /* Primary Colors */
  --primary-color: #1e40af;
  --primary-color-light: #3b82f6;
  --primary-color-dark: #1e3a8a;
  --primary-color-alt: #06b6d4;
  
  /* Secondary Colors */
  --secondary-color: #06b6d4;
  --secondary-color-light: #22d3ee;
  --secondary-color-dark: #0891b2;
  
  /* Accent Color */
  --accent-color: #fbbf24;
  
  /* Neutral Colors */
  --white-color: #ffffff;
  --light-color: #f8fafc;
  --light-color-alt: #f1f5f9;
  --gray-color: #64748b;
  --gray-color-light: #94a3b8;
  --gray-color-dark: #475569;
  --dark-color: #1e293b;
  --dark-color-light: #334155;
  --dark-color-alt: #0f172a;
  --black-color: #000000;
  
  /* Status Colors */
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --info-color: #3b82f6;
  
  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-alt) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(6, 182, 212, 0.9) 100%);
  
  /* Glass Effect */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-backdrop: blur(10px);
  
  /* ===== TYPOGRAPHY ===== */
  /* Font Families */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  
  /* Font Sizes */
  --font-size-xs: 0.5rem;     /* 8px */
  --font-size-sm: 0.625rem;   /* 10px */
  --font-size-base: 0.75rem;  /* 12px */
  --font-size-lg: 0.875rem;   /* 14px */
  --font-size-xl: 1rem;       /* 16px */
  --font-size-2xl: 1.125rem;  /* 18px */
  --font-size-3xl: 1.25rem;   /* 20px */
  --font-size-4xl: 1.5rem;    /* 24px */
  --font-size-5xl: 1.875rem;  /* 30px */
  --font-size-6xl: 2.25rem;   /* 36px */
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* ===== SPACING ===== */
  --spacing-xs: 0.125rem;  /* 2px */
  --spacing-sm: 0.25rem;   /* 4px */
  --spacing-md: 0.5rem;    /* 8px */
  --spacing-lg: 0.75rem;   /* 12px */
  --spacing-xl: 1rem;      /* 16px */
  --spacing-2xl: 1.5rem;   /* 24px */
  --spacing-3xl: 2rem;     /* 32px */
  --spacing-4xl: 2.5rem;   /* 40px */
  --spacing-5xl: 3rem;     /* 48px */
  
  /* ===== LAYOUT ===== */
  /* Container */
  --container-max-width: 900px;
  --container-padding: 0.5rem;
  
  /* Header */
  --header-height: 3rem;      /* 48px */
  --header-height-mobile: 2.5rem; /* 40px */
  
  /* Grid */
  --grid-gap: 2rem;
  --grid-gap-mobile: 1rem;
  
  /* ===== BORDERS ===== */
  --border-radius-sm: 0.25rem;   /* 4px */
  --border-radius-md: 0.5rem;    /* 8px */
  --border-radius-lg: 0.75rem;   /* 12px */
  --border-radius-xl: 1rem;      /* 16px */
  --border-radius-2xl: 1.5rem;   /* 24px */
  --border-radius-full: 9999px;
  
  --border-width: 1px;
  --border-width-thick: 2px;
  
  /* ===== SHADOWS ===== */
  --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-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Glass Shadows */
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --shadow-glass-hover: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
  
  /* ===== ANIMATIONS ===== */
  /* Duration */
  --animation-duration-fast: 0.15s;
  --animation-duration-normal: 0.3s;
  --animation-duration-slow: 0.5s;
  
  /* Easing */
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* ===== Z-INDEX ===== */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
}



/* ===== RESPONSIVE BREAKPOINTS ===== */
/* Using CSS custom properties for consistent breakpoints */
:root {
  --breakpoint-xs: 480px;
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
}

/* ===== CUSTOM PROPERTIES FOR COMPONENTS ===== */
:root {
  /* Button */
  --btn-padding-y: 0.75rem;
  --btn-padding-x: 1.5rem;
  --btn-font-size: var(--font-size-base);
  --btn-line-height: var(--line-height-normal);
  --btn-border-radius: var(--border-radius-lg);
  
  /* Form */
  --form-input-height: 3rem;
  --form-input-padding: 1rem;
  --form-input-border-radius: var(--border-radius-md);
  --form-input-font-size: var(--font-size-base);
  
  /* Card */
  --card-padding: 1.5rem;
  --card-border-radius: var(--border-radius-xl);
  --card-shadow: var(--shadow-lg);
  
  /* Navigation */
  --nav-link-padding: 0.5rem 1rem;
  --nav-dropdown-width: 200px;
}

/* ===== PRINT STYLES ===== */
@media print {
  :root {
    --primary-color: #000000;
    --secondary-color: #666666;
    --text-color: #000000;
    --background-color: #ffffff;
  }
} 