/*
 * Brand colors and design tokens. Central source of truth for the design system.
 */

:root {
    /* Brand Primary Shades */
    --brand-primary: #5B2A86;
    --brand-primary-bright: #7C3AED;
    --brand-primary-deep: #471F69;
    --brand-primary-tint: #F3E8FF;

    /* Accent & Status Colors */
    --brand-accent: #F59E0B;
    --brand-accent-bright: #FBBF24;
    --brand-success: #10B981;
    --brand-warning: #F59E0B;
    --brand-danger: #EF4444;
    --brand-purple: #8B5CF6;
    --brand-info: #0EA5E9;

    /* Neutrals & Surfaces (Light Mode) */
    --brand-dark: #0F172A;
    --brand-ink: #1E293B;
    --brand-muted: #64748B;
    --brand-subtle: #94A3B8;
    --brand-page: #F8FAFC;
    --brand-surface: #FFFFFF;
    --brand-line: #E2E8F0;
    --brand-focus: rgba(91, 42, 134, .25);

    /* Aliases for Global Use */
    --primary: var(--brand-primary);
    --primary-bright: var(--brand-primary-bright);
    --primary-deep: var(--brand-primary-deep);
    --primary-tint: var(--brand-primary-tint);
    --success: var(--brand-success);
    --warning: var(--brand-warning);
    --danger: var(--brand-danger);
    --purple: var(--brand-purple);
    --dark: var(--brand-dark);
    --ink: var(--brand-ink);
    --muted: var(--brand-muted);
    --line: var(--brand-line);
    --canvas: var(--brand-page);

    /* Table Action Buttons */
    --action-view: #0EA5E9;
    --action-edit: #6366F1;
    --action-delete: var(--brand-danger);

    /* Shadows & Elevations */
    --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.06);

    /* Typography Defaults */
    --font-family-base: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
    --font-size-base: 12px;
    --line-height-base: 1.6;

    /* Form Inputs Tokens (Light Mode Defaults) */
    --input-bg: #FFFFFF;
    --input-bg-focus: #FFFFFF;
    --input-border: #E2E8F0;
    --input-border-hover: #CBD5E1;
    --input-border-focus: var(--brand-primary);
    --input-text: #0F172A;
    --input-placeholder: #94A3B8;
    --input-height: 44px;
    --input-radius: 10px;
    --input-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
    --input-shadow-focus: 0 0 0 3.5px rgba(91, 42, 134, 0.18);
}
