/**
 * Canonical design tokens — single source of truth for both the
 * yönetim (main.css) and müşteri (musteri-main.css) bundles.
 * Replaces: base/variables.css, variables.css, musteri/variables.css
 */

:root {
    /* Colors - Bootstrap-era set, kept for legacy references */
    --color-primary: #0066cc;
    --color-secondary: #6c757d;
    --color-success: #28a745;
    --color-danger: #dc3545;
    --color-warning: #ffc107;
    --color-info: #17a2b8;

    --color-text-primary: #212529;
    --color-text-secondary: #6b7280;
    --color-text-muted: #adb5bd;
    --color-text-body: #333333;

    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f9fafb;
    --color-bg-tertiary: #e9ecef;

    --color-border: #dee2e6;
    --color-border-light: #e9ecef;

    /* Reference tokens (Figma-style) */
    --color-bg: #ffffff;
    --color-text: #111827;
    --color-bg-brand: #2563eb;

    /* Colors - frequently repeated literals promoted to tokens */
    --color-gray-900: #1a1a1a;
    --color-gray-700: #374151;
    --color-gray-600: #6b7280;
    --color-gray-500: #666666;
    --color-gray-300: #d1d5db;
    --color-gray-200: #e5e7eb;
    --color-gray-50: #f9fafb;
    --color-blue-600: #2563eb;
    --color-indigo-600: #4318ff;
    --color-purple-600: #9333ea;
    --color-orange-600: #ea580c;
    --color-green-600: #16a34a;
    --color-red-600: #dc2626;

    /* Spacing - 8px system */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    /* Typography */
    --font-family-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-family-mono: 'Courier New', Courier, monospace;

    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 30px;
    --font-size-4xl: 36px;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    --radius-pill: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-focus-ring: 0 0 0 2px rgba(37, 99, 235, 0.2);

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;

    /* Layout (same rail width as müşteri portal; main + musteri-main stay aligned) */
    --sidebar-width: 280px;
    --sidebar-padding: var(--spacing-md);
    --sidebar-item-height: 48px;
    --sidebar-logo-height: 80px;
    --navbar-height: 64px;

    /* Colors - Sidebar */
    --sidebar-bg: #0000cf;
    --sidebar-bg-fallback: #0000cf;
    --sidebar-text: #FFFFFF;
    --sidebar-active-bg: rgba(255, 255, 255, 0.1);
    --sidebar-active-text: #FFFFFF;
    --sidebar-hover-bg: rgba(255, 255, 255, 0.1);

    /* Sidebar "Yeni Msj" badge (legacy old-musteri tokens) */
    --badge-red: #FF0000;
    --badge-text: #FFFFFF;
}
