/**
 * Divyansh Educational Foundation - Design Tokens
 * Single source of truth for all CSS custom properties
 * Extracted from style.css :root + admin design tokens
 */

:root {
    /* ============================================
       BRAND COLORS (Figma Design Tokens)
       ============================================ */
    --background: #FAF8F5;
    --foreground: #2D1B12;
    --card: #FFFFFF;
    --card-foreground: #2D1B12;
    --primary: #B85C38;
    --primary-foreground: #FFFFFF;
    --secondary: #E4A853;
    --secondary-foreground: #2D1B12;
    --muted: #F5F0EB;
    --muted-foreground: #6B4423;
    --muted-foreground-opacity-5: rgba(107, 68, 35, 0.05);
    --border: rgba(184, 92, 56, 0.15);
    --destructive: #d4183d;
    --ring: #B85C38;

    /* ============================================
       TYPOGRAPHY
       ============================================ */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* ============================================
       BORDER RADIUS
       ============================================ */
    --radius: 0.75rem;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    /* ============================================
       SHADOWS
       ============================================ */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);

    /* ============================================
       LAYOUT
       ============================================ */
    --container-max-width: 1280px;
    --container-padding: 1rem;

    /* ============================================
       ADMIN DESIGN TOKENS
       ============================================ */
    /* Layout */
    --admin-sidebar-width: 260px;
    --admin-header-height: 64px;

    /* Colors */
    --admin-bg: #FAF8F5;
    --admin-surface: #FFFFFF;
    --admin-surface-hover: #F5F0EB;
    --admin-border: rgba(184, 92, 56, 0.15);
    --admin-border-light: rgba(184, 92, 56, 0.08);

    /* Text hierarchy */
    --admin-text-primary: #2D1B12;
    --admin-text-secondary: #6B4423;
    --admin-text-muted: #9C7E68;
    --admin-text-disabled: #D4C5B9;

    /* Semantic colors */
    --admin-accent: #B85C38;
    --admin-accent-hover: #9A4D2F;
    --admin-secondary: #E4A853;

    --admin-success: #059669;
    --admin-success-bg: #ECFDF5;
    --admin-warning: #D97706;
    --admin-warning-bg: #FFFBEB;
    --admin-error: #DC2626;
    --admin-error-bg: #FEF2F2;
    --admin-info: #B85C38;
    --admin-info-bg: #FFF7ED;

    /* Spacing scale (4px base) */
    --space-0: 0;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;

    /* Admin Typography */
    --admin-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --admin-font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;

    /* Admin Shadows */
    --shadow-md: 0 4px 6px -1px rgba(45, 27, 18, 0.06);

    /* Admin header gray palette (used in admin-header.php inline styles) */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-200: #fecaca;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --sidebar-width: 18rem;
}