/**
 * Central Theme - คณะวิทยาศาสตร์และเทคโนโลยี
 * ธีมโทนเหลืองกับเขียว: Primary (เหลือง), Secondary (เขียว)
 * ใช้ไฟล์นี้เป็นแหล่งเดียวสำหรับสีและ design tokens
 */
:root {
    /* ===== Science Theme Colors (หลัก) – โทนเหลือง + เขียว ===== */
    --primary: #eab308;
    --primary-dark: #ca8a04;
    --primary-light: #fde047;
    --secondary: #2d7d46;
    --secondary-dark: #1e5c32;
    --secondary-light: #3da55d;
    --accent: #eab308;
    --accent-hover: #ca8a04;

    /* Alias สำหรับ style.css / admin (ใช้ชื่อ --color-*) */
    --color-primary: #eab308;
    --color-primary-dark: #ca8a04;
    --color-primary-light: #fef9c3;
    --color-secondary: #2d7d46;
    --color-secondary-dark: #1e5c32;
    --color-secondary-light: #e8f5e9;
    --color-accent: #eab308;

    /* Neutral & UI */
    --color-dark: #1a1a1a;
    --color-dark-light: #2d2d2d;
    --color-gray-900: #1f2937;
    --color-gray-800: #374151;
    --color-gray-700: #4b5563;
    --color-gray-600: #6b7280;
    --color-gray-500: #9ca3af;
    --color-gray-400: #d1d5db;
    --color-gray-300: #e5e7eb;
    --color-gray-200: #f3f4f6;
    --color-gray-100: #f9fafb;
    --color-gray-50: #fafafa;
    --color-white: #ffffff;

    /* Semantic */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-danger: #ef4444;
    --color-info: #3b82f6;

    /* Text (alias) */
    --text-primary: #1e5c32;
    --text-secondary: #64748b;
    --text-muted: #6b7280;
    --text-light: #9ca3af;

    /* บุคลากร/ผู้บริหาร - สีตามบทบาท */
    --color-dean: #e11d48;
    --color-vice: #2563eb;
    --color-asst: #d97706;
    --color-head: #0d9488;
    --color-chair: #7c3aed;

    /* Typography */
    --font-primary: 'Sarabun', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Sarabun', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);

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

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

    /* Layout */
    --max-width: 1400px;
    --header-height: 80px;
    --top-bar-height: 40px;
}

@media (max-width: 768px) {
    :root {
        --text-5xl: 2.5rem;
        --text-6xl: 3rem;
    }
}
