/* =============================================
   KineApp — Design Tokens (Variables CSS)
   ============================================= */

:root {
    /* ── Primary Colors ── */
    --primary: #1a56db;
    --primary-hover: #1e40af;
    --primary-light: rgba(26, 86, 219, 0.15);
    --primary-glow: rgba(26, 86, 219, 0.4);

    /* ── Accent ── */
    --accent: #06b6d4;
    --accent-hover: #0891b2;
    --accent-light: rgba(6, 182, 212, 0.15);

    /* ── Calendar Status Colors ── */
    --available: #059669;
    --available-hover: #047857;
    --available-light: rgba(5, 150, 105, 0.15);
    --available-bg: rgba(5, 150, 105, 0.2);

    --scheduled: #3b82f6;
    --scheduled-hover: #2563eb;
    --scheduled-light: rgba(59, 130, 246, 0.15);
    --scheduled-bg: rgba(59, 130, 246, 0.2);

    --unavailable: #dc2626;
    --unavailable-hover: #b91c1c;
    --unavailable-light: rgba(220, 38, 38, 0.15);
    --unavailable-bg: rgba(220, 38, 38, 0.2);

    /* ── Semantic Colors ── */
    --success: #059669;
    --success-light: rgba(5, 150, 105, 0.15);
    --warning: #f59e0b;
    --warning-light: rgba(245, 158, 11, 0.15);
    --danger: #dc2626;
    --danger-light: rgba(220, 38, 38, 0.15);
    --info: #3b82f6;
    --info-light: rgba(59, 130, 246, 0.15);

    /* ── Background & Surface ── */
    --bg-dark: #0f172a;
    --bg-darker: #0a0f1f;
    --surface: #1e293b;
    --surface-hover: #273548;
    --surface-active: #334155;
    --surface-border: rgba(148, 163, 184, 0.12);
    --surface-glass: rgba(30, 41, 59, 0.7);

    /* ── Text ── */
    --text: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: #0f172a;

    /* ── Typography ── */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

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

    --fw-light: 300;
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    --lh-tight: 1.25;
    --lh-normal: 1.5;
    --lh-relaxed: 1.75;

    /* ── Spacing ── */
    --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 */

    /* ── Border Radius ── */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* ── Shadows ── */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--primary-glow);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);

    /* ── Transitions ── */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* ── Z-Index ── */
    --z-sidebar: 100;
    --z-header: 200;
    --z-dropdown: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-toast: 600;
    --z-tooltip: 700;

    /* ── Layout ── */
    --sidebar-width: 260px;
    --sidebar-collapsed: 64px;
    --header-height: 64px;
    --content-max-width: 1200px;
}
