/* =====================================================================
   UFUK LOJİSTİK - KURUMSAL TASARIM SİSTEMİ & ARAYÜZ STİLLERİ
   ===================================================================== */

:root,
[data-theme="dark-navy"] {
    --theme-name: "dark-navy";
    --bg-main: #0b1120;
    --bg-secondary: #0f172a;
    --bg-card: #1e293b;
    --bg-card-hover: #27354f;
    --bg-header: rgba(15, 23, 42, 0.95);
    --bg-sidebar: #0f172a;
    --bg-sidebar-footer: #0b1120;
    --bg-panel-header: rgba(15, 23, 42, 0.65);
    --border-color: rgba(148, 163, 184, 0.16);
    --border-color-hover: rgba(59, 130, 246, 0.5);

    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-glow: rgba(37, 99, 235, 0.25);
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.25);

    /* Yüksek Kontrastlı Taban Metinleri (Koyu zemin üzerine bembeyaz ve net) */
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;

    /* Menüye (Sidebar) Özel Zıt Metin Değişkenleri */
    --sidebar-text: #ffffff;
    --sidebar-secondary: #cbd5e1;
    --sidebar-muted: #94a3b8;
    --sidebar-hover-bg: rgba(255, 255, 255, 0.08);
    --sidebar-active-bg: linear-gradient(90deg, rgba(37, 99, 235, 0.35) 0%, rgba(37, 99, 235, 0.15) 100%);
    --sidebar-active-text: #ffffff;
    --sidebar-border: rgba(148, 163, 184, 0.16);

    /* Başlığa (Header) Özel Zıt Metin Değişkenleri */
    --header-text: #ffffff;
    --header-muted: #94a3b8;

    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.18);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.18);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.18);
    --info: #0ea5e9;
    --info-bg: rgba(14, 165, 233, 0.18);

    --sidebar-width: 270px;
    --header-height: 72px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.22);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    --input-bg: #0f172a;
    --table-header-bg: #162235;
    --table-hover: rgba(255, 255, 255, 0.045);
    --placeholder-bg: rgba(15, 23, 42, 0.4);
    --pill-bg: #1e293b;
    --subtab-bg: #0f172a;
    --bg-gradient: radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.12) 0px, transparent 50%),
                   radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.08) 0px, transparent 50%);

    --cell-title: #ffffff;
    --logo-text: #93c5fd;
    --logo-badge-bg: rgba(59, 130, 246, 0.22);
    --logo-badge-text: #60a5fa;
    --hizli-badge-bg: rgba(245, 158, 11, 0.22);
    --hizli-badge-text: #f59e0b;
    --logo-net-color: #60a5fa;
    --code-color: #06b6d4;
    --modal-header-bg: #0f172a;
    --modal-card-bg: #1e293b;
    --table-subrow-bg: rgba(168, 85, 247, 0.12);
}

/* 2. OLED YÜKSEK KONTRAST (SAF SİYAH & NEON SARI) */
[data-theme="high-contrast"] {
    --theme-name: "high-contrast";
    --bg-main: #000000;
    --bg-secondary: #0a0c10;
    --bg-card: #11141b;
    --bg-card-hover: #1c212c;
    --bg-header: #050608;
    --bg-sidebar: #050608;
    --bg-sidebar-footer: #000000;
    --bg-panel-header: #141822;
    --border-color: #384252;
    --border-color-hover: #facc15;

    --primary: #facc15;
    --primary-light: #fde047;
    --primary-glow: rgba(250, 204, 21, 0.35);
    --accent: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.35);

    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;

    --success: #34d399;
    --success-bg: rgba(52, 211, 153, 0.25);
    --warning: #facc15;
    --warning-bg: rgba(250, 204, 21, 0.25);
    --danger: #f87171;
    --danger-bg: rgba(248, 113, 113, 0.25);
    --info: #38bdf8;
    --info-bg: rgba(56, 189, 248, 0.25);

    --shadow-soft: 0 0 0 1px #384252, 0 10px 30px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 20px rgba(250, 204, 21, 0.3);

    --input-bg: #080a0f;
    --table-header-bg: #141822;
    --table-hover: rgba(255, 255, 255, 0.08);
    --placeholder-bg: #0d1117;
    --pill-bg: #11141b;
    --subtab-bg: #080a0f;
    --bg-gradient: none;

    --cell-title: #ffffff;
    --logo-text: #fde047;
    --logo-badge-bg: #1e3a8a;
    --logo-badge-text: #bfdbfe;
    --hizli-badge-bg: #78350f;
    --hizli-badge-text: #fde68a;
    --logo-net-color: #93c5fd;
    --code-color: #67e8f9;
    --modal-header-bg: #050608;
    --modal-card-bg: #11141b;
    --table-subrow-bg: rgba(250, 204, 21, 0.15);
}

/* 3. ZÜMRÜT FİNANS (TERMINAL & FINTECH YEŞİLİ) */
[data-theme="emerald-finance"] {
    --theme-name: "emerald-finance";
    --bg-main: #021a12;
    --bg-secondary: #05261b;
    --bg-card: #0a3828;
    --bg-card-hover: #0f4a36;
    --bg-header: rgba(5, 38, 27, 0.94);
    --bg-sidebar: rgba(4, 28, 20, 0.98);
    --bg-sidebar-footer: rgba(2, 18, 13, 0.75);
    --bg-panel-header: rgba(10, 56, 40, 0.7);
    --border-color: rgba(52, 211, 153, 0.22);
    --border-color-hover: rgba(52, 211, 153, 0.6);

    --primary: #10b981;
    --primary-light: #34d399;
    --primary-glow: rgba(16, 185, 129, 0.35);
    --accent: #2dd4bf;
    --accent-glow: rgba(45, 212, 191, 0.3);

    --text-primary: #f0fdf4;
    --text-secondary: #bbf7d0;
    --text-muted: #86efac;

    --success: #34d399;
    --success-bg: rgba(52, 211, 153, 0.22);
    --warning: #fbbf24;
    --warning-bg: rgba(251, 191, 36, 0.22);
    --danger: #f87171;
    --danger-bg: rgba(248, 113, 113, 0.22);
    --info: #38bdf8;
    --info-bg: rgba(56, 189, 248, 0.22);

    --shadow-soft: 0 10px 25px -5px rgba(2, 26, 18, 0.7);
    --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.3);

    --input-bg: #05261b;
    --table-header-bg: #082d20;
    --table-hover: rgba(52, 211, 153, 0.07);
    --placeholder-bg: rgba(10, 56, 40, 0.35);
    --pill-bg: #0a3828;
    --subtab-bg: #05261b;
    --bg-gradient: radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.14) 0px, transparent 50%),
                   radial-gradient(at 100% 100%, rgba(45, 212, 191, 0.08) 0px, transparent 50%);

    --cell-title: #ffffff;
    --logo-text: #6ee7b7;
    --logo-badge-bg: rgba(16, 185, 129, 0.28);
    --logo-badge-text: #34d399;
    --hizli-badge-bg: rgba(245, 158, 11, 0.28);
    --hizli-badge-text: #fbbf24;
    --logo-net-color: #34d399;
    --code-color: #2dd4bf;
    --modal-header-bg: #05261b;
    --modal-card-bg: #0a3828;
    --table-subrow-bg: rgba(16, 185, 129, 0.15);
}

/* 4. SICAK KÖMÜR & FÜME (GÖZ DİNLENDİREN ANTRASİT) */
[data-theme="charcoal-warm"] {
    --theme-name: "charcoal-warm";
    --bg-main: #121214;
    --bg-secondary: #1a1a1d;
    --bg-card: #242429;
    --bg-card-hover: #2f2f36;
    --bg-header: rgba(26, 26, 29, 0.94);
    --bg-sidebar: rgba(20, 20, 23, 0.98);
    --bg-sidebar-footer: rgba(14, 14, 16, 0.75);
    --bg-panel-header: rgba(36, 36, 41, 0.65);
    --border-color: rgba(255, 255, 255, 0.12);
    --border-color-hover: rgba(245, 158, 11, 0.5);

    --primary: #f59e0b;
    --primary-light: #fbbf24;
    --primary-glow: rgba(245, 158, 11, 0.28);
    --accent: #fb923c;
    --accent-glow: rgba(251, 146, 60, 0.28);

    --text-primary: #fafaf9;
    --text-secondary: #d6d3d1;
    --text-muted: #a8a29e;

    --success: #22c55e;
    --success-bg: rgba(34, 197, 94, 0.18);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.18);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.18);
    --info: #38bdf8;
    --info-bg: rgba(56, 189, 248, 0.18);

    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.55);
    --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.25);

    --input-bg: #1a1a1d;
    --table-header-bg: #1d1d21;
    --table-hover: rgba(255, 255, 255, 0.045);
    --placeholder-bg: rgba(36, 36, 41, 0.4);
    --pill-bg: #242429;
    --subtab-bg: #1a1a1d;
    --bg-gradient: radial-gradient(at 0% 0%, rgba(245, 158, 11, 0.08) 0px, transparent 50%),
                   radial-gradient(at 100% 100%, rgba(251, 146, 60, 0.05) 0px, transparent 50%);

    --cell-title: #ffffff;
    --logo-text: #fde68a;
    --logo-badge-bg: rgba(59, 130, 246, 0.22);
    --logo-badge-text: #60a5fa;
    --hizli-badge-bg: rgba(245, 158, 11, 0.22);
    --hizli-badge-text: #fbbf24;
    --logo-net-color: #60a5fa;
    --code-color: #38bdf8;
    --modal-header-bg: #1a1a1d;
    --modal-card-bg: #242429;
    --table-subrow-bg: rgba(245, 158, 11, 0.12);
}

/* 5. SİBERPUNK NEON (MOR & FUŞYA KOYU) */
[data-theme="cyber-synth"] {
    --theme-name: "cyber-synth";
    --bg-main: #0c071e;
    --bg-secondary: #150d30;
    --bg-card: #1f1445;
    --bg-card-hover: #2b1b5e;
    --bg-header: rgba(21, 13, 48, 0.94);
    --bg-sidebar: rgba(15, 9, 36, 0.98);
    --bg-sidebar-footer: rgba(10, 6, 24, 0.75);
    --bg-panel-header: rgba(31, 20, 69, 0.65);
    --border-color: rgba(192, 132, 252, 0.22);
    --border-color-hover: rgba(217, 70, 239, 0.6);

    --primary: #c084fc;
    --primary-light: #e879f9;
    --primary-glow: rgba(192, 132, 252, 0.35);
    --accent: #22d3ee;
    --accent-glow: rgba(34, 211, 238, 0.35);

    --text-primary: #fdf4ff;
    --text-secondary: #f0abfc;
    --text-muted: #c084fc;

    --success: #34d399;
    --success-bg: rgba(52, 211, 153, 0.22);
    --warning: #facc15;
    --warning-bg: rgba(250, 204, 21, 0.22);
    --danger: #f43f5e;
    --danger-bg: rgba(244, 63, 94, 0.22);
    --info: #38bdf8;
    --info-bg: rgba(56, 189, 248, 0.22);

    --shadow-soft: 0 10px 25px -5px rgba(12, 7, 30, 0.75);
    --shadow-glow: 0 0 20px rgba(192, 132, 252, 0.3);

    --input-bg: #150d30;
    --table-header-bg: #180f37;
    --table-hover: rgba(192, 132, 252, 0.08);
    --placeholder-bg: rgba(31, 20, 69, 0.4);
    --pill-bg: #1f1445;
    --subtab-bg: #150d30;
    --bg-gradient: radial-gradient(at 0% 0%, rgba(192, 132, 252, 0.15) 0px, transparent 50%),
                   radial-gradient(at 100% 100%, rgba(34, 211, 238, 0.1) 0px, transparent 50%);

    --cell-title: #ffffff;
    --logo-text: #f0abfc;
    --logo-badge-bg: rgba(192, 132, 252, 0.25);
    --logo-badge-text: #e879f9;
    --hizli-badge-bg: rgba(245, 158, 11, 0.25);
    --hizli-badge-text: #fde047;
    --logo-net-color: #e879f9;
    --code-color: #22d3ee;
    --modal-header-bg: #150d30;
    --modal-card-bg: #1f1445;
    --table-subrow-bg: rgba(192, 132, 252, 0.15);
}

/* 6. DERİN OKYANUS (SAFİR & GECE MAVİSİ) */
[data-theme="midnight-ocean"] {
    --theme-name: "midnight-ocean";
    --bg-main: #030f1a;
    --bg-secondary: #081a2e;
    --bg-card: #0f2945;
    --bg-card-hover: #16395e;
    --bg-header: rgba(8, 26, 46, 0.94);
    --bg-sidebar: rgba(5, 19, 34, 0.98);
    --bg-sidebar-footer: rgba(3, 12, 22, 0.75);
    --bg-panel-header: rgba(15, 41, 69, 0.65);
    --border-color: rgba(56, 189, 248, 0.2);
    --border-color-hover: rgba(56, 189, 248, 0.55);

    --primary: #0284c7;
    --primary-light: #38bdf8;
    --primary-glow: rgba(56, 189, 248, 0.32);
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.3);

    --text-primary: #f0f9ff;
    --text-secondary: #bae6fd;
    --text-muted: #7dd3fc;

    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.2);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.2);
    --danger: #f87171;
    --danger-bg: rgba(248, 113, 113, 0.2);
    --info: #38bdf8;
    --info-bg: rgba(56, 189, 248, 0.2);

    --shadow-soft: 0 10px 25px -5px rgba(3, 15, 26, 0.75);
    --shadow-glow: 0 0 20px rgba(56, 189, 248, 0.28);

    --input-bg: #081a2e;
    --table-header-bg: #0a2037;
    --table-hover: rgba(56, 189, 248, 0.07);
    --placeholder-bg: rgba(15, 41, 69, 0.4);
    --pill-bg: #0f2945;
    --subtab-bg: #081a2e;
    --bg-gradient: radial-gradient(at 0% 0%, rgba(2, 132, 199, 0.16) 0px, transparent 50%),
                   radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.1) 0px, transparent 50%);

    --cell-title: #ffffff;
    --logo-text: #7dd3fc;
    --logo-badge-bg: rgba(2, 132, 199, 0.28);
    --logo-badge-text: #38bdf8;
    --hizli-badge-bg: rgba(245, 158, 11, 0.28);
    --hizli-badge-text: #fbbf24;
    --logo-net-color: #38bdf8;
    --code-color: #38bdf8;
    --modal-header-bg: #081a2e;
    --modal-card-bg: #0f2945;
    --table-subrow-bg: rgba(2, 132, 199, 0.14);
}

/* 7. BORDO & ŞARAP (ASİL KIRMIZI & VAMPİR KOYU) */
[data-theme="crimson-burgundy"] {
    --theme-name: "crimson-burgundy";
    --bg-main: #160407;
    --bg-secondary: #24070d;
    --bg-card: #380c16;
    --bg-card-hover: #4c121f;
    --bg-header: rgba(36, 7, 13, 0.94);
    --bg-sidebar: rgba(25, 5, 9, 0.98);
    --bg-sidebar-footer: rgba(16, 3, 6, 0.75);
    --bg-panel-header: rgba(56, 12, 22, 0.65);
    --border-color: rgba(251, 113, 133, 0.2);
    --border-color-hover: rgba(225, 29, 72, 0.6);

    --primary: #e11d48;
    --primary-light: #fb7185;
    --primary-glow: rgba(225, 29, 72, 0.35);
    --accent: #fb923c;
    --accent-glow: rgba(251, 146, 60, 0.3);

    --text-primary: #fff1f2;
    --text-secondary: #fecdd3;
    --text-muted: #fda4af;

    --success: #34d399;
    --success-bg: rgba(52, 211, 153, 0.22);
    --warning: #fbbf24;
    --warning-bg: rgba(251, 191, 36, 0.22);
    --danger: #f43f5e;
    --danger-bg: rgba(244, 63, 94, 0.25);
    --info: #38bdf8;
    --info-bg: rgba(56, 189, 248, 0.22);

    --shadow-soft: 0 10px 25px -5px rgba(22, 4, 7, 0.75);
    --shadow-glow: 0 0 20px rgba(225, 29, 72, 0.3);

    --input-bg: #24070d;
    --table-header-bg: #2c0a11;
    --table-hover: rgba(225, 29, 72, 0.08);
    --placeholder-bg: rgba(56, 12, 22, 0.4);
    --pill-bg: #380c16;
    --subtab-bg: #24070d;
    --bg-gradient: radial-gradient(at 0% 0%, rgba(225, 29, 72, 0.15) 0px, transparent 50%),
                   radial-gradient(at 100% 100%, rgba(251, 146, 60, 0.08) 0px, transparent 50%);

    --cell-title: #ffffff;
    --logo-text: #fda4af;
    --logo-badge-bg: rgba(225, 29, 72, 0.28);
    --logo-badge-text: #fb7185;
    --hizli-badge-bg: rgba(245, 158, 11, 0.28);
    --hizli-badge-text: #fbbf24;
    --logo-net-color: #fb7185;
    --code-color: #fb923c;
    --modal-header-bg: #24070d;
    --modal-card-bg: #380c16;
    --table-subrow-bg: rgba(225, 29, 72, 0.15);
}

/* 8. DRAKULA GECE (GÖZ DİNLENDİREN MOR & LAVANTA) */
[data-theme="dracula-gothic"] {
    --theme-name: "dracula-gothic";
    --bg-main: #191a24;
    --bg-secondary: #21222c;
    --bg-card: #282a36;
    --bg-card-hover: #343746;
    --bg-header: rgba(33, 34, 44, 0.94);
    --bg-sidebar: rgba(25, 26, 36, 0.98);
    --bg-sidebar-footer: rgba(18, 19, 26, 0.75);
    --bg-panel-header: rgba(40, 42, 54, 0.65);
    --border-color: rgba(189, 147, 249, 0.2);
    --border-color-hover: rgba(189, 147, 249, 0.6);

    --primary: #bd93f9;
    --primary-light: #d6bbfb;
    --primary-glow: rgba(189, 147, 249, 0.32);
    --accent: #ff79c6;
    --accent-glow: rgba(255, 121, 198, 0.3);

    --text-primary: #f8f8f2;
    --text-secondary: #bf9eee;
    --text-muted: #8a91b4;

    --success: #50fa7b;
    --success-bg: rgba(80, 250, 123, 0.2);
    --warning: #f1fa8c;
    --warning-bg: rgba(241, 250, 140, 0.2);
    --danger: #ff5555;
    --danger-bg: rgba(255, 85, 85, 0.2);
    --info: #8be9fd;
    --info-bg: rgba(139, 233, 253, 0.2);

    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.65);
    --shadow-glow: 0 0 20px rgba(189, 147, 249, 0.25);

    --input-bg: #21222c;
    --table-header-bg: #232530;
    --table-hover: rgba(189, 147, 249, 0.08);
    --placeholder-bg: rgba(40, 42, 54, 0.4);
    --pill-bg: #282a36;
    --subtab-bg: #21222c;
    --bg-gradient: radial-gradient(at 0% 0%, rgba(189, 147, 249, 0.12) 0px, transparent 50%),
                   radial-gradient(at 100% 100%, rgba(255, 121, 198, 0.08) 0px, transparent 50%);

    --cell-title: #ffffff;
    --logo-text: #d6bbfb;
    --logo-badge-bg: rgba(189, 147, 249, 0.25);
    --logo-badge-text: #bd93f9;
    --hizli-badge-bg: rgba(241, 250, 140, 0.25);
    --hizli-badge-text: #f1fa8c;
    --logo-net-color: #bd93f9;
    --code-color: #8be9fd;
    --modal-header-bg: #21222c;
    --modal-card-bg: #282a36;
    --table-subrow-bg: rgba(189, 147, 249, 0.14);
}

/* 9. İĞNEADA ÇAM ORMANI (DERİN HAKİ & ÇAM YEŞİLİ KOYU) */
[data-theme="forest-pine"] {
    --theme-name: "forest-pine";
    --bg-main: #08140c;
    --bg-secondary: #0f2115;
    --bg-card: #16301f;
    --bg-card-hover: #1e422c;
    --bg-header: rgba(15, 33, 21, 0.94);
    --bg-sidebar: rgba(11, 24, 15, 0.98);
    --bg-sidebar-footer: rgba(6, 15, 9, 0.75);
    --bg-panel-header: rgba(22, 48, 31, 0.65);
    --border-color: rgba(74, 222, 128, 0.2);
    --border-color-hover: rgba(74, 222, 128, 0.55);

    --primary: #22c55e;
    --primary-light: #4ade80;
    --primary-glow: rgba(34, 197, 94, 0.32);
    --accent: #eab308;
    --accent-glow: rgba(234, 179, 8, 0.3);

    --text-primary: #f0fdf4;
    --text-secondary: #bbf7d0;
    --text-muted: #86efac;

    --success: #4ade80;
    --success-bg: rgba(74, 222, 128, 0.22);
    --warning: #facc15;
    --warning-bg: rgba(250, 204, 21, 0.22);
    --danger: #f87171;
    --danger-bg: rgba(248, 113, 113, 0.22);
    --info: #38bdf8;
    --info-bg: rgba(56, 189, 248, 0.22);

    --shadow-soft: 0 10px 25px -5px rgba(8, 20, 12, 0.75);
    --shadow-glow: 0 0 20px rgba(34, 197, 94, 0.28);

    --input-bg: #0f2115;
    --table-header-bg: #122719;
    --table-hover: rgba(74, 222, 128, 0.07);
    --placeholder-bg: rgba(22, 48, 31, 0.4);
    --pill-bg: #16301f;
    --subtab-bg: #0f2115;
    --bg-gradient: radial-gradient(at 0% 0%, rgba(34, 197, 94, 0.14) 0px, transparent 50%),
                   radial-gradient(at 100% 100%, rgba(234, 179, 8, 0.08) 0px, transparent 50%);

    --cell-title: #ffffff;
    --logo-text: #86efac;
    --logo-badge-bg: rgba(34, 197, 94, 0.28);
    --logo-badge-text: #4ade80;
    --hizli-badge-bg: rgba(245, 158, 11, 0.28);
    --hizli-badge-text: #fde047;
    --logo-net-color: #4ade80;
    --code-color: #a3e635;
    --modal-header-bg: #0f2115;
    --modal-card-bg: #16301f;
    --table-subrow-bg: rgba(34, 197, 94, 0.15);
}

/* 10. KARBON TİTANYUM (MAT GRAFİT & ÇELİK KOYU) */
[data-theme="carbon-titanium"] {
    --theme-name: "carbon-titanium";
    --bg-main: #0f1013;
    --bg-secondary: #17181d;
    --bg-card: #22242b;
    --bg-card-hover: #2c2f38;
    --bg-header: rgba(23, 24, 29, 0.94);
    --bg-sidebar: rgba(18, 19, 23, 0.98);
    --bg-sidebar-footer: rgba(11, 12, 15, 0.75);
    --bg-panel-header: rgba(34, 36, 43, 0.65);
    --border-color: rgba(148, 163, 184, 0.18);
    --border-color-hover: rgba(96, 165, 250, 0.55);

    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --primary-glow: rgba(59, 130, 246, 0.32);
    --accent: #f97316;
    --accent-glow: rgba(249, 115, 22, 0.3);

    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;

    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.2);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.2);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.2);
    --info: #38bdf8;
    --info-bg: rgba(56, 189, 248, 0.2);

    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.65);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.25);

    --input-bg: #17181d;
    --table-header-bg: #1b1d23;
    --table-hover: rgba(255, 255, 255, 0.05);
    --placeholder-bg: rgba(34, 36, 43, 0.4);
    --pill-bg: #22242b;
    --subtab-bg: #17181d;
    --bg-gradient: radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.12) 0px, transparent 50%),
                   radial-gradient(at 100% 100%, rgba(249, 115, 22, 0.08) 0px, transparent 50%);

    --cell-title: #ffffff;
    --logo-text: #93c5fd;
    --logo-badge-bg: rgba(59, 130, 246, 0.25);
    --logo-badge-text: #60a5fa;
    --hizli-badge-bg: rgba(249, 115, 22, 0.25);
    --hizli-badge-text: #fb923c;
    --logo-net-color: #60a5fa;
    --code-color: #38bdf8;
    --modal-header-bg: #17181d;
    --modal-card-bg: #22242b;
    --table-subrow-bg: rgba(59, 130, 246, 0.14);
}

/* =====================================================================
   AYDINLIK TEMALAR (LIGHT THEMES - AÇIK TABAN & KOYU NET METİNLER)
   ===================================================================== */

/* 11. KURUMSAL BEYAZ (TERTEMİZ OFİS AÇIK MOD) */
[data-theme="light-corporate"] {
    --theme-name: "light-corporate";
    --bg-main: #f1f5f9;
    --bg-secondary: #e2e8f0;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-header: rgba(255, 255, 255, 0.98);
    --bg-sidebar: #0f172a;
    --bg-sidebar-footer: #090e1a;
    --bg-panel-header: #f8fafc;
    --border-color: #cbd5e1;
    --border-color-hover: #2563eb;

    /* Açık Taban Üzerine ZIT KOYU Metinler (Okunabilirlik Garanti) */
    --text-primary: #0a0f1d;
    --text-secondary: #1e293b;
    --text-muted: #475569;

    /* Koyu Menü (Sidebar) Üzerine ZIT BEYAZ Metinler */
    --sidebar-text: #ffffff;
    --sidebar-secondary: #f1f5f9;
    --sidebar-muted: #94a3b8;
    --sidebar-hover-bg: rgba(255, 255, 255, 0.12);
    --sidebar-active-bg: linear-gradient(90deg, rgba(37, 99, 235, 0.9) 0%, rgba(29, 78, 216, 0.85) 100%);
    --sidebar-active-text: #ffffff;
    --sidebar-border: rgba(255, 255, 255, 0.1);

    /* Açık Başlık (Header) Üzerine ZIT KOYU Metinler */
    --header-text: #0a0f1d;
    --header-muted: #475569;

    --primary: #1d4ed8;
    --primary-light: #2563eb;
    --primary-glow: rgba(29, 78, 216, 0.2);
    --accent: #0284c7;
    --accent-glow: rgba(2, 132, 199, 0.18);

    --success: #059669;
    --success-bg: rgba(5, 150, 105, 0.14);
    --warning: #d97706;
    --warning-bg: rgba(217, 119, 6, 0.14);
    --danger: #dc2626;
    --danger-bg: rgba(220, 38, 38, 0.14);
    --info: #0284c7;
    --info-bg: rgba(2, 132, 199, 0.14);

    --shadow-soft: 0 4px 14px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(29, 78, 216, 0.15);

    --input-bg: #ffffff;
    --table-header-bg: #e2e8f0;
    --table-hover: #f1f5f9;
    --placeholder-bg: #f8fafc;
    --pill-bg: #ffffff;
    --subtab-bg: #e2e8f0;
    --bg-gradient: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);

    --cell-title: #0a0f1d;
    --logo-text: #1d4ed8;
    --logo-badge-bg: #dbeafe;
    --logo-badge-text: #1e40af;
    --hizli-badge-bg: #fef3c7;
    --hizli-badge-text: #b45309;
    --logo-net-color: #1e40af;
    --code-color: #0369a1;
    --modal-header-bg: #f8fafc;
    --modal-card-bg: #ffffff;
    --table-subrow-bg: rgba(29, 78, 216, 0.08);
}

/* 12. ERP KLASİK (LACİVERT BAŞLIK & AÇIK GÖVDE) */
[data-theme="classic-navy"] {
    --theme-name: "classic-navy";
    --bg-main: #eef2f6;
    --bg-secondary: #e2e8f0;
    --bg-card: #ffffff;
    --bg-card-hover: #f8faff;
    --bg-header: #0a192f;
    --bg-sidebar: #0a192f;
    --bg-sidebar-footer: #050d1a;
    --bg-panel-header: #f8fafc;
    --border-color: #cbd5e1;
    --border-color-hover: #1e40af;

    /* Açık Taban Üzerine ZIT KOYU Metinler */
    --text-primary: #0a0f1d;
    --text-secondary: #1e293b;
    --text-muted: #475569;

    /* Koyu Menü (Sidebar) Üzerine ZIT BEYAZ Metinler */
    --sidebar-text: #ffffff;
    --sidebar-secondary: #f1f5f9;
    --sidebar-muted: #94a3b8;
    --sidebar-hover-bg: rgba(255, 255, 255, 0.12);
    --sidebar-active-bg: linear-gradient(90deg, #1e40af 0%, #2563eb 100%);
    --sidebar-active-text: #ffffff;
    --sidebar-border: rgba(255, 255, 255, 0.12);

    /* Koyu Başlık (Header) Üzerine ZIT BEYAZ Metinler */
    --header-text: #ffffff;
    --header-muted: #cbd5e1;

    --primary: #1e40af;
    --primary-light: #2563eb;
    --primary-glow: rgba(30, 64, 175, 0.22);
    --accent: #0284c7;
    --accent-glow: rgba(2, 132, 199, 0.18);

    --success: #059669;
    --success-bg: rgba(5, 150, 105, 0.14);
    --warning: #b45309;
    --warning-bg: rgba(180, 83, 9, 0.14);
    --danger: #b91c1c;
    --danger-bg: rgba(185, 28, 28, 0.14);
    --info: #0369a1;
    --info-bg: rgba(3, 105, 161, 0.14);

    --shadow-soft: 0 4px 14px rgba(10, 25, 47, 0.08);
    --shadow-glow: 0 0 20px rgba(30, 64, 175, 0.15);

    --input-bg: #ffffff;
    --table-header-bg: #e2e8f0;
    --table-hover: #eff6ff;
    --placeholder-bg: #f9fafb;
    --pill-bg: rgba(255, 255, 255, 0.1);
    --subtab-bg: #e2e8f0;
    --bg-gradient: linear-gradient(180deg, #f0f4f8 0%, #e2e8f0 100%);

    --cell-title: #0a0f1d;
    --logo-text: #1e40af;
    --logo-badge-bg: #dbeafe;
    --logo-badge-text: #1e40af;
    --hizli-badge-bg: #fef3c7;
    --hizli-badge-text: #b45309;
    --logo-net-color: #1e40af;
    --code-color: #0369a1;
    --modal-header-bg: #e2e8f0;
    --modal-card-bg: #ffffff;
    --table-subrow-bg: rgba(30, 64, 175, 0.08);
}

/* 13. NORDİK BUZUL (MİNİMAL SOĞUK GRİ AÇIK) */
[data-theme="nordic-slate"] {
    --theme-name: "nordic-slate";
    --bg-main: #e8edf4;
    --bg-secondary: #dde3ed;
    --bg-card: #ffffff;
    --bg-card-hover: #f4f7fb;
    --bg-header: rgba(255, 255, 255, 0.98);
    --bg-sidebar: #1e293b;
    --bg-sidebar-footer: #131b27;
    --bg-panel-header: #f1f5f9;
    --border-color: #cbd5e1;
    --border-color-hover: #2563eb;

    /* Açık Taban Üzerine ZIT KOYU Metinler */
    --text-primary: #0a0f1d;
    --text-secondary: #1e293b;
    --text-muted: #475569;

    /* Koyu Menü (Sidebar) Üzerine ZIT BEYAZ Metinler */
    --sidebar-text: #ffffff;
    --sidebar-secondary: #f1f5f9;
    --sidebar-muted: #94a3b8;
    --sidebar-hover-bg: rgba(255, 255, 255, 0.12);
    --sidebar-active-bg: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
    --sidebar-active-text: #ffffff;
    --sidebar-border: rgba(255, 255, 255, 0.1);

    /* Açık Başlık (Header) Üzerine ZIT KOYU Metinler */
    --header-text: #0a0f1d;
    --header-muted: #475569;

    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-glow: rgba(37, 99, 235, 0.2);
    --accent: #0891b2;
    --accent-glow: rgba(8, 145, 178, 0.18);

    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.14);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.14);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.14);
    --info: #0284c7;
    --info-bg: rgba(2, 132, 199, 0.14);

    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);

    --input-bg: #ffffff;
    --table-header-bg: #dbe3ee;
    --table-hover: #f1f5f9;
    --placeholder-bg: #f8fafc;
    --pill-bg: #ffffff;
    --subtab-bg: #dde3ed;
    --bg-gradient: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);

    --cell-title: #0a0f1d;
    --logo-text: #1d4ed8;
    --logo-badge-bg: #dbeafe;
    --logo-badge-text: #1e40af;
    --hizli-badge-bg: #fef3c7;
    --hizli-badge-text: #b45309;
    --logo-net-color: #1e40af;
    --code-color: #0369a1;
    --modal-header-bg: #f1f5f9;
    --modal-card-bg: #ffffff;
    --table-subrow-bg: rgba(37, 99, 235, 0.08);
}

/* 14. ANTİK PARŞÖMEN (SICAK KREM & SEPYA AÇIK) */
[data-theme="warm-cream"] {
    --theme-name: "warm-cream";
    --bg-main: #fbf8f1;
    --bg-secondary: #f2ece0;
    --bg-card: #ffffff;
    --bg-card-hover: #faf6ee;
    --bg-header: rgba(255, 255, 255, 0.98);
    --bg-sidebar: #292524;
    --bg-sidebar-footer: #1c1917;
    --bg-panel-header: #f7f3e8;
    --border-color: #e7decb;
    --border-color-hover: #d97706;

    /* Açık Taban Üzerine ZIT KOYU Metinler */
    --text-primary: #1c1917;
    --text-secondary: #292524;
    --text-muted: #57534e;

    /* Koyu Menü (Sidebar) Üzerine ZIT BEYAZ Metinler */
    --sidebar-text: #ffffff;
    --sidebar-secondary: #f5f5f4;
    --sidebar-muted: #d6d3d1;
    --sidebar-hover-bg: rgba(255, 255, 255, 0.12);
    --sidebar-active-bg: linear-gradient(90deg, #b45309 0%, #d97706 100%);
    --sidebar-active-text: #ffffff;
    --sidebar-border: rgba(255, 255, 255, 0.1);

    /* Açık Başlık (Header) Üzerine ZIT KOYU Metinler */
    --header-text: #1c1917;
    --header-muted: #57534e;

    --primary: #b45309;
    --primary-light: #d97706;
    --primary-glow: rgba(180, 83, 9, 0.2);
    --accent: #c2410c;
    --accent-glow: rgba(194, 65, 12, 0.18);

    --success: #15803d;
    --success-bg: rgba(21, 128, 61, 0.14);
    --warning: #b45309;
    --warning-bg: rgba(180, 83, 9, 0.14);
    --danger: #b91c1c;
    --danger-bg: rgba(185, 28, 28, 0.14);
    --info: #0369a1;
    --info-bg: rgba(3, 105, 161, 0.14);

    --shadow-soft: 0 4px 14px rgba(41, 37, 36, 0.08);
    --shadow-glow: 0 0 20px rgba(180, 83, 9, 0.15);

    --input-bg: #ffffff;
    --table-header-bg: #ede5d5;
    --table-hover: #f7f3eb;
    --placeholder-bg: #faf7f0;
    --pill-bg: #ffffff;
    --subtab-bg: #f2ece0;
    --bg-gradient: linear-gradient(180deg, #fdfbf7 0%, #f4eee2 100%);

    --cell-title: #1c1917;
    --logo-text: #b45309;
    --logo-badge-bg: #fef3c7;
    --logo-badge-text: #92400e;
    --hizli-badge-bg: #ffedd5;
    --hizli-badge-text: #9a3412;
    --logo-net-color: #92400e;
    --code-color: #c2410c;
    --modal-header-bg: #f7f3e8;
    --modal-card-bg: #ffffff;
    --table-subrow-bg: rgba(180, 83, 9, 0.08);
}

/* 15. FERAH NANE (PASTEL SU YEŞİLİ AÇIK) */
[data-theme="mint-fresh"] {
    --theme-name: "mint-fresh";
    --bg-main: #eefbf5;
    --bg-secondary: #dcf4e8;
    --bg-card: #ffffff;
    --bg-card-hover: #f2fcf7;
    --bg-header: rgba(255, 255, 255, 0.98);
    --bg-sidebar: #064e3b;
    --bg-sidebar-footer: #022c22;
    --bg-panel-header: #e6f7f0;
    --border-color: #bbf0d7;
    --border-color-hover: #059669;

    /* Açık Taban Üzerine ZIT KOYU Metinler */
    --text-primary: #022c22;
    --text-secondary: #064e3b;
    --text-muted: #047857;

    /* Koyu Menü (Sidebar) Üzerine ZIT BEYAZ Metinler */
    --sidebar-text: #ffffff;
    --sidebar-secondary: #d1fae5;
    --sidebar-muted: #a7f3d0;
    --sidebar-hover-bg: rgba(255, 255, 255, 0.12);
    --sidebar-active-bg: linear-gradient(90deg, #059669 0%, #10b981 100%);
    --sidebar-active-text: #ffffff;
    --sidebar-border: rgba(255, 255, 255, 0.1);

    /* Açık Başlık (Header) Üzerine ZIT KOYU Metinler */
    --header-text: #022c22;
    --header-muted: #047857;

    --primary: #059669;
    --primary-light: #10b981;
    --primary-glow: rgba(5, 150, 105, 0.2);
    --accent: #0d9488;
    --accent-glow: rgba(13, 148, 136, 0.18);

    --success: #059669;
    --success-bg: rgba(5, 150, 105, 0.14);
    --warning: #d97706;
    --warning-bg: rgba(217, 119, 6, 0.14);
    --danger: #dc2626;
    --danger-bg: rgba(220, 38, 38, 0.14);
    --info: #0284c7;
    --info-bg: rgba(2, 132, 199, 0.14);

    --shadow-soft: 0 4px 14px rgba(6, 78, 59, 0.08);
    --shadow-glow: 0 0 20px rgba(5, 150, 105, 0.15);

    --input-bg: #ffffff;
    --table-header-bg: #d1fae5;
    --table-hover: #e8faf1;
    --placeholder-bg: #f0fdf7;
    --pill-bg: #ffffff;
    --subtab-bg: #dcf4e8;
    --bg-gradient: linear-gradient(180deg, #f3fdf8 0%, #e5f8ee 100%);

    --cell-title: #022c22;
    --logo-text: #047857;
    --logo-badge-bg: #d1fae5;
    --logo-badge-text: #065f46;
    --hizli-badge-bg: #fef3c7;
    --hizli-badge-text: #b45309;
    --logo-net-color: #065f46;
    --code-color: #0d9488;
    --modal-header-bg: #e6f7f0;
    --modal-card-bg: #ffffff;
    --table-subrow-bg: rgba(5, 150, 105, 0.08);
}

/* 16. KRALİYET İPEĞİ (AÇIK GÖKYÜZÜ MAVİSİ) */
[data-theme="royal-azure"] {
    --theme-name: "royal-azure";
    --bg-main: #f0f6ff;
    --bg-secondary: #e0edfe;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f9ff;
    --bg-header: rgba(255, 255, 255, 0.98);
    --bg-sidebar: #0f172a;
    --bg-sidebar-footer: #080d1a;
    --bg-panel-header: #e8f2ff;
    --border-color: #bfdbfe;
    --border-color-hover: #0284c7;

    /* Açık Taban Üzerine ZIT KOYU Metinler */
    --text-primary: #082f49;
    --text-secondary: #0c4a6e;
    --text-muted: #075985;

    /* Koyu Menü (Sidebar) Üzerine ZIT BEYAZ Metinler */
    --sidebar-text: #ffffff;
    --sidebar-secondary: #e0f2fe;
    --sidebar-muted: #7dd3fc;
    --sidebar-hover-bg: rgba(255, 255, 255, 0.12);
    --sidebar-active-bg: linear-gradient(90deg, #0284c7 0%, #0ea5e9 100%);
    --sidebar-active-text: #ffffff;
    --sidebar-border: rgba(255, 255, 255, 0.1);

    /* Açık Başlık (Header) Üzerine ZIT KOYU Metinler */
    --header-text: #082f49;
    --header-muted: #075985;

    --primary: #0284c7;
    --primary-light: #0369a1;
    --primary-glow: rgba(2, 132, 199, 0.2);
    --accent: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.18);

    --success: #059669;
    --success-bg: rgba(5, 150, 105, 0.14);
    --warning: #d97706;
    --warning-bg: rgba(217, 119, 6, 0.14);
    --danger: #dc2626;
    --danger-bg: rgba(220, 38, 38, 0.14);
    --info: #0284c7;
    --info-bg: rgba(2, 132, 199, 0.14);

    --shadow-soft: 0 4px 14px rgba(8, 47, 73, 0.08);
    --shadow-glow: 0 0 20px rgba(2, 132, 199, 0.15);

    --input-bg: #ffffff;
    --table-header-bg: #dbeafe;
    --table-hover: #eff6ff;
    --placeholder-bg: #f6faff;
    --pill-bg: #ffffff;
    --subtab-bg: #e0edfe;
    --bg-gradient: linear-gradient(180deg, #f5f9ff 0%, #e6f0fe 100%);

    --cell-title: #082f49;
    --logo-text: #0284c7;
    --logo-badge-bg: #dbeafe;
    --logo-badge-text: #075985;
    --hizli-badge-bg: #fef3c7;
    --hizli-badge-text: #b45309;
    --logo-net-color: #0369a1;
    --code-color: #0284c7;
    --modal-header-bg: #e8f2ff;
    --modal-card-bg: #ffffff;
    --table-subrow-bg: rgba(2, 132, 199, 0.08);
}

/* 17. GÜL KUVARS (ZARİF PEMBE & SOMON AÇIK) */
[data-theme="rose-quartz"] {
    --theme-name: "rose-quartz";
    --bg-main: #fff1f3;
    --bg-secondary: #ffe4e8;
    --bg-card: #ffffff;
    --bg-card-hover: #fff5f7;
    --bg-header: rgba(255, 255, 255, 0.98);
    --bg-sidebar: #4c0519;
    --bg-sidebar-footer: #26020c;
    --bg-panel-header: #ffedf0;
    --border-color: #fecdd3;
    --border-color-hover: #e11d48;

    /* Açık Taban Üzerine ZIT KOYU Metinler */
    --text-primary: #3d0314;
    --text-secondary: #600820;
    --text-muted: #881337;

    /* Koyu Menü (Sidebar) Üzerine ZIT BEYAZ Metinler */
    --sidebar-text: #ffffff;
    --sidebar-secondary: #ffe4e6;
    --sidebar-muted: #fecdd3;
    --sidebar-hover-bg: rgba(255, 255, 255, 0.12);
    --sidebar-active-bg: linear-gradient(90deg, #e11d48 0%, #f43f5e 100%);
    --sidebar-active-text: #ffffff;
    --sidebar-border: rgba(255, 255, 255, 0.1);

    /* Açık Başlık (Header) Üzerine ZIT KOYU Metinler */
    --header-text: #3d0314;
    --header-muted: #881337;

    --primary: #e11d48;
    --primary-light: #f43f5e;
    --primary-glow: rgba(225, 29, 72, 0.2);
    --accent: #ea580c;
    --accent-glow: rgba(234, 88, 12, 0.18);

    --success: #059669;
    --success-bg: rgba(5, 150, 105, 0.14);
    --warning: #d97706;
    --warning-bg: rgba(217, 119, 6, 0.14);
    --danger: #e11d48;
    --danger-bg: rgba(225, 29, 72, 0.14);
    --info: #0284c7;
    --info-bg: rgba(2, 132, 199, 0.14);

    --shadow-soft: 0 4px 14px rgba(76, 5, 25, 0.08);
    --shadow-glow: 0 0 20px rgba(225, 29, 72, 0.15);

    --input-bg: #ffffff;
    --table-header-bg: #fecdd3;
    --table-hover: #fff3f5;
    --placeholder-bg: #fff8f9;
    --pill-bg: #ffffff;
    --subtab-bg: #ffe4e8;
    --bg-gradient: linear-gradient(180deg, #fff7f8 0%, #ffe9ec 100%);

    --cell-title: #3d0314;
    --logo-text: #be123c;
    --logo-badge-bg: #ffe4e8;
    --logo-badge-text: #9f1239;
    --hizli-badge-bg: #fef3c7;
    --hizli-badge-text: #b45309;
    --logo-net-color: #be123c;
    --code-color: #ea580c;
    --modal-header-bg: #ffedf0;
    --modal-card-bg: #ffffff;
    --table-subrow-bg: rgba(225, 29, 72, 0.08);
}

/* 18. ALTIN GÜN IŞIĞI (SICAK BAL & ŞAMPANYA AÇIK) */
[data-theme="solar-amber"] {
    --theme-name: "solar-amber";
    --bg-main: #fffbeb;
    --bg-secondary: #fef3c7;
    --bg-card: #ffffff;
    --bg-card-hover: #fffdf5;
    --bg-header: rgba(255, 255, 255, 0.98);
    --bg-sidebar: #451a03;
    --bg-sidebar-footer: #270e01;
    --bg-panel-header: #fef8db;
    --border-color: #fde68a;
    --border-color-hover: #d97706;

    /* Açık Taban Üzerine ZIT KOYU Metinler */
    --text-primary: #381402;
    --text-secondary: #5f2305;
    --text-muted: #853106;

    /* Koyu Menü (Sidebar) Üzerine ZIT BEYAZ Metinler */
    --sidebar-text: #ffffff;
    --sidebar-secondary: #fef3c7;
    --sidebar-muted: #fde68a;
    --sidebar-hover-bg: rgba(255, 255, 255, 0.12);
    --sidebar-active-bg: linear-gradient(90deg, #d97706 0%, #f59e0b 100%);
    --sidebar-active-text: #ffffff;
    --sidebar-border: rgba(255, 255, 255, 0.1);

    /* Açık Başlık (Header) Üzerine ZIT KOYU Metinler */
    --header-text: #381402;
    --header-muted: #853106;

    --primary: #d97706;
    --primary-light: #f59e0b;
    --primary-glow: rgba(217, 119, 6, 0.2);
    --accent: #b45309;
    --accent-glow: rgba(180, 83, 9, 0.18);

    --success: #059669;
    --success-bg: rgba(5, 150, 105, 0.14);
    --warning: #d97706;
    --warning-bg: rgba(217, 119, 6, 0.14);
    --danger: #dc2626;
    --danger-bg: rgba(220, 38, 38, 0.14);
    --info: #0284c7;
    --info-bg: rgba(2, 132, 199, 0.14);

    --shadow-soft: 0 4px 14px rgba(69, 26, 3, 0.08);
    --shadow-glow: 0 0 20px rgba(217, 119, 6, 0.15);

    --input-bg: #ffffff;
    --table-header-bg: #fde68a;
    --table-hover: #fefce8;
    --placeholder-bg: #fffdf7;
    --pill-bg: #ffffff;
    --subtab-bg: #fef3c7;
    --bg-gradient: linear-gradient(180deg, #fffdf8 0%, #fef7db 100%);

    --cell-title: #381402;
    --logo-text: #b45309;
    --logo-badge-bg: #fef3c7;
    --logo-badge-text: #78350f;
    --hizli-badge-bg: #ffedd5;
    --hizli-badge-text: #9a3412;
    --logo-net-color: #b45309;
    --code-color: #d97706;
    --modal-header-bg: #fef8db;
    --modal-card-bg: #ffffff;
    --table-subrow-bg: rgba(217, 119, 6, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* =====================================================================
   DASHBOARD LAYOUT (SIDEBAR + MAIN)
   ===================================================================== */
.app-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* --- SIDEBAR --- */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    color: var(--sidebar-text);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: 1px solid var(--sidebar-border, var(--border-color));
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.brand-section {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--sidebar-border, var(--border-color));
    position: relative;
    overflow: hidden;
}

.brand-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.sidebar-pin-btn {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--sidebar-border, var(--border-color));
    color: var(--sidebar-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: var(--transition);
    transform: rotate(-45deg);
}

.sidebar-pin-btn:hover {
    color: var(--sidebar-text);
    background: var(--sidebar-hover-bg);
    border-color: var(--primary-light);
}

.sidebar-toggle-btn {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--sidebar-border, var(--border-color));
    color: var(--sidebar-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: var(--transition);
}

.sidebar-toggle-btn:hover {
    color: var(--sidebar-text);
    background: var(--sidebar-hover-bg);
    border-color: var(--primary-light);
}

.brand-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.brand-info h1 {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--sidebar-text) !important;
    line-height: 1.2;
}

.brand-info span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
}

.nav-section {
    flex: 1;
    padding: 20px 14px;
    overflow-y: auto;
}

.nav-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--sidebar-muted) !important;
    padding: 0 12px 10px 12px;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    color: var(--sidebar-secondary) !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-item a i {
    font-size: 17px;
    width: 22px;
    text-align: center;
    transition: var(--transition);
    color: inherit;
}

.nav-item:hover a {
    color: var(--sidebar-text) !important;
    background: var(--sidebar-hover-bg) !important;
}

.nav-item.active a {
    color: var(--sidebar-active-text) !important;
    background: var(--sidebar-active-bg) !important;
    border-left: 3px solid var(--primary-light);
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-item.active a i {
    color: var(--sidebar-active-text) !important;
}

.nav-badge {
    margin-left: auto;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--sidebar-text) !important;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 18px;
    border-top: 1px solid var(--sidebar-border, var(--border-color));
    background: var(--bg-sidebar-footer);
}

.user-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #475569 0%, #1e293b 100%);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
}

.user-details h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--sidebar-text) !important;
}

.user-details p {
    font-size: 11px;
    color: var(--sidebar-muted) !important;
}

/* --- MAIN CONTENT WRAPPER --- */
.main-wrapper {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================================
   SIDEBAR MODLARI: 1) OTOMATİK KAPANMA (VARSAYILAN)  2) SABİT MOD
   ===================================================================== */

/* 1. OTOMATİK KAPANMA MODU (Unpinned - Normalde 76px, üzerine fare gelince açılır) */
:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar {
    width: 76px;
    overflow-x: hidden;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.35);
}

:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .main-wrapper {
    margin-left: 76px;
}

:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar:hover {
    width: var(--sidebar-width);
    box-shadow: 12px 0 35px rgba(0, 0, 0, 0.75);
    z-index: 1000;
}

:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar .brand-info,
:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar .brand-section .sidebar-pin-btn,
:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar .nav-label,
:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar .nav-item a span,
:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar .nav-item a .nav-badge,
:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar .user-details {
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar:hover .brand-info,
:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar:hover .brand-section .sidebar-pin-btn,
:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar:hover .nav-label,
:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar:hover .nav-item a span,
:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar:hover .nav-item a .nav-badge,
:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar:hover .user-details {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.08s;
}

:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar:not(:hover) .brand-section {
    padding: 20px 16px;
    justify-content: center;
}

:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar:not(:hover) .brand-icon {
    margin: 0 auto;
}

:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar:not(:hover) .nav-section {
    padding: 16px 10px;
}

:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar:not(:hover) .nav-item a {
    justify-content: center;
    padding: 12px 0;
    gap: 0;
}

:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar:not(:hover) .nav-item a i {
    font-size: 19px;
    margin: 0;
}

:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar:not(:hover) .sidebar-footer {
    padding: 16px 10px;
}

:root:not(.sidebar-pinned) body:not(.sidebar-pinned) .sidebar:not(:hover) .user-card {
    justify-content: center;
}

/* 2. SABİT MOD (Pinned - 270px Sürekli Açık) */
body.sidebar-pinned .sidebar,
:root.sidebar-pinned .sidebar {
    width: var(--sidebar-width);
}

body.sidebar-pinned .main-wrapper,
:root.sidebar-pinned .main-wrapper {
    margin-left: var(--sidebar-width);
}

body.sidebar-pinned .sidebar-pin-btn,
:root.sidebar-pinned .sidebar-pin-btn {
    transform: rotate(0deg);
    color: var(--primary-light);
    background: rgba(37, 99, 235, 0.25);
    border-color: var(--primary-light);
    box-shadow: 0 0 10px var(--primary-glow);
}

body.sidebar-pinned .sidebar-toggle-btn,
:root.sidebar-pinned .sidebar-toggle-btn {
    color: var(--primary-light);
    border-color: var(--primary-light);
    background: rgba(37, 99, 235, 0.15);
}

/* --- TOP HEADER --- */
.top-header {
    height: var(--header-height);
    background: var(--bg-header);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 90;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    color: var(--header-text);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-title-badge {
    display: flex;
    flex-direction: column;
}

.page-title-badge h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--header-text) !important;
}

.page-title-badge span {
    font-size: 12px;
    color: var(--header-muted) !important;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* =====================================================================
   KURUMSAL TEMA / OKUNAKLI MOD SEÇİCİ (SAĞ ÜST ÇOKTAN SEÇMELİ)
   ===================================================================== */
.theme-picker-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pill-bg, var(--bg-card));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4px 10px 4px 10px;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
}

.theme-picker-box:hover,
.theme-picker-box:focus-within {
    border-color: var(--primary-light);
    box-shadow: 0 0 14px var(--primary-glow);
}

.theme-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary-light);
    box-shadow: 0 0 8px var(--primary-light);
    flex-shrink: 0;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-picker-icon {
    font-size: 13px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.theme-dropdown-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: none;
    outline: none;
    color: var(--header-text) !important;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    padding-right: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 11px;
    font-family: inherit;
    line-height: 1.4;
}

.theme-dropdown-select option {
    background-color: var(--bg-card);
    color: var(--text-primary);
    font-size: 12.5px;
    font-weight: 500;
    padding: 6px 10px;
}

/* --- CANLI TCMB DÖVİZ KURLARI (TOP HEADER) --- */
.header-doviz-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.doviz-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 11px;
    border-radius: var(--radius-sm);
    background: var(--pill-bg, rgba(255, 255, 255, 0.04));
    border: 1px solid var(--border-color);
    font-size: 12px;
    transition: var(--transition);
    user-select: none;
}

.doviz-pill:hover {
    border-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.doviz-usd .doviz-badge {
    color: #10b981;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
}

.doviz-usd .doviz-val {
    color: var(--header-text, #f8fafc);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.doviz-eur .doviz-badge {
    color: #3b82f6;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
}

.doviz-eur .doviz-val {
    color: var(--header-text, #f8fafc);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.3px;
}

/* Live Status Badge */
.status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--pill-bg, rgba(30, 41, 59, 0.9));
    border: 1px solid var(--border-color);
    color: var(--header-text) !important;
    text-decoration: none;
    transition: var(--transition);
}

.status-pill:hover {
    border-color: var(--primary-light);
    color: var(--primary-light) !important;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--warning);
    box-shadow: 0 0 8px var(--warning);
    position: relative;
}

.status-dot.online {
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
}

.status-dot.pulse::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid currentColor;
    animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.4); opacity: 0; }
}

.date-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--header-text) !important;
    background: var(--pill-bg, rgba(255, 255, 255, 0.03));
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

/* --- PAGE CONTENT CONTAINER --- */
.content-body {
    padding: 28px;
    flex: 1;
}

/* =====================================================================
   CARDS & GRIDS
   ===================================================================== */
.grid-cards-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.grid-cards-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-glow);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-info h5 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 6px;
}

.stat-sub {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-sub.positive {
    color: var(--success);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.stat-icon.blue { background: rgba(37, 99, 235, 0.15); color: var(--primary-light); }
.stat-icon.cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent); }
.stat-icon.green { background: var(--success-bg); color: var(--success); }
.stat-icon.amber { background: var(--warning-bg); color: var(--warning); }
.stat-icon.purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; }

/* Standard Content Card */
.panel-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    margin-bottom: 24px;
}

.panel-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-panel-header);
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.panel-title i {
    font-size: 18px;
    color: var(--primary-light);
}

.panel-title h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.panel-title span {
    font-size: 12px;
    color: var(--text-muted);
}

.panel-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-body {
    padding: 24px;
}

/* =====================================================================
   TABS & SUB-NAVIGATION
   ===================================================================== */
.module-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.module-tab-btn {
    padding: 10px 18px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.module-tab-btn:hover {
    color: var(--text-primary);
    background: var(--table-hover);
}

.module-tab-btn.active {
    color: var(--primary-light);
    border-bottom: 2px solid var(--primary-light);
    background: var(--primary-glow);
}

/* Sub-Tab Segmented Control (Faturalar: Alış / Satış) */
.sub-tab-segmented {
    display: inline-flex;
    align-items: center;
    background: var(--subtab-bg);
    padding: 6px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 22px;
    gap: 8px;
}

.sub-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.sub-pill-btn:hover {
    color: var(--text-primary);
    background: var(--table-hover);
}

.sub-pill-btn.active {
    color: var(--text-primary);
    background: var(--bg-card);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color-hover);
    font-weight: 700;
}

.sub-pill-btn.active.alis-active {
    border-color: rgba(245, 158, 11, 0.6);
}

.sub-pill-btn.active.satis-active {
    border-color: rgba(16, 185, 129, 0.6);
}

.sub-pill-btn.active.earsiv-active {
    border-color: rgba(168, 85, 247, 0.7);
}

/* =====================================================================
   BUTTONS & CONTROLS
   ===================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: #ffffff;
}

.btn-success:hover {
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    color: var(--text-primary);
    border-color: var(--primary-light);
    background: var(--primary-glow);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

/* =====================================================================
   FORMS & INPUTS
   ===================================================================== */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-label span.req {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 13.5px;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.form-help {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 5px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

/* =====================================================================
   DATA TABLES
   ===================================================================== */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.data-table th {
    padding: 12px 16px;
    background: var(--table-header-bg);
    color: var(--text-primary);
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.6px;
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    vertical-align: middle;
}

.data-table td strong {
    color: var(--text-primary) !important;
}

.data-table tbody tr {
    transition: var(--transition);
}

.data-table tbody tr:hover {
    background: var(--table-hover);
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 600;
}

.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-secondary {
    background: var(--table-header-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

/* =====================================================================
   PLACEHOLDER & READY-TO-EXPAND CARDS (İçerikler İçin)
   ===================================================================== */
.placeholder-box {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px 24px;
    text-align: center;
    background: var(--placeholder-bg);
    transition: var(--transition);
    margin: 16px 0;
}

.placeholder-box:hover {
    border-color: var(--border-color-hover);
    background: var(--table-hover);
}

.placeholder-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 18px auto;
}

.placeholder-box h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.placeholder-box p {
    font-size: 13.5px;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 18px auto;
}

.quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 12px;
    color: var(--text-muted);
    margin: 4px;
}

/* =====================================================================
   NOTIFICATIONS / TOASTS
   ===================================================================== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 300px;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-primary);
    font-size: 13px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast.toast-success { border-left: 4px solid var(--success); }
.toast.toast-error { border-left: 4px solid var(--danger); }
.toast.toast-info { border-left: 4px solid var(--info); }

/* =====================================================================
   KULLANICI & YETKİLENDİRME PANELİ STİLLERİ
   ===================================================================== */
.switch-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    inset: 0;
    background-color: rgba(148, 163, 184, 0.3);
    transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.switch-toggle input:checked + .switch-slider {
    background-color: #f59e0b;
}

.switch-toggle input:checked + .switch-slider:before {
    transform: translateX(20px);
}

.perm-card {
    transition: all 0.2s ease;
    user-select: none;
}

.perm-card:hover {
    border-color: var(--primary) !important;
    background: rgba(37, 99, 235, 0.05) !important;
    transform: translateY(-1px);
}

.perm-card:has(input:checked) {
    border-color: var(--primary-light) !important;
    background: rgba(37, 99, 235, 0.1) !important;
}

.user-logout-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: scale(1.08);
}

/* =====================================================================
   YÜKSEK KONTRASTLI & OKUNAKLI MODAL PENCERE STİLLERİ
   (Zemin Beyaz ise: Siyah, Koyu Lacivert, Koyu Mavi, Kırmızı, Zümrüt)
   ===================================================================== */
.app-modal-card {
    background: var(--modal-card-bg, var(--bg-card));
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    color: var(--text-primary);
}

.app-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1.5px solid var(--border-color);
    background: var(--modal-header-bg, var(--bg-panel-header));
}

.app-modal-title {
    margin: 0;
    font-size: 16.5px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.app-modal-subtitle {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary-light);
}

.app-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: all 0.15s ease;
}
.app-modal-close:hover {
    color: var(--danger) !important;
    background: var(--danger-bg);
}

/* Bilgi / İkaz Kutuları (Notice Boxes) */
.app-modal-notice-teal {
    background: rgba(13, 148, 136, 0.15);
    border: 1.5px solid rgba(20, 184, 166, 0.45);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 12.5px;
    color: var(--text-primary);
    display: flex;
    gap: 12px;
    line-height: 1.5;
    box-shadow: 0 1px 3px rgba(13, 148, 136, 0.1);
}
.app-modal-notice-teal strong {
    color: #14b8a6;
    font-weight: 800;
}
.app-modal-notice-teal i {
    color: #14b8a6;
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.app-modal-notice-blue {
    background: var(--primary-glow);
    border: 1.5px solid var(--primary-light);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 12.5px;
    color: var(--text-primary);
    display: flex;
    gap: 12px;
    line-height: 1.5;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.1);
}
.app-modal-notice-blue strong {
    color: var(--primary-light);
    font-weight: 800;
}
.app-modal-notice-blue i {
    color: var(--primary-light);
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Form Etiketleri & Alanları */
.app-modal-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.1px;
}

.app-modal-card .form-control {
    background: var(--input-bg) !important;
    color: var(--text-primary) !important;
    border: 1.5px solid var(--border-color) !important;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.app-modal-card .form-control:focus {
    border-color: var(--primary-light) !important;
    box-shadow: 0 0 0 3px var(--primary-glow) !important;
}

/* Doğrulama / Captcha Kutusu */
.app-modal-section {
    margin-bottom: 18px;
    padding: 16px;
    background: var(--placeholder-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
}

.app-modal-section .section-title {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.app-modal-section .section-title i {
    color: var(--primary-light);
    margin-right: 4px;
}

.app-modal-hint {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
    line-height: 1.45;
}
.app-modal-hint i {
    color: var(--primary-light);
    margin-right: 3px;
}

/* Tarih Hızlı Seçim Butonları */
.app-modal-preset-btn {
    padding: 6px 12px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    border-radius: 7px !important;
    border: 1.5px solid var(--border-color) !important;
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    cursor: pointer;
    transition: all 0.15s ease;
}
.app-modal-preset-btn:hover {
    background: var(--primary-glow) !important;
    border-color: var(--primary-light) !important;
    color: var(--primary-light) !important;
    transform: translateY(-1px);
}
.app-modal-preset-btn.btn-preset-special {
    background: var(--accent-glow) !important;
    border: 1.5px solid var(--accent) !important;
    color: var(--accent) !important;
    font-weight: 800 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.app-modal-preset-btn.btn-preset-special:hover {
    background: var(--accent) !important;
    color: #ffffff !important;
}

/* Durum & Bildirim Mesajı Kutuları */
.app-modal-status-msg {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 10px;
}
.app-modal-status-msg.msg-error {
    background: var(--danger-bg) !important;
    border: 1.5px solid var(--danger) !important;
    color: var(--danger) !important;
}
.app-modal-status-msg.msg-warning {
    background: var(--warning-bg) !important;
    border: 1.5px solid var(--warning) !important;
    color: var(--warning) !important;
}
.app-modal-status-msg.msg-info {
    background: var(--info-bg) !important;
    border: 1.5px solid var(--info) !important;
    color: var(--info) !important;
}

/* Modal Footer & Butonları */
.app-modal-footer {
    padding: 16px 24px;
    border-top: 1.5px solid var(--border-color);
    background: var(--modal-header-bg, var(--bg-panel-header));
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.btn-modal-cancel {
    background: var(--bg-card) !important;
    border: 1.5px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    font-weight: 700 !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    transition: all 0.15s ease;
}
.btn-modal-cancel:hover {
    background: var(--danger-bg) !important;
    border-color: var(--danger) !important;
    color: var(--danger) !important;
}

.btn-modal-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 4px 14px var(--primary-glow);
    transition: all 0.15s ease;
}
.btn-modal-submit:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px var(--primary-glow);
}

/* =====================================================================
   SSAB ARDİYE TABLOSU - SATIR HOVER VE ODAKLANMA EFEKTİ
   ===================================================================== */
#ssab-ardiye-table tbody tr.ssab-row {
    transition: background-color 0.12s ease;
    cursor: pointer;
}

#ssab-ardiye-table tbody tr.ssab-row:hover {
    background-color: rgba(37, 99, 235, 0.14) !important;
}

#ssab-ardiye-table tbody tr.ssab-row:hover td {
    background-color: rgba(37, 99, 235, 0.14) !important;
}

#ssab-ardiye-table tbody tr.ssab-row:hover td:first-child {
    border-left: 4px solid var(--primary) !important;
    color: var(--primary) !important;
    font-weight: 800 !important;
    background-color: rgba(37, 99, 235, 0.22) !important;
    padding-left: 10px !important;
}

#ssab-ardiye-table tbody tr.ssab-row:hover td.cell-a0-ucret {
    background-color: rgba(186, 230, 253, 0.45) !important;
    color: #0369a1 !important;
}

#ssab-ardiye-table tbody tr.ssab-row:hover td.cell-b0-ucret {
    background-color: rgba(253, 230, 138, 0.45) !important;
    color: #92400e !important;
}

#ssab-ardiye-table tbody tr.ssab-row:hover td.cell-op-bedel {
    background-color: rgba(233, 213, 255, 0.45) !important;
    color: #6b21a8 !important;
}

#ssab-ardiye-table tbody tr.ssab-row:hover td.cell-gun-toplam {
    background-color: rgba(37, 99, 235, 0.28) !important;
    color: var(--primary) !important;
    font-weight: 900 !important;
}

/* =====================================================================
   GİB E-ARŞİV & LOGO EŞLEŞTİRME YANIP SÖNME (PULSE/BLINK) EFEKTLERİ
   ===================================================================== */
@keyframes pulseBlinkRed {
    0%, 100% {
        background-color: rgba(239, 68, 68, 0.22);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
        border-color: rgba(239, 68, 68, 0.85);
        color: #ef4444;
        transform: scale(1);
    }
    50% {
        background-color: rgba(239, 68, 68, 0.55);
        box-shadow: 0 0 14px 4px rgba(239, 68, 68, 0.65);
        border-color: #ff4d4d;
        color: #ffffff;
        transform: scale(1.04);
    }
}

@keyframes pulseBlinkOrange {
    0%, 100% {
        background-color: rgba(245, 158, 11, 0.22);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
        border-color: rgba(245, 158, 11, 0.85);
        color: #f59e0b;
        transform: scale(1);
    }
    50% {
        background-color: rgba(245, 158, 11, 0.55);
        box-shadow: 0 0 14px 4px rgba(245, 158, 11, 0.65);
        border-color: #fbbf24;
        color: #ffffff;
        transform: scale(1.04);
    }
}

@keyframes rowPulseRed {
    0%, 100% {
        background-color: rgba(239, 68, 68, 0.04);
    }
    50% {
        background-color: rgba(239, 68, 68, 0.14);
    }
}

@keyframes rowPulseOrange {
    0%, 100% {
        background-color: rgba(245, 158, 11, 0.04);
    }
    50% {
        background-color: rgba(245, 158, 11, 0.14);
    }
}

.badge-pulse-red {
    animation: pulseBlinkRed 1.2s infinite ease-in-out !important;
    font-weight: 800 !important;
    border-radius: 4px;
    padding: 4px 10px !important;
    letter-spacing: 0.3px;
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
}

.badge-pulse-orange {
    animation: pulseBlinkOrange 1.2s infinite ease-in-out !important;
    font-weight: 800 !important;
    border-radius: 4px;
    padding: 4px 10px !important;
    letter-spacing: 0.3px;
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
}

.badge-exact-green {
    background: rgba(16, 185, 129, 0.22) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.6) !important;
    font-weight: 800 !important;
    border-radius: 4px;
    padding: 4px 10px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
}

tr.row-blink-red {
    animation: rowPulseRed 1.8s infinite ease-in-out !important;
}

tr.row-blink-orange {
    animation: rowPulseOrange 1.8s infinite ease-in-out !important;
}

tr.row-exact-green {
    background-color: rgba(16, 185, 129, 0.04) !important;
}




