/**
 * Developercode — design-system tokens.
 *
 * Deze variabelen stonden eerder als inline <style> in elke widget, via
 * DC_Design_System::get_css_variables(). Ze horen bij het document, niet bij
 * een losse widget, dus staan ze hier eenmalig op :root.
 *
 * Bron blijft inc/elementor/dc-design-system.php; pas beide aan of laat de
 * PHP-kant vervallen zodra geen enkele widget hem meer aanroept.
 */

:root {
    /* ==========================================
       DEVELOPERCODE DESIGN SYSTEM
       AI + n8n Flow Visual Language
    ========================================== */

    /* === COLORS === */
    --dc-primary: #147BE1;
    --dc-primary-rgb: 20, 123, 225;
    --dc-primary-light: #4a9ff5;
    --dc-primary-dark: #0f5cb8;

    --dc-secondary: #10B981;
    --dc-secondary-rgb: 16, 185, 129;

    /* Tweede accent uit de inktschaal — de huisstijl kent naast blauw
       geen eigen kleur. */
    --dc-accent: #2b3646;
    --dc-accent-rgb: 43, 54, 70;

    --dc-warning: #f59e0b;
    --dc-warning-rgb: 245, 158, 11;

    --dc-error: #ef4444;
    --dc-error-rgb: 239, 68, 68;

    /* === DARK CANVAS (n8n style) === */
    --dc-canvas-dark: #0f172a;
    --dc-canvas-medium: #1e293b;
    --dc-canvas-light: #334155;
    --dc-canvas-border: rgba(255, 255, 255, 0.08);
    --dc-canvas-text: rgba(255, 255, 255, 0.9);
    --dc-canvas-text-muted: rgba(255, 255, 255, 0.5);

    /* === LIGHT MODE === */
    --dc-bg: #FAFBFC;
    --dc-bg-alt: #f1f5f9;
    --dc-surface: #ffffff;
    --dc-border: #e2e8f0;
    --dc-border-light: #f1f5f9;

    /* === TEXT === */
    --dc-title: #0f172a;
    --dc-text: #64748b;
    --dc-text-light: #94a3b8;

    /* === SPACING === */
    --dc-space-xs: 4px;
    --dc-space-sm: 8px;
    --dc-space-md: 16px;
    --dc-space-lg: 24px;
    --dc-space-xl: 32px;
    --dc-space-2xl: 48px;
    --dc-space-3xl: 64px;
    --dc-space-4xl: 96px;

    /* === TYPOGRAPHY === */
    --dc-font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --dc-font-mono: "JetBrains Mono", "Fira Code", "SF Mono", monospace;

    --dc-text-xs: 11px;
    --dc-text-sm: 13px;
    --dc-text-base: 15px;
    --dc-text-lg: 17px;
    --dc-text-xl: 20px;
    --dc-text-2xl: 24px;
    --dc-text-3xl: 32px;
    --dc-text-4xl: 40px;
    --dc-text-5xl: 48px;

    --dc-leading-tight: 1.2;
    --dc-leading-normal: 1.5;
    --dc-leading-relaxed: 1.7;

    /* === BORDER RADIUS === */
    --dc-radius-sm: 4px;
    --dc-radius-md: 8px;
    --dc-radius-lg: 12px;
    --dc-radius-xl: 16px;
    --dc-radius-2xl: 24px;
    --dc-radius-full: 9999px;

    /* === SHADOWS === */
    --dc-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --dc-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
    --dc-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
    --dc-shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.06);
    --dc-shadow-glow: 0 0 20px rgba(var(--dc-primary-rgb), 0.3);
    --dc-shadow-glow-lg: 0 0 40px rgba(var(--dc-primary-rgb), 0.4);

    /* === ANIMATIONS === */
    --dc-duration-fast: 0.15s;
    --dc-duration-normal: 0.3s;
    --dc-duration-slow: 0.5s;
    --dc-duration-flow: 3s;
    --dc-ease-default: cubic-bezier(0.4, 0, 0.2, 1);
    --dc-ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* === Z-INDEX === */
    --dc-z-base: 1;
    --dc-z-elevated: 10;
    --dc-z-overlay: 100;
    --dc-z-modal: 1000;
}
