/**
 * Synemai Design System - Variables
 * Centralized design tokens for consistent styling across the application
 *
 * Structure:
 * - Brand Colors (to be customized with brand identity)
 * - Typography
 * - Spacing & Layout
 * - Shadows & Effects
 * - Transitions
 * - Breakpoints
 */

:root {
    /* ============================================
       SYNEMAI BRAND COLORS
       ============================================ */

    /* Primary Brand Color - Teal */
    --primary-rgb: 9, 157, 88;
    --primary: rgb(var(--primary-rgb));
    --primary-hover: #008d71;
    --primary-light: rgba(var(--primary-rgb), 0.1);
    --primary-dark: #007a61;

    /* Brand Gradient - 40 degrees from teal through green to light green */
    --gradient-brand: linear-gradient(40deg, var(--primary) 0%, #099d58 50%, #52992f 100%);
    --gradient-brand-hover: linear-gradient(40deg, #008d71 0%, #078a4d 50%, #6ab83a 100%);

    /* CTA Color - Cyan Blue */
    --cta-rgb: 0, 153, 204;
    --cta: rgb(var(--cta-rgb));
    --cta-hover: #007399;

    /* ============================================
       SEMANTIC COLORS
       ============================================ */

    /* Success */
    --success-rgb: 16, 185, 129;
    --success: rgb(var(--success-rgb));
    --success-light: rgba(var(--success-rgb), 0.1);
    --success-dark: #059669;

    /* Danger */
    --danger-rgb: 239, 68, 68;
    --danger: rgb(var(--danger-rgb));
    --danger-light: rgba(var(--danger-rgb), 0.1);
    --danger-dark: #DC2626;

    /* Warning */
    --warning-rgb: 245, 158, 11;
    --warning: rgb(var(--warning-rgb));
    --warning-light: rgba(var(--warning-rgb), 0.1);
    --warning-dark: #D97706;

    /* Info */
    --info-rgb: 14, 165, 232;
    --info: rgb(var(--info-rgb));
    --info-light: rgba(var(--info-rgb), 0.1);
    --info-dark: #0284C7;

    /* ============================================
       NEUTRAL COLORS
       ============================================ */

    --white: #FFFFFF;

    /* Grays */
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;

    /* Text Colors */
    --text-dark: #07312d;
    --text-dark-gray: #666666;
    --text-light-gray: #999999;
    --text-light: #CCCCCC;

    /* --text-primary: #07312d;
    --text-secondary: #666666;
    --text-light-gray: #999999;
    --text-light: #CCCCCC; */

    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #f1f7f7;
    --bg-secondary-hover: #d9dfdf;
    --bg-tertiary: #F3F4F6;
    --bg-dark: #1A1A1A;

    /* Border Colors */
    --border-color: #E5E5E5;
    --border-light: #F0F0F0;

    /* ============================================
       TYPOGRAPHY
       To be customized with brand fonts
       ============================================ */

    /* Font Families - Poppins (similar to All Round Gothic) */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */

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

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* ============================================
       SPACING & LAYOUT
       ============================================ */

    /* Spacing Scale */
    --space-1: 0.25rem;      /* 4px */
    --space-2: 0.5rem;       /* 8px */
    --space-3: 0.75rem;      /* 12px */
    --space-4: 1rem;         /* 16px */
    --space-5: 1.25rem;      /* 20px */
    --space-6: 1.5rem;       /* 24px */
    --space-8: 2rem;         /* 32px */
    --space-10: 2.5rem;      /* 40px */
    --space-12: 3rem;        /* 48px */
    --space-16: 4rem;        /* 64px */
    --space-20: 5rem;        /* 80px */
    --space-24: 6rem;        /* 96px */

    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
    --container-2xl: 1400px;

    /* Layout Dimensions */
    --sidebar-width: 250px;
    --header-height: 60px;
    --navbar-height: 70px;

    /* Border Radius */
    --radius-none: 0;
    --radius-sm: 0.25rem;    /* 4px */
    --radius-base: 0.375rem; /* 6px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;

    /* ============================================
       SHADOWS & EFFECTS
       ============================================ */

    /* Box Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-base: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 16px 48px rgba(0, 0, 0, 0.18);

    /* Focus Rings */
    --focus-ring: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
    --focus-ring-danger: 0 0 0 3px rgba(var(--danger-rgb), 0.2);

    /* ============================================
       TRANSITIONS & ANIMATIONS
       ============================================ */

    /* Duration */
    --duration-fast: 150ms;
    --duration-base: 250ms;
    --duration-slow: 350ms;
    --duration-slower: 500ms;

    /* Easing Functions */
    --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);

    /* Combined Transitions */
    --transition-fast: all var(--duration-fast) var(--ease-out);
    --transition-base: all var(--duration-base) var(--ease-in-out);
    --transition-slow: all var(--duration-slow) var(--ease-in-out);

    /* ============================================
       Z-INDEX SCALE
       ============================================ */

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

    /* ============================================
       BREAKPOINTS (for JS usage)
       ============================================ */

    --breakpoint-xs: 0px;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;
}

/* ============================================
   DARK MODE SUPPORT (Placeholder)
   To be implemented based on requirements
   ============================================ */

@media (prefers-color-scheme: dark) {
    :root {
        /* Will be populated when dark mode is implemented */
    }
}
