/**
 * cakal.cloud CSS Variables
 * Minimal and consistent design system - Standardized for all pages
 */

:root {
  /* Brand Colors - Simplified */
  --brand-primary: #2563eb;
  --brand-primary-dark: #1d4ed8;
  --brand-primary-light: #3b82f6;
  --brand-secondary: #64748b;
  --brand-success: #059669;
  --brand-warning: #d97706;
  --brand-danger: #dc2626;
  --brand-info: #0891b2;
  
  /* Color Aliases for Components */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-success: var(--brand-success);
  --color-warning: var(--brand-warning);
  --color-danger: var(--brand-danger);
  --color-info: var(--brand-info);
  
  /* RGB Values for Transparency */
  --brand-primary-rgb: 37, 99, 235;
  --brand-success-rgb: 5, 150, 105;
  --brand-warning-rgb: 217, 119, 6;
  --brand-danger-rgb: 220, 38, 38;
  --text-muted-rgb: 113, 128, 150;
  
  /* Neutral Colors - Minimal */
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Text Colors - Soft and Eye-Friendly */
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --text-light: #a0aec0;
  --text-white: #ffffff;
  
  /* Background Colors - Soft and Eye-Friendly */
  --bg-primary: #ffffff;
  --bg-secondary: #fafbfc;
  --bg-tertiary: #f5f7fa;
  --bg-card: #fefefe;
  --bg-card-header: #fafbfc;
  --bg-card-footer: #fafbfc;
  --bg-topbar: #ffffff;
  --bg-sidebar: #ffffff;
  --bg-dark: #1e293b;
  --bg-darker: #0f172a;

  /* Border Colors - Ultra Soft and Subtle */
  --border-color: #f0f2f5;
  --border-color-light: #f5f7fa;
  --border-color-dark: #e8ecf1;

  /* Spacing - Consistent Scale */
  --spacing-xs: 0.25rem;    /* 4px */
  --spacing-sm: 0.5rem;     /* 8px */
  --spacing-md: 1rem;       /* 16px */
  --spacing-lg: 1.5rem;     /* 24px */
  --spacing-xl: 2rem;       /* 32px */
  --spacing-xxl: 3rem;      /* 48px */

  /* Border Radius - Minimal */
  --border-radius-sm: 0.25rem;   /* 4px */
  --border-radius-md: 0.375rem;  /* 6px */
  --border-radius-lg: 0.5rem;    /* 8px */
  --border-radius-xl: 0.75rem;   /* 12px */
  --border-radius-2xl: 1rem;     /* 16px */

  /* Shadows - Subtle */
  --shadow-none: none;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-color-light: rgba(0, 0, 0, 0.1);

  /* Typography - Clean and Smaller */
  --font-family-sans: -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 Sizes - Smaller and Consistent */
  --font-size-xs: 0.6875rem;     /* 11px */
  --font-size-sm: 0.75rem;       /* 12px */
  --font-size-base: 0.8125rem;   /* 13px */
  --font-size-md: 0.8125rem;     /* 13px */
  --font-size-lg: 0.875rem;      /* 14px */
  --font-size-xl: 0.9375rem;     /* 15px */
  --font-size-2xl: 1.125rem;     /* 18px */
  --font-size-3xl: 1.375rem;     /* 22px */
  --font-size-4xl: 1.625rem;     /* 26px */
  
  /* Font Weights - Minimal */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Line Heights - Readable */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Transitions - Smooth */
  --transition-none: none;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s ease;

  /* Z-Index - Organized */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;

  /* Layout - Consistent */
  --topbar-height: 56px;
  --sidebar-width: 240px;
  --sidebar-width-collapsed: 56px;
  --content-max-width: 1200px;
  --container-padding: var(--spacing-md);

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