/**
 * LaravelKit Admin - Default Theme
 * Professional dark-sidebar light-content theme
 */

:root {
    /* ===== Color System ===== */
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --bg-hover: #f1f5f9;
    --bg-active: #e2e8f0;
    --bg-subtle: #f8fafc;

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    --text-muted: #cbd5e1;
    --text-inverse: #ffffff;

    /* Border Colors */
    --border-color: #e2e8f0;
    --border-color-hover: #cbd5e1;
    --border-color-focus: #3b82f6;

    /* Brand Colors */
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #dbeafe;
    --primary-dark: #1e40af;

    --success: #16a34a;
    --success-hover: #15803d;
    --success-light: #dcfce7;

    --danger: #dc2626;
    --danger-hover: #b91c1c;
    --danger-light: #fee2e2;

    --warning: #d97706;
    --warning-hover: #b45309;
    --warning-light: #fef3c7;

    --info: #0284c7;
    --info-hover: #0369a1;
    --info-light: #e0f2fe;

    --purple: #7c3aed;
    --purple-light: #ede9fe;

    --teal: #0d9488;
    --teal-light: #ccfbf1;

    /* ===== Typography ===== */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --font-mono: 'Fira Code', 'Consolas', 'Monaco', monospace;

    /* Font Sizes - Compact System */
    --text-xs: 11px;
    --text-sm: 12px;
    --text-base: 14px;
    --text-lg: 16px;
    --text-xl: 18px;
    --text-2xl: 22px;

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.4;
    --leading-relaxed: 1.5;

    /* ===== Spacing System (4px scale) ===== */
    --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;
    --space-16: 64px;

    /* ===== Border Radius ===== */
    --radius-none: 0;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --radius-full: 9999px;

    /* ===== Shadows ===== */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
    --shadow-none: none;

    /* ===== Sidebar (Dark Theme) ===== */
    --sidebar-width: 240px;
    --sidebar-bg: #1e293b;
    --sidebar-border: #334155;
    --sidebar-text: #94a3b8;
    --sidebar-text-hover: #f1f5f9;
    --sidebar-text-active: #60a5fa;
    --sidebar-item-hover: rgba(255, 255, 255, 0.06);
    --sidebar-item-active: rgba(96, 165, 250, 0.15);
    --sidebar-item-active-text: #60a5fa;
    --sidebar-section-label: #475569;
    --sidebar-logo-bg: #2563eb;
    --sidebar-scrollbar-thumb: #334155;
    --sidebar-scrollbar-thumb-hover: #475569;

    /* ===== Topbar ===== */
    --topbar-height: 56px;
    --topbar-bg: #ffffff;
    --topbar-border: #e2e8f0;
    --topbar-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.04);

    /* ===== Cards ===== */
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
    --card-header-bg: #f8fafc;

    /* ===== Forms ===== */
    --input-bg: #ffffff;
    --input-border: #e2e8f0;
    --input-border-focus: #3b82f6;
    --input-text: #0f172a;
    --input-placeholder: #94a3b8;
    --input-height-sm: 32px;
    --input-height-md: 36px;
    --input-height-lg: 40px;

    /* ===== Buttons ===== */
    --btn-height-sm: 30px;
    --btn-height-md: 36px;
    --btn-height-lg: 40px;

    /* ===== Tables ===== */
    --table-border: #e2e8f0;
    --table-row-hover: #f8fafc;
    --table-row-height: 44px;
    --table-header-bg: #f8fafc;
    --table-header-text: #64748b;

    /* ===== Transitions ===== */
    --transition-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 180ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 260ms cubic-bezier(0.4, 0, 0.2, 1);

    /* ===== Z-Index Scale ===== */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}
