/* /bc_client/assets/css/bc.theme.css */
/* 
 * DESIGN TOKENS - Settings Layer (ITCSS)
 * All themeable values should use these tokens.
 * Themes can override these variables to change the appearance.
 */

:root {
  /* =========================================================
     COLORS - Semantic naming
     ========================================================= */
  
  /* Primary colors */
  --color-primary: #007bff;
  --color-primary-dark: #0056b3;
  --color-primary-light: #66b3ff;
  
  /* Status colors */
  --color-success: #1cc88a;
  --color-success-dark: #17a085;
  --color-success-light: #5dd3a8;
  
  --color-warning: #f6c23e;
  --color-warning-dark: #d39e00;
  --color-warning-light: #f9d371;
  
  --color-danger: #e74a3b;
  --color-danger-dark: #c9302c;
  --color-danger-light: #ee6e62;
  
  --color-info: #17a2b8;
  --color-info-dark: #117a8b;
  --color-info-light: #4db8cc;
  
  /* Neutral colors */
  --color-secondary: #858796;
  --color-secondary-dark: #6c757d;
  --color-secondary-light: #a0a5b3;
  
  --color-muted: #6c757d;
  --color-muted-dark: #5a5c69;
  --color-muted-light: #858796;
  
  /* Text colors */
  --color-text-primary: #5a5c69;
  --color-text-secondary: #858796;
  --color-text-muted: #6c757d;
  --color-text-inverse: #ffffff;
  
  /* Background colors */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f8f9fc;
  --color-bg-muted: #e3e6f0;
  
  /* Border colors */
  --color-border-primary: #e3e6f0;
  --color-border-secondary: #d1d3e2;
  --color-border-muted: #dddfeb;
  
  /* Link colors */
  --color-link: #007bff;
  --color-link-hover: #0056b3;
  
  /* Legacy brand tokens (maintained for backward compatibility) */
  --bc-primary: var(--color-primary);
  --bc-primary-2: var(--color-primary-dark);
  --bc-info: var(--color-info);
  --bc-info-2: var(--color-info-dark);
  --bc-link: var(--color-link);
  
  /* =========================================================
     SPACING SCALE
     ========================================================= */
  --spacing-xs: 0.25rem;    /* 4px */
  --spacing-sm: 0.5rem;     /* 8px */
  --spacing-md: 1rem;       /* 16px */
  --spacing-lg: 1.5rem;     /* 24px */
  --spacing-xl: 3rem;       /* 48px */
  --spacing-xxl: 4.5rem;    /* 72px */
  
  /* =========================================================
     TYPOGRAPHY
     ========================================================= */
  --font-family-base: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  --line-height-base: 1.5;
  --line-height-sm: 1.25;
  --line-height-lg: 1.75;
  
  /* =========================================================
     SHADOWS
     ========================================================= */
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --shadow-xl: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
  
  /* =========================================================
     BORDERS
     ========================================================= */
  --border-width: 1px;
  --border-width-sm: 0.125rem;
  --border-width-md: 0.25rem;
  --border-width-lg: 0.5rem;
  
  --border-radius-sm: 0.2rem;
  --border-radius-md: 0.35rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 1rem;
  --border-radius-circle: 50%;
  --border-radius-pill: 50rem;
  
  /* =========================================================
     TRANSITIONS
     ========================================================= */
  --transition-base: all 0.2s ease-in-out;
  --transition-fast: all 0.15s ease-in-out;
  --transition-slow: all 0.3s ease-in-out;
  
  /* =========================================================
     Z-INDEX SCALE
     ========================================================= */
  --z-index-dropdown: 1000;
  --z-index-sticky: 1020;
  --z-index-fixed: 1030;
  --z-index-modal-backdrop: 1040;
  --z-index-modal: 1050;
  --z-index-popover: 1060;
  --z-index-tooltip: 1070;
}

/* Bridge tokens into SB Admin / Bootstrap vars for compatibility */
:root {
  --primary: var(--color-primary);
  --info: var(--color-info);
  --success: var(--color-success);
  --warning: var(--color-warning);
  --danger: var(--color-danger);
  --secondary: var(--color-secondary);
}
