/* CSS Custom Properties (Variables) - Microsoft Office Dark Mode Design System */
:root {
  /* Microsoft Office Dark Mode Color Palette */
  --color-primary: #0078d4;        /* Office Blue */
  --color-primary-hover: #106ebe;  /* Darker Office Blue */
  --color-primary-dark: #005a9e;   /* Deep Office Blue */
  --color-primary-light: #deecf9;  /* Light Office Blue */
  
  --color-secondary: #6264a7;      /* Office Purple */
  --color-secondary-hover: #464775; /* Darker Office Purple */
  --color-secondary-dark: #33344a; /* Deep Office Purple */
  --color-secondary-light: #e1e1ed; /* Light Office Purple */
  
  --color-success: #107c10;        /* Office Green */
  --color-success-hover: #0e6e0e;  /* Darker Office Green */
  --color-success-light: rgba(16, 124, 16, 0.1);
  --color-success-text: #107c10;
  
  --color-danger: #d13438;         /* Office Red */
  --color-danger-hover: #a4262c;   /* Darker Office Red */
  --color-danger-light: rgba(209, 52, 56, 0.1);
  --color-danger-text: #d13438;
  
  --color-warning: #ff8c00;        /* Office Orange */
  --color-warning-hover: #e67e00;  /* Darker Office Orange */
  --color-warning-light: rgba(255, 140, 0, 0.1);
  
  --color-info: #0078d4;           /* Office Info Blue */
  --color-info-hover: #106ebe;     /* Darker Office Info Blue */
  
  /* Office accent colors */
  --color-accent-teal: #00bcf2;    /* Office Teal */
  --color-accent-purple: #8764b8;  /* Office Purple Accent */
  --color-accent-pink: #e3008c;    /* Office Pink */
  
  /* Microsoft Office Dark Mode Background Colors */
  --bg-primary: #1f1f1f;           /* Office Dark Primary */
  --bg-secondary: #2d2d30;         /* Office Dark Secondary */
  --bg-tertiary: #3e3e42;          /* Office Dark Tertiary */
  --bg-quaternary: #252526;        /* Office Dark Quaternary */
  --bg-surface: #323130;           /* Office Surface */
  --bg-elevated: #292827;          /* Office Elevated Surface */
  
  /* Office card and panel backgrounds */
  --bg-card: #323130;              /* Office Card Background */
  --bg-panel: #292827;             /* Office Panel Background */
  --bg-hover: #3d3c3b;             /* Office Hover Background */
  --bg-selected: #094771;          /* Office Selected Background */
  --bg-disabled: #2d2d30;          /* Office Disabled Background */
  
  /* Microsoft Office Text Colors */
  --text-primary: #ffffff;         /* Primary white text */
  --text-secondary: #e1dfdd;       /* Secondary light gray text */
  --text-tertiary: #c8c6c4;        /* Tertiary gray text */
  --text-quaternary: #a19f9d;      /* Quaternary medium gray text */
  --text-muted: #8a8886;           /* Muted dark gray text */
  --text-link: #0078d4;            /* Office Blue links */
  --text-link-hover: #106ebe;      /* Darker Office Blue on hover */
  --text-accent: #0078d4;          /* Office Blue for highlights */
  
  /* Microsoft Office Border Colors */
  --border-primary: #605e5c;       /* Office primary border */
  --border-secondary: #8a8886;     /* Office secondary border */
  --border-tertiary: #484644;      /* Office tertiary border */
  --border-quaternary: #3b3a39;    /* Office quaternary border */
  --border-light: #605e5c;         /* Office light border */
  --border-focus: #0078d4;         /* Office focus border */
  --border-hover: #8a8886;         /* Office hover border */
  
  /* Typography - Microsoft Office Fonts */
  --font-family-primary: "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", sans-serif;
  --font-family-mono: "Consolas", "Monaco", "Courier New", monospace;
  
  --font-size-xs: 0.8rem;
  --font-size-sm: 0.9rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.1rem;
  --font-size-xl: 1.2rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
  
  /* Spacing */
  --spacing-xs: 0.25rem;   /* 4px */
  --spacing-sm: 0.5rem;    /* 8px */
  --spacing-md: 1rem;      /* 16px */
  --spacing-lg: 1.5rem;    /* 24px */
  --spacing-xl: 2rem;      /* 32px */
  --spacing-2xl: 2.5rem;   /* 40px */
  --spacing-3xl: 3rem;     /* 48px */
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --radius-2xl: 16px;
  --radius-full: 50%;
  
  /* Cyberpunk Neon Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.7);
  --shadow-xl: 0 8px 16px rgba(0, 0, 0, 0.8);
  --shadow-2xl: 0 16px 32px rgba(0, 0, 0, 0.9);
  

  
  /* Sidebar specific */
  --sidebar-width: 240px;
  --sidebar-width-collapsed: 60px;
  --sidebar-bg: var(--bg-glass);
  --sidebar-border: var(--border-primary);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s ease;
  --transition-sidebar: width 0.3s 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;
  
  /* Form elements */
  --input-bg: var(--bg-secondary);
  --input-border: var(--border-light);
  --input-border-focus: var(--color-primary);
  --input-text: var(--text-primary);
  --input-placeholder: var(--text-muted);
  
  /* Button variants */
  --btn-primary-bg: var(--color-primary);
  --btn-primary-hover: var(--color-primary-hover);
  --btn-primary-text: var(--text-primary);
  
  --btn-secondary-bg: var(--color-secondary);
  --btn-secondary-hover: var(--color-secondary-hover);
  --btn-secondary-text: var(--text-primary);
  
  --btn-success-bg: var(--color-success);
  --btn-success-hover: var(--color-success-hover);
  --btn-success-text: var(--text-primary);
  
  --btn-danger-bg: var(--color-danger);
  --btn-danger-hover: var(--color-danger-hover);
  --btn-danger-text: var(--text-primary);
  
  /* Cyberpunk Table styles */
  --table-bg: var(--bg-tertiary);
  --table-header-bg: rgba(0, 255, 255, 0.1);
  --table-border: var(--border-light);
  --table-hover: rgba(0, 255, 255, 0.05);
  
  /* Card styles */
  --card-bg: var(--bg-glass-light);
  --card-border: var(--border-secondary);
  --card-shadow: var(--shadow-md);
  
  /* Backdrop filters */
  --backdrop-blur: blur(10px);
  --backdrop-blur-light: blur(5px);
}

/* Dark theme overrides (if needed in the future) */
@media (prefers-color-scheme: dark) {
  /* Already optimized for dark theme - no overrides needed */
}

/* Light theme overrides (if needed in the future) */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #e9ecef;
  --text-primary: #212529;
  --text-secondary: #495057;
  --text-tertiary: #6c757d;
}
