/**
 * FırınYönetim.com — Merkezi Tema Değişkenleri
 * Tüm projede kullanılacak CSS custom properties.
 */
:root {
  /* Ana Renkler — Ekmek / Fırın Teması */
  --primary: #e6541b;
  --primary-dark: #c44717;
  --primary-light: #FEF0E8;
  --secondary: #E8923A;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;

  /* Arka Plan Renkleri */
  --bg-body: #FEF7F4;
  --bg-card: #ffffff;
  --bg-sidebar: #4A1E0A;
  --bg-navbar: #ffffff;

  /* Metin Renkleri */
  --text-primary: #2c3e50;
  --text-secondary: #6c757d;
  --text-light: #ffffff;
  --text-muted: #8898aa;

  /* Kenarlık */
  --border-color: #dee2e6;
  --border-light: #e9ecef;

  /* Font */
  --font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --font-size-base: 14px;
  --font-size-sm: 12px;
  --font-size-lg: 16px;
  --font-size-xl: 20px;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing (8px grid) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 50px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 24px rgba(74, 30, 10, 0.12);

  /* Geçiş (Transition) */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;

  /* Sidebar genişliği */
  --sidebar-width: 260px;
  --sidebar-collapsed-width: 64px;

  /* Navbar yüksekliği */
  --navbar-height: 56px;
}

/* ===== KARANLIK MOD ===== */
body.dark-mode {
  --bg-body: #1a1a2e;
  --bg-card: #16213e;
  --bg-sidebar: #0f0f1a;
  --bg-navbar: #16213e;

  --text-primary: #e0e0e0;
  --text-secondary: #a0aab4;
  --text-muted: #7a8594;

  --border-color: #2a2f3a;
  --border-light: #232830;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.5);
}
