/* ============================================
   DESIGN TOKENS - Dream Decor
   Premium Minimal Business Design System
   ============================================ */

:root {
    /* === COLOR PALETTE === */
    
    /* Primary Colors */
    --color-primary: #1a1a1a;
    --color-primary-light: #2d2d2d;
    --color-primary-dark: #0d0d0d;
    
    /* Background Colors */
    --color-bg-primary: #fafafa;
    --color-bg-secondary: #ffffff;
    --color-bg-tertiary: #f5f5f5;
    --color-bg-hover: #f0f0f0;
    --color-bg-active: #e8e8e8;
    
    /* Accent - Dream Decor Crimson */
    --color-accent: #a3101d;
    --color-accent-light: #c11422;
    --color-accent-dark: #7a0c16;
    --color-accent-bg: rgba(163, 16, 29, 0.1);
    
    /* Success - Soft Green */
    --color-success: #2d8a5e;
    --color-success-light: #3da872;
    --color-success-dark: #236b49;
    --color-success-bg: rgba(45, 138, 94, 0.1);
    
    /* Danger - Muted Red */
    --color-danger: #c44536;
    --color-danger-light: #d4564a;
    --color-danger-dark: #a33a2e;
    --color-danger-bg: rgba(196, 69, 54, 0.1);
    
    /* Warning - Amber */
    --color-warning: #d4880f;
    --color-warning-light: #e9a033;
    --color-warning-dark: #b3720c;
    --color-warning-bg: rgba(212, 136, 15, 0.1);
    
    /* Info - Steel Blue */
    --color-info: #4a6fa5;
    --color-info-light: #5d84b8;
    --color-info-dark: #3c5a87;
    --color-info-bg: rgba(74, 111, 165, 0.1);
    
    /* Text Colors */
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #666666;
    --color-text-tertiary: #999999;
    --color-text-disabled: #cccccc;
    --color-text-inverse: #ffffff;
    
    /* Border Colors */
    --color-border: #e5e5e5;
    --color-border-light: #f0f0f0;
    --color-border-dark: #d0d0d0;
    --color-border-focus: var(--color-accent);
    
    /* === TYPOGRAPHY === */
    
    /* Font Family */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-family-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
    
    /* Font Sizes */
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 1.875rem;    /* 30px */
    --font-size-4xl: 2.25rem;     /* 36px */
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Letter Spacing */
    --letter-spacing-tight: -0.025em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;
    
    /* === SPACING === */
    
    --space-0: 0;
    --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 */
    
    /* === BORDERS === */
    
    --border-width-thin: 1px;
    --border-width-medium: 2px;
    --border-width-thick: 3px;
    
    --border-radius-none: 0;
    --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;
    
    /* === SHADOWS === */
    
    --shadow-none: none;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.06), 0 10px 10px rgba(0, 0, 0, 0.03);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.12);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.04);
    
    /* Focus Shadow */
    --shadow-focus: 0 0 0 3px rgba(163, 16, 29, 0.3);
    --shadow-focus-danger: 0 0 0 3px rgba(196, 69, 54, 0.3);
    
    /* === TRANSITIONS === */
    
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    --transition-slower: 400ms ease;
    
    /* === Z-INDEX === */
    
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-toast: 800;
    
    /* === LAYOUT === */
    
    --content-max-width: 1200px;
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 72px;
    --bottom-nav-height: 64px;
    --header-height: 64px;
    
    /* === BREAKPOINTS (for reference in JS) === */
    /* Mobile: < 768px */
    /* Tablet: 768px - 1024px */
    /* Desktop: > 1024px */
}

/* Dark Mode Support (future) */
@media (prefers-color-scheme: dark) {
    :root.auto-dark {
        --color-bg-primary: #0d0d0d;
        --color-bg-secondary: #1a1a1a;
        --color-bg-tertiary: #2d2d2d;
        --color-text-primary: #ffffff;
        --color-text-secondary: #a0a0a0;
        --color-border: #333333;
    }
}
