/* ================================================================
   EK SE SRESHTHA - GLOBAL DESIGN TOKENS
   ----------------------------------------------------------------
   This file contains the design system variables used throughout
   the entire admin dashboard. Colors are derived from the brand
   logo (Blue "EK SE" + Red "SRESHTHA" + Sun accent).
   ================================================================ */

:root {
    /* ------------------------------------------------------------
       BRAND COLORS
       Deep navy blue is the primary interface color.
       Red is used for the brand accent (logo) and destructive actions.
       Amber represents the sun symbol in the logo.
       ------------------------------------------------------------ */
    --brand-blue: #1e3a8a;
    --brand-blue-dark: #172554;
    --brand-blue-light: #3b82f6;
    --brand-red: #c8102e;
    --brand-red-dark: #991b1b;
    --brand-red-light: #fecaca;
    --brand-amber: #f59e0b;

    /* ------------------------------------------------------------
       STATUS / SEMANTIC COLORS
       Used for feedback states across the app.
       ------------------------------------------------------------ */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --info: #3b82f6;
    --info-light: #dbeafe;

    /* ------------------------------------------------------------
       NEUTRAL PALETTE
       Grayscale used for text, borders, and backgrounds.
       ------------------------------------------------------------ */
    --white: #ffffff;
    --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;

    /* ------------------------------------------------------------
       TYPOGRAPHY SCALE
       Font families and size ramp.
       ------------------------------------------------------------ */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */

    /* ------------------------------------------------------------
       SPACING SCALE
       Consistent spacing rhythm across the interface.
       ------------------------------------------------------------ */
    --space-1: 0.25rem;      /* 4px */
    --space-2: 0.5rem;       /* 8px */
    --space-3: 0.75rem;      /* 12px */
    --space-4: 1rem;         /* 16px */
    --space-5: 1.25rem;      /* 20px */
    --space-6: 1.5rem;       /* 24px */
    --space-8: 2rem;         /* 32px */
    --space-10: 2.5rem;      /* 40px */
    --space-12: 3rem;        /* 48px */
    --space-16: 4rem;        /* 64px */

    /* ------------------------------------------------------------
       LAYOUT DIMENSIONS
       Sidebar width, header height, and container max-widths.
       ------------------------------------------------------------ */
    --sidebar-width: 260px;
    --sidebar-collapsed: 72px;
    --header-height: 64px;
    --container-max: 1400px;

    /* ------------------------------------------------------------
       BORDER RADIUS SCALE
       ------------------------------------------------------------ */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* ------------------------------------------------------------
       SHADOW SCALE
       Soft, layered shadows for depth.
       ------------------------------------------------------------ */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);

    /* ------------------------------------------------------------
       TRANSITIONS
       ------------------------------------------------------------ */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    /* ------------------------------------------------------------
       Z-INDEX LAYERS
       ------------------------------------------------------------ */
    --z-sidebar: 100;
    --z-header: 90;
    --z-dropdown: 200;
    --z-modal-backdrop: 900;
    --z-modal: 1000;
    --z-toast: 1100;
}
