/**
 * SG Advanced Table - CSS Variables
 *
 * Central design tokens for the entire plugin.
 * Override these variables in your theme to customize appearance.
 *
 * @package    SG_Advanced_Table
 * @author     Salman Gholami
 * @since      2.0.0
 */

:root {
  /* ========== Primary Colors ========== */
  --sg-primary: #693897;
  --sg-primary-hover: #7b44b3;
  --sg-primary-light: #f3edf9;
  --sg-primary-light-hover: #e8dbf5;
  --sg-primary-dark: #4a266b;
  --sg-primary-text: #ffffff;

  /* ========== Accent Colors ========== */
  --sg-accent: #269f6f;
  --sg-accent-hover: #2dbd84;
  --sg-accent-light: #e8f6f1;
  --sg-accent-light-hover: #d0efe4;
  --sg-accent-dark: #1b7552;
  --sg-accent-text: #ffffff;

  /* ========== Neutral Colors ========== */
  --sg-white: #ffffff;
  --sg-gray-50: #f9fafb;
  --sg-gray-100: #f3f4f6;
  --sg-gray-200: #e5e7eb;
  --sg-gray-300: #d1d5db;
  --sg-gray-400: #9ca3af;
  --sg-gray-500: #6b7280;
  --sg-gray-600: #4b5563;
  --sg-gray-700: #374151;
  --sg-gray-800: #1f2937;
  --sg-gray-900: #111827;
  --sg-black: #000000;

  /* ========== Semantic Colors ========== */
  --sg-error: #dc2626;
  --sg-error-hover: #b91c1c;
  --sg-error-light: #fef2f2;
  --sg-error-border: #fecaca;
  --sg-success: #16a34a;
  --sg-success-hover: #15803d;
  --sg-success-light: #f0fdf4;
  --sg-success-border: #bbf7d0;
  --sg-warning: #f59e0b;
  --sg-warning-hover: #d97706;
  --sg-warning-light: #fffbeb;
  --sg-warning-border: #fde68a;
  --sg-info: #2563eb;
  --sg-info-hover: #1d4ed8;
  --sg-info-light: #eff6ff;
  --sg-info-border: #bfdbfe;

  /* ========== Typography ========== */
  --sg-font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
    Cantarell, "Helvetica Neue", sans-serif;
  --sg-font-family-mono:
    SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  --sg-font-size-xs: 0.75rem;
  --sg-font-size-sm: 0.8125rem;
  --sg-font-size-base: 0.875rem;
  --sg-font-size-md: 1rem;
  --sg-font-size-lg: 1.125rem;
  --sg-font-size-xl: 1.25rem;
  --sg-font-size-2xl: 1.5rem;
  --sg-font-weight-normal: 400;
  --sg-font-weight-medium: 500;
  --sg-font-weight-semibold: 600;
  --sg-font-weight-bold: 700;
  --sg-line-height-tight: 1.25;
  --sg-line-height-normal: 1.5;
  --sg-line-height-relaxed: 1.75;

  /* ========== Spacing ========== */
  --sg-spacing-0: 0;
  --sg-spacing-1: 0.25rem;
  --sg-spacing-2: 0.5rem;
  --sg-spacing-3: 0.75rem;
  --sg-spacing-4: 1rem;
  --sg-spacing-5: 1.25rem;
  --sg-spacing-6: 1.5rem;
  --sg-spacing-8: 2rem;
  --sg-spacing-10: 2.5rem;
  --sg-spacing-12: 3rem;
  --sg-spacing-16: 4rem;

  /* ========== Border Radius ========== */
  --sg-radius-none: 0;
  --sg-radius-sm: 0.25rem;
  --sg-radius-md: 0.375rem;
  --sg-radius-lg: 0.5rem;
  --sg-radius-xl: 0.75rem;
  --sg-radius-full: 9999px;

  /* ========== Border Width ========== */
  --sg-border-width: 1px;
  --sg-border-width-thick: 2px;

  /* ========== Shadows ========== */
  --sg-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --sg-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --sg-shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --sg-shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --sg-shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* ========== Transitions ========== */
  --sg-transition-fast: 150ms ease;
  --sg-transition-base: 200ms ease;
  --sg-transition-slow: 300ms ease;
  --sg-transition-very-slow: 500ms ease;

  /* ========== Z-Index Scale ========== */
  --sg-z-dropdown: 1000;
  --sg-z-sticky: 1020;
  --sg-z-modal-backdrop: 1040;
  --sg-z-modal: 1050;
  --sg-z-tooltip: 1060;

  /* ========== Layout ========== */
  --sg-sidebar-width: 280px;
  --sg-preview-min-height: 400px;
  --sg-modal-max-width: 640px;
  --sg-icon-picker-max-width: 720px;
}
