/* ================================================
   HENORA PET SHOP - Premium Dashboard Theme
   Brand Colors: #4b39bb (Mor) | #f4c430 (Sarı)
   Font: Montserrat
   ================================================ */

/* ================================================
   CSS VARIABLES - LIGHT & DARK THEME
   ================================================ */
:root,
[data-theme="light"] {
    /* Background Colors */
    --bg-primary: #f0f4f8;
    --bg-secondary: #e8eef5;
    --bg-tertiary: #f5f7fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    
    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* Border Colors */
    --border-color: rgba(75, 57, 187, 0.1);
    --border-light: rgba(102, 126, 234, 0.1);
    
    /* Brand Colors */
    --brand-primary: #4b39bb;
    --brand-secondary: #f4c430;
    --brand-accent: #8b5cf6;
    
    /* Shadow */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(75, 57, 187, 0.08);
    --shadow-lg: 0 15px 50px rgba(75, 57, 187, 0.12);
    
    /* Gradient Background */
    --bg-gradient: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 50%, #f5f7fa 100%);
    --bg-gradient-overlay: radial-gradient(ellipse at 20% 80%, rgba(75, 57, 187, 0.06) 0%, transparent 50%),
                           radial-gradient(ellipse at 80% 20%, rgba(244, 196, 48, 0.05) 0%, transparent 50%);
    
    /* Pet elements */
    --pet-opacity: 0.12;
    
    /* Cards */
    --card-bg: linear-gradient(145deg, #ffffff 0%, #fafbfe 100%);
    --card-header-bg: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #8b5cf6 100%);
    
    /* Table */
    --table-header-bg: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    --table-row-hover: rgba(102, 126, 234, 0.06);
    --table-border: rgba(102, 126, 234, 0.08);
    
    /* Input */
    --input-bg: #ffffff;
    --input-border: #dee2e6;
    --input-focus-border: #4b39bb;
    
    /* Footer */
    --footer-bg: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

[data-theme="dark"] {
    /* Background Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #0f172a;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    
    /* Text Colors */
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    
    /* Border Colors */
    --border-color: rgba(139, 92, 246, 0.2);
    --border-light: rgba(139, 92, 246, 0.15);
    
    /* Brand Colors */
    --brand-primary: #8b5cf6;
    --brand-secondary: #fbbf24;
    --brand-accent: #a78bfa;
    
    /* Shadow */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.5);
    
    /* Gradient Background */
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    --bg-gradient-overlay: radial-gradient(ellipse at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                           radial-gradient(ellipse at 80% 20%, rgba(251, 191, 36, 0.08) 0%, transparent 50%);
    
    /* Pet elements */
    --pet-opacity: 0.06;
    
    /* Cards */
    --card-bg: linear-gradient(145deg, #1e293b 0%, #334155 100%);
    --card-header-bg: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #7c3aed 100%);
    
    /* Table */
    --table-header-bg: linear-gradient(180deg, #1e293b 0%, #334155 100%);
    --table-row-hover: rgba(139, 92, 246, 0.1);
    --table-border: rgba(139, 92, 246, 0.1);
    
    /* Input */
    --input-bg: #1e293b;
    --input-border: #475569;
    --input-focus-border: #8b5cf6;
    
    /* Footer */
    --footer-bg: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* ================================================
   THEME TOGGLE BUTTON
   ================================================ */
.theme-toggle-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}

[data-theme="light"] .theme-icon-dark {
    display: none;
}

[data-theme="dark"] .theme-icon-light {
    display: none;
}

/* ================================================
   ANIMATED PET SHOP BACKGROUND
   Yumuşak, göz yormayan açık tema
   Pati izleri, kemikler ve kalpler ile hareketli arka plan
   ================================================ */

body {
    background: var(--bg-gradient) !important;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    color: var(--text-primary);
}

/* Animated Background Container */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: var(--bg-gradient-overlay);
}

/* Floating Pet Elements Container */
.pet-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Individual Floating Elements */
.pet-element {
    position: absolute;
    opacity: var(--pet-opacity);
    animation: floatPet 20s ease-in-out infinite;
    font-size: 2rem;
    filter: blur(0.3px) grayscale(20%);
}

/* Paw Prints */
.paw-1 { left: 5%; top: 15%; animation-delay: 0s; animation-duration: 25s; font-size: 1.8rem; }
.paw-2 { left: 15%; top: 45%; animation-delay: -3s; animation-duration: 22s; font-size: 2.2rem; }
.paw-3 { left: 25%; top: 75%; animation-delay: -6s; animation-duration: 28s; font-size: 1.5rem; }
.paw-4 { right: 10%; top: 25%; animation-delay: -9s; animation-duration: 24s; font-size: 2rem; }
.paw-5 { right: 20%; top: 55%; animation-delay: -12s; animation-duration: 26s; font-size: 1.7rem; }
.paw-6 { right: 5%; top: 85%; animation-delay: -15s; animation-duration: 23s; font-size: 2.3rem; }

/* Bones */
.bone-1 { left: 8%; top: 30%; animation-delay: -2s; animation-duration: 30s; font-size: 1.6rem; }
.bone-2 { left: 35%; top: 60%; animation-delay: -8s; animation-duration: 27s; font-size: 2rem; }
.bone-3 { right: 15%; top: 40%; animation-delay: -5s; animation-duration: 32s; font-size: 1.8rem; }
.bone-4 { right: 30%; top: 80%; animation-delay: -11s; animation-duration: 25s; font-size: 1.4rem; }

/* Hearts */
.heart-1 { left: 12%; top: 20%; animation-delay: -4s; animation-duration: 28s; font-size: 1.4rem; }
.heart-2 { right: 25%; top: 15%; animation-delay: -7s; animation-duration: 24s; font-size: 1.6rem; }
.heart-3 { left: 40%; top: 90%; animation-delay: -10s; animation-duration: 26s; font-size: 1.3rem; }

/* Fish */
.fish-1 { left: 50%; top: 35%; animation-delay: -6s; animation-duration: 29s; font-size: 1.8rem; }
.fish-2 { right: 8%; top: 65%; animation-delay: -13s; animation-duration: 31s; font-size: 1.5rem; }

/* Stars */
.star-1 { left: 3%; top: 50%; animation-delay: -1s; animation-duration: 20s; font-size: 1.2rem; }
.star-2 { right: 3%; top: 10%; animation-delay: -14s; animation-duration: 22s; font-size: 1rem; }
.star-3 { left: 45%; top: 5%; animation-delay: -16s; animation-duration: 24s; font-size: 1.1rem; }

@keyframes floatPet {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-20px) rotate(5deg) scale(1.05);
    }
    50% {
        transform: translateY(-10px) rotate(-3deg) scale(0.95);
    }
    75% {
        transform: translateY(-25px) rotate(8deg) scale(1.02);
    }
}

/* Subtle sparkle effect */
@keyframes sparkle {
    0%, 100% { opacity: 0.08; }
    50% { opacity: 0.18; }
}

.star-1, .star-2, .star-3 {
    animation: floatPet 20s ease-in-out infinite, sparkle 3s ease-in-out infinite;
}

/* Main content should be above background */
.wrapper,
.sidebar,
.header,
.body,
.footer {
    position: relative;
    z-index: 1;
}

/* Footer - Soft Theme */
footer.footer {
    background: var(--footer-bg) !important;
    border-top: 1px solid var(--border-color) !important;
    color: var(--text-muted);
    padding: 1rem 1.5rem;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.02);
}
footer.footer a {
    color: var(--brand-primary);
    transition: all 0.3s ease;
}
footer.footer a:hover {
    color: var(--brand-accent);
    text-decoration: none;
}

/* ================================================
   END ANIMATED BACKGROUND
   ================================================ */

/* Global Font */
body, html {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

* {
    font-family: inherit;
}

/* ================================================
   DASHBOARD CONTAINER - Stable Centered Layout
   Zoom-independent, works on all screen sizes
   NO sidebar offset - layout already handles it
   ================================================ */

.dashboard-wrapper {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 1.5rem;
    box-sizing: border-box;
}

/* Ensure parent .body doesn't restrict width */
.body.flex-grow-1 {
    width: 100%;
    min-width: 0; /* Prevent flex item overflow */
}

/* ================================================
   SIDEBAR LOGO - Legacy support (hidden by premium header)
   ================================================ */

.sidebar-header {
    display: none !important; /* Hidden - using premium header */
}

.sidebar-logo {
    max-height: 100%;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sidebar-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.678));
}

.sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none !important;
    width: 100%;
}

/* Pati emojisini gizle (varsa) */
.sidebar-brand::before {
    display: none !important;
    content: none !important;
}

/* ================================================
   NOTIFICATION SYSTEM - Premium Design
   ================================================ */

.notification-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    text-decoration: none !important;
}

.notification-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
    background: var(--bg-card);
}

.notification-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    border: 2px solid var(--bg-card);
}

.notification-dropdown {
    width: 360px;
    max-width: 90vw;
    padding: 0;
    border: none;
    border-radius: 16px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    background: #fff;
}

[data-coreui-theme="dark"] .notification-dropdown {
    background: #1e1e2d;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #4b39bb 0%, #6b5cc7 100%);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.notification-header .mark-all-read {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.notification-header .mark-all-read:hover {
    color: white;
    text-decoration: underline;
}

.notification-body {
    max-height: 400px;
    overflow-y: auto;
}

.notification-body::-webkit-scrollbar {
    width: 6px;
}

.notification-body::-webkit-scrollbar-track {
    background: transparent;
}

.notification-body::-webkit-scrollbar-thumb {
    background: rgba(75, 57, 187, 0.3);
    border-radius: 3px;
}

.notification-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #6b7280;
}

.notification-empty .empty-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.notification-empty .empty-text {
    font-size: 0.9rem;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

[data-coreui-theme="dark"] .notification-item {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.notification-item:hover {
    background: rgba(75, 57, 187, 0.05);
}

.notification-item.unread {
    background: rgba(75, 57, 187, 0.03);
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #4b39bb 0%, #8b5cf6 100%);
}

.notification-item {
    position: relative;
}

.notif-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.notif-content {
    flex: 1;
    min-width: 0;
}

.notif-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: #1f2937;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-coreui-theme="dark"] .notif-title {
    color: #e5e7eb;
}

.notif-message {
    font-size: 0.8rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-time {
    font-size: 0.7rem;
    color: #9ca3af;
    margin-top: 4px;
}

.notification-footer {
    padding: 12px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(0, 0, 0, 0.02);
}

[data-coreui-theme="dark"] .notification-footer {
    border-top-color: rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.notification-footer a {
    color: #4b39bb;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.notification-footer a:hover {
    text-decoration: underline;
}

/* ================================================
   CURRENCY TICKER - Header İçinde Entegre
   ================================================ */

.header-ticker {
    flex: 1;
    overflow: hidden;
    margin: 0 1rem;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.currency-ticker-track {
    display: flex;
    gap: 2rem;
    animation: currencyTickerScroll 50s linear infinite;
    width: max-content;
}

.currency-ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    font-size: 0.78rem;
    color: #374151;
    padding: 0;
    background: none;
    border: none;
    transition: all 0.2s ease;
}

.ticker-item:hover {
    color: var(--henora-primary);
    transform: none;
}

.ticker-item.loading {
    background: transparent;
    border: none;
    opacity: 0.6;
}

.ticker-icon {
    font-size: 0.9rem;
}

.ticker-name {
    font-weight: 600;
    color: #6b7280;
    font-size: 0.72rem;
}

.ticker-value {
    font-weight: 700;
    color: #1f2937;
    font-size: 0.8rem;
}

.ticker-change {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0;
    border-radius: 0;
    background: none;
}

.ticker-change.up {
    color: #10b981;
    background: none;
}

.ticker-change.down {
    color: #ef4444;
    background: none;
}

@keyframes currencyTickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ================================================
   ROOT VARIABLES
   ================================================ */

:root {
    /* Marka Renkleri */
    --henora-primary: #4b39bb;
    --henora-primary-dark: #3d2e9e;
    --henora-primary-light: #6b5cc7;
    --henora-secondary: #f4c430;
    --henora-secondary-dark: #d9ad1d;
    --henora-secondary-light: #f7d35c;
    
    /* Durum Renkleri */
    --success: #10b981;
    --success-dark: #059669;
    --info: #0ea5e9;
    --info-dark: #0284c7;
    --warning: #f59e0b;
    --warning-dark: #d97706;
    --danger: #ef4444;
    --danger-dark: #dc2626;
    
    /* Nötr Renkler */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Gradient'ler */
    --gradient-primary: linear-gradient(135deg, #4b39bb 0%, #6b5cc7 100%);
    --gradient-secondary: linear-gradient(135deg, #f4c430 0%, #f7d35c 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --gradient-info: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-danger: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    
    /* Gölgeler */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-henora: 0 4px 14px 0 rgba(75, 57, 187, 0.25);
    
    /* Sidebar */
    --sidebar-width: 260px;
    --sidebar-bg: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.25rem;
}

/* ================================================
   BASE STYLES
   ================================================ */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f0f2f5;
    color: var(--gray-800);
    line-height: 1.6;
}

/* ================================================
   SIDEBAR SHELL SYSTEM
   Premium SaaS-grade sidebar architecture
   Hamburger is part of sidebar, NOT header
   ================================================ */

/* ================================================
   Z-INDEX HIERARCHY (Strict Order)
   - Header: 1200 (highest - clean top bar)
   - Sidebar Shell: 1000 (hamburger + sidebar)
   - Backdrop: 900 (overlay behind sidebar)
   - Content: normal flow
   ================================================ */

/* Header - ALWAYS on top, clean and untouched */
.header,
.header.header-sticky {
    z-index: 1200 !important;
    position: sticky !important;
    top: 0;
    background: var(--bg-card) !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: var(--shadow-sm) !important;
    min-height: 60px;
}

/* Dark mode header specific */
[data-theme="dark"] .header,
[data-theme="dark"] .header.header-sticky {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2) !important;
}

/* ================================================
   SIDEBAR SHELL - Container for hamburger + sidebar
   ================================================ */
.sidebar-shell {
    position: fixed;
    top: 60px; /* Below header */
    left: 0;
    height: calc(100vh - 60px);
    width: 60px; /* Collapsed: just hamburger rail */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    pointer-events: none; /* Shell doesn't block clicks */
}

/* When sidebar is open, shell expands */
body.sidebar-open .sidebar-shell {
    width: 260px;
}

/* ================================================
   SIDEBAR HAMBURGER - Opens sidebar (visible when closed)
   ================================================ */
.sidebar-hamburger {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: linear-gradient(135deg, var(--henora-primary, #4b39bb) 0%, #3d2d9c 100%);
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(75, 57, 187, 0.35);
    pointer-events: auto;
    z-index: 20;
    opacity: 1;
    visibility: visible;
}

/* Hide hamburger when sidebar is open */
body.sidebar-open .sidebar-hamburger {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.8);
}

.sidebar-hamburger:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(75, 57, 187, 0.45),
                0 0 0 4px rgba(75, 57, 187, 0.1);
}

.sidebar-hamburger:active {
    transform: scale(0.95);
}

/* Hamburger Icon - 3 bars */
.hamburger-icon {
    width: 22px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon .bar {
    width: 100%;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================
   SIDEBAR - Inside shell, slides in from left
   PREMIUM GLASSMORPHISM DESIGN
   ================================================ */
.sidebar-shell .sidebar,
.sidebar-shell .sidebar.sidebar-dark {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 280px !important;
    height: 100% !important;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                visibility 0.4s ease;
    /* Midnight Ocean Theme */
    background: linear-gradient(165deg, 
        #0a0e1a 0%, 
        #0f1629 10%,
        #141d33 25%,
        #1a1b4d 45%,
        #1e1b4b 55%,
        #141d33 75%,
        #0f1629 90%,
        #0a0e1a 100%) !important;
    border-right: 1px solid rgba(99, 102, 241, 0.2) !important;
    box-shadow: 
        4px 0 50px rgba(0, 0, 0, 0.6),
        inset -1px 0 0 rgba(99, 102, 241, 0.1),
        inset 0 0 80px rgba(99, 102, 241, 0.03) !important;
    pointer-events: auto;
    z-index: 5;
    padding-top: 0 !important;
}

/* Sidebar ambient glow overlay - Blue tint */
.sidebar-shell .sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.sidebar-shell .sidebar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(ellipse at 50% 100%, rgba(139, 92, 246, 0.1) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* Sidebar visible when body has .sidebar-open */
body.sidebar-open .sidebar-shell .sidebar,
body.sidebar-open .sidebar-shell .sidebar.sidebar-dark {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ================================================
   PREMIUM SIDEBAR HEADER
   Logo + Close Button in elegant container
   ================================================ */
.sidebar-header-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85px;
    padding: 16px 18px 16px 22px;
    background: linear-gradient(145deg, 
        rgba(99, 102, 241, 0.12) 0%, 
        rgba(79, 70, 229, 0.08) 40%,
        rgba(99, 102, 241, 0.04) 70%,
        transparent 100%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Premium header top glow line */
.sidebar-header-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(99, 102, 241, 0.7) 20%,
        rgba(244, 196, 48, 0.5) 50%,
        rgba(99, 102, 241, 0.7) 80%,
        transparent 100%);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.sidebar-header-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
}

/* Premium Logo */
.sidebar-brand-premium {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-brand-premium:hover {
    transform: scale(1.02);
}

.sidebar-logo-premium {
    height: auto;
    max-height: 60px;
    width: 100%;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(75, 57, 187, 0.35));
    transition: all 0.3s ease;
}

.sidebar-brand-premium:hover .sidebar-logo-premium {
    filter: drop-shadow(0 4px 15px rgba(75, 57, 187, 0.5));
    transform: scale(1.03);
}

/* ================================================
   PREMIUM CLOSE BUTTON
   ================================================ */
.sidebar-close-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sidebar-close-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(75, 57, 187, 0.3) 0%, 
        rgba(75, 57, 187, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.sidebar-close-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(75, 57, 187, 0.25);
}

.sidebar-close-btn:hover::before {
    opacity: 1;
}

.sidebar-close-btn:active {
    transform: scale(0.95);
}

/* Close Icon - X shape */
.close-icon {
    width: 18px;
    height: 18px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-line {
    position: absolute;
    width: 18px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.close-line:first-child {
    transform: rotate(45deg);
}

.close-line:last-child {
    transform: rotate(-45deg);
}

.sidebar-close-btn:hover .close-line {
    background: white;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* ================================================
   SIDEBAR NAV - Scrollable area
   ================================================ */
.sidebar-shell .sidebar .sidebar-nav {
    height: calc(100% - 68px);
    overflow-y: auto;
    padding-top: 0.75rem !important;
}

/* Hide old sidebar-header styles */
.sidebar-shell .sidebar .sidebar-header {
    display: none !important;
}

/* ================================================
   SIDEBAR BACKDROP - Below everything
   ================================================ */
.sidebar-backdrop {
    position: fixed;
    top: 60px; /* Below header */
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(0, 0, 0, 0.4);
    /* NO BLUR - clean page transitions */
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

/* Show backdrop when sidebar is open */
body.sidebar-open .sidebar-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ================================================
   CONTENT WRAPPER - Full width always
   ================================================ */
.wrapper,
.wrapper.d-flex {
    margin-left: 0 !important;
    width: 100% !important;
    transition: none !important;
}

/* Container ve Row overflow kontrolü */
.body {
    overflow-x: hidden;
    max-width: 100%;
}

.container-lg,
.container-fluid {
    max-width: 100%;
}

.row {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.row.g-4 {
    margin-left: calc(-0.5 * 1.5rem);
    margin-right: calc(-0.5 * 1.5rem);
}

.col-12 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* ================================================
   MOBILE RESPONSIVE
   ================================================ */
@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .header,
    .header.header-sticky {
        min-height: 52px;
    }
    
    .sidebar-shell {
        top: 52px;
        height: calc(100vh - 52px);
        width: 52px;
    }
    
    .sidebar-hamburger {
        top: 6px;
        left: 6px;
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    
    .hamburger-icon {
        width: 18px;
        height: 14px;
    }
    
    .hamburger-icon .bar {
        height: 2px;
    }
    
    body.sidebar-open .hamburger-icon .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    body.sidebar-open .hamburger-icon .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    /* Mobile Premium Header */
    .sidebar-header-premium {
        height: 56px;
        padding: 0 12px 0 16px;
    }
    
    .sidebar-logo-premium {
        height: 42px;
        max-width: 150px;
    }
    
    .sidebar-close-btn {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    
    .close-icon {
        width: 14px;
        height: 14px;
    }
    
    .close-line {
        width: 14px;
    }
    
    .sidebar-shell .sidebar .sidebar-nav {
        height: calc(100% - 56px);
    }
    
    .sidebar-backdrop {
        top: 52px;
        height: calc(100vh - 52px);
    }
    
    .dashboard-wrapper {
        padding: 0.75rem !important;
    }
    
    .card {
        border-radius: 12px !important;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    .fs-1 { font-size: 1.75rem !important; }
    .fs-2 { font-size: 1.5rem !important; }
    .fs-3 { font-size: 1.25rem !important; }
    .fs-4 { font-size: 1.1rem !important; }
    
    .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
    }
    
    .row > [class*="col-"] {
        margin-bottom: 0.75rem;
    }
    
    .header .container-fluid {
        padding: 0 0.5rem !important;
    }
    
    .header-ticker {
        display: none !important;
    }
}

/* Tablet optimization */
@media (min-width: 577px) and (max-width: 991.98px) {
    .dashboard-wrapper {
        padding: 1rem !important;
    }
    
    .card-body {
        padding: 1.25rem !important;
    }
}

/* ================================================
   SIDEBAR - Visual Styles
   ================================================ */

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top left, rgba(75, 57, 187, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at bottom right, rgba(244, 196, 48, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.sidebar > * {
    position: relative;
    z-index: 1;
}

/* Simplebar boşluk düzeltmesi */
.sidebar .simplebar-track.simplebar-vertical {
    width: 0 !important;
    display: none !important;
}

.sidebar .simplebar-content {
    padding-right: 0 !important;
}

.sidebar .simplebar-offset {
    right: 0 !important;
}

/* Old sidebar-header styles - override by premium header */
/* Keeping for backwards compatibility */

/* Emoji Nav Icons - Premium Style */
.nav-icon-emoji {
    font-size: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.15), rgba(75, 57, 187, 0.1));
    border-radius: 10px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.sidebar .nav-link:hover .nav-icon-emoji {
    transform: scale(1.1) rotate(-3deg);
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.25), rgba(75, 57, 187, 0.2));
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.25);
}

.sidebar .nav-link.active .nav-icon-emoji {
    transform: scale(1.05);
    background: linear-gradient(145deg, rgba(244, 196, 48, 0.2), rgba(139, 92, 246, 0.25));
    border-color: rgba(244, 196, 48, 0.3);
    box-shadow: 
        0 4px 15px rgba(244, 196, 48, 0.2),
        0 0 20px rgba(139, 92, 246, 0.15);
}

.sidebar-nav {
    padding: 1rem 1rem !important;
    position: relative;
    z-index: 1;
}

.sidebar .nav-title {
    color: var(--henora-secondary) !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    padding: 1.8rem 1rem 0.6rem !important;
    margin-top: 0.25rem;
    text-shadow: 0 0 25px rgba(244, 196, 48, 0.4);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar .nav-title::before {
    content: '';
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, var(--henora-secondary), transparent);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(244, 196, 48, 0.5);
}

.sidebar .nav-item {
    margin-bottom: 0.4rem;
    position: relative;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 0.9rem 1rem !important;
    border-radius: 14px !important;
    font-weight: 500 !important;
    font-size: 0.88rem !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    backdrop-filter: none;
}

/* Hover glow background */
.sidebar .nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(75, 57, 187, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

/* Left accent bar */
.sidebar .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background: linear-gradient(180deg, var(--henora-secondary), #8b5cf6);
    border-radius: 0 4px 4px 0;
    transition: transform 0.3s ease;
    box-shadow: 0 0 12px rgba(244, 196, 48, 0.5);
}

.sidebar .nav-link:hover {
    color: #fff !important;
    transform: translateX(5px);
    border-color: rgba(139, 92, 246, 0.2);
}

.sidebar .nav-link:hover::before {
    opacity: 1;
}

.sidebar .nav-link:hover::after {
    transform: translateY(-50%) scaleY(1);
}

.sidebar .nav-link.active {
    color: #fff !important;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.35) 0%, 
        rgba(75, 57, 187, 0.25) 50%,
        rgba(139, 92, 246, 0.2) 100%) !important;
    box-shadow: 
        0 8px 25px rgba(139, 92, 246, 0.25),
        0 0 0 1px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transform: translateX(0);
    font-weight: 600 !important;
    border: 1px solid rgba(139, 92, 246, 0.35);
}

.sidebar .nav-link.active::before {
    opacity: 0;
}

.sidebar .nav-link.active::after {
    transform: translateY(-50%) scaleY(1);
    height: 70%;
    background: linear-gradient(180deg, #f4c430, #fbbf24, #8b5cf6);
    box-shadow: 0 0 15px rgba(244, 196, 48, 0.6);
}

.sidebar .nav-link.active .nav-icon-emoji {
    filter: drop-shadow(0 0 8px rgba(244, 196, 48, 0.7)) !important;
    transform: scale(1.1);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

.sidebar .nav-link .nav-icon {
    font-size: 1.2rem !important;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover .nav-icon {
    opacity: 1;
    transform: scale(1.1);
}

.sidebar .nav-link.active .nav-icon {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.5));
}

/* Logout Link Special Style - Premium Red Theme */
.sidebar .nav-link[href="logout.php"] {
    margin-top: 1.5rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%) !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
}

.sidebar .nav-link[href="logout.php"]::after {
    background: linear-gradient(180deg, #ef4444, #dc2626) !important;
}

.sidebar .nav-link[href="logout.php"]:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.15) 100%) !important;
    color: #fca5a5 !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2);
}

.sidebar .nav-link[href="logout.php"]:hover .nav-icon-emoji {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.25), rgba(220, 38, 38, 0.2)) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
}

/* Sidebar Scroll - Hidden Scrollbar */
.sidebar,
.sidebar-nav,
.simplebar-content-wrapper {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scroll-behavior: smooth;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.sidebar::-webkit-scrollbar,
.sidebar-nav::-webkit-scrollbar,
.simplebar-content-wrapper::-webkit-scrollbar,
.simplebar-track {
    display: none !important;
    width: 0 !important;
    background: transparent !important;
}

/* ================================================
   HEADER - Premium Compact Design
   ================================================ */

.header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    border-bottom: 1px solid rgba(75, 57, 187, 0.08) !important;
    min-height: 56px !important;
    height: 56px !important;
}

.header .container-fluid {
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.header-nav .nav-link {
    padding: 8px 16px !important;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(75, 57, 187, 0.08) 0%, rgba(75, 57, 187, 0.04) 100%);
    color: var(--gray-700) !important;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.header-nav .nav-link:hover {
    background: linear-gradient(135deg, rgba(75, 57, 187, 0.15) 0%, rgba(75, 57, 187, 0.08) 100%);
    text-decoration: none;
}

.header-brand-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-brand-emoji {
    font-size: 1.1rem;
    animation: pawBounce 2s ease-in-out infinite;
}

@keyframes pawBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.header-nav .nav-link i {
    color: var(--henora-primary);
}

/* ================================================
   WELCOME CARD - Premium Header
   ================================================ */

.welcome-card {
    background: var(--gradient-dark) !important;
    border-radius: var(--radius-2xl) !important;
    border: none !important;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    margin-top: 1.5rem !important;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(75, 57, 187, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-card::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(244, 196, 48, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-card .card-body {
    position: relative;
    z-index: 1;
    color: #fff !important;
    padding: 1.25rem 1.5rem !important;
}

.welcome-card .greeting {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #fff !important;
    margin-bottom: 0.25rem;
}

.welcome-card .date-time {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

.welcome-card p {
    color: rgba(255, 255, 255, 0.6) !important;
    margin-top: 0.75rem;
}

/* Quick Actions */
.quick-actions .btn {
    border-radius: var(--radius-lg) !important;
    padding: 0.625rem 1.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.quick-actions .btn-light {
    background: var(--henora-secondary) !important;
    border: none !important;
    color: var(--gray-900) !important;
}

.quick-actions .btn-light:hover {
    background: var(--henora-secondary-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 196, 48, 0.4);
}

.quick-actions .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    color: #fff !important;
    background: transparent !important;
}

.quick-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

/* Quick Actions Vertical - Premium Buttons */
.quick-actions-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.btn-action-income,
.btn-action-expense {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-action-income {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-action-income:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
    color: white;
}

.btn-action-income::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-action-income:hover::before {
    left: 100%;
}

.btn-action-expense {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.btn-action-expense:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(239, 68, 68, 0.5);
    color: white;
}

.btn-action-expense::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-action-expense:hover::before {
    left: 100%;
}

.btn-action-income i,
.btn-action-expense i {
    font-size: 1.1rem;
}

/* ================================================
   WEATHER WIDGET - Premium Design
   ================================================ */

.weather-widget {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    height: 155px;
    flex-shrink: 0;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.weather-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    padding: 0.75rem;
}

.weather-loading i {
    font-size: 1.1rem;
    animation: pulse 1.5s infinite;
}

.weather-content {
    position: relative;
}

.weather-error {
    opacity: 0.8;
}

/* Weather Main Layout - 2 satırlı */
.weather-main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

/* Üst satır - Sıcaklık ve detaylar */
.weather-primary {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 120px;
}

/* Alt satır - İstatistikler */
.weather-secondary {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.weather-icon {
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
}

.weather-details {
    flex: 1;
    min-width: 0;
}

.weather-temp {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.weather-desc {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    max-width: 100px;
}

/* Weather Feels - Hissedilen & Rüzgar */
.weather-feels {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 2px 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

.weather-feel-item {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.weather-feel-item .feel-icon {
    font-size: 0.5rem;
}

.weather-feel-item .feel-value {
    font-weight: 700;
    font-size: 0.55rem;
    color: #fff;
}

.weather-feel-item .feel-label {
    font-size: 0.4rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Weather Stats - Nem & Yağış */
.weather-stats {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 2px 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

.weather-stat-item {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.weather-stat-item .stat-icon {
    font-size: 0.5rem;
}

.weather-stat-item .stat-value {
    font-weight: 700;
    font-size: 0.55rem;
    color: #fff;
}

.weather-stat-item .stat-label {
    font-size: 0.4rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Weather Sunrise/Sunset */
.weather-extra {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 2px 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

.weather-sun-item {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.sun-icon {
    font-size: 0.5rem;
}

.sun-time {
    font-weight: 600;
    font-size: 0.5rem;
}

/* Weather Location */
.weather-location {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Saatlik Hava Tahmini - Premium Design */
.weather-hourly-wrapper {
    position: relative;
    margin-top: 4px;
}

.weather-hourly {
    display: flex;
    gap: 3px;
    padding: 4px 5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-radius: 8px;
    overflow-x: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    cursor: default;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    position: relative;
    transition: overflow 0.3s ease;
}

/* Hover'da scroll aktif */
.weather-hourly:hover {
    overflow-x: auto;
    cursor: grab;
}

.weather-hourly:active {
    cursor: grabbing;
}

/* Scroll fade efekti - KALDIRILDI, temiz görünüm */
/* Scroll fade efekti - KALDIRILDI, temiz görünüm */
.weather-hourly::before,
.weather-hourly::after {
    display: none;
}

.weather-hourly::-webkit-scrollbar {
    height: 3px;
}

.weather-hourly::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.weather-hourly::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 2px;
}

.weather-hourly::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.7);
}

/* Scroll indicator arrows */
.scroll-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: rgba(75, 57, 187, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
    font-size: 10px;
    color: white;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.scroll-indicator:hover {
    background: rgba(75, 57, 187, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.scroll-indicator-left {
    left: 4px;
}

.scroll-indicator-right {
    right: 4px;
}

.weather-hourly-wrapper:hover .scroll-indicator.visible {
    opacity: 1;
}

.hourly-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 4px 5px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-radius: 6px;
    min-width: 32px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.hourly-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.hourly-item:hover {
    background: linear-gradient(180deg, rgba(75, 57, 187, 0.35) 0%, rgba(75, 57, 187, 0.15) 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 10px rgba(75, 57, 187, 0.3);
    border-color: rgba(75, 57, 187, 0.4);
}

.hourly-time {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    letter-spacing: 0.2px;
}

.hourly-icon {
    font-size: 0.75rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
    transition: transform 0.25s ease;
}



.hourly-item:hover .hourly-icon {
    transform: scale(1.15);
}

.hourly-temp {
    font-size: 0.55rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* ================================================
   WEATHER ANIMATIONS - Premium Professional Design
   ================================================ */

.weather-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    border-radius: var(--radius-2xl);
    opacity: 0.85;
}

/* Güneş Animasyonu - Premium */
.sun-animation {
    position: absolute;
    top: -20px;
    right: 30px;
    filter: blur(0.5px);
}

.sun {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at 30% 30%, 
        #fff9c4 0%, 
        #ffd93d 25%, 
        #f4c430 50%, 
        rgba(244, 196, 48, 0.4) 75%, 
        transparent 100%);
    border-radius: 50%;
    animation: sunPulse 4s ease-in-out infinite;
    box-shadow: 
        0 0 40px rgba(255, 217, 61, 0.5),
        0 0 80px rgba(255, 217, 61, 0.3),
        0 0 120px rgba(255, 217, 61, 0.15),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.sun-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: 
        radial-gradient(circle, 
            rgba(255, 217, 61, 0.2) 0%, 
            rgba(255, 217, 61, 0.1) 40%,
            transparent 70%);
    border-radius: 50%;
    animation: sunRaysPulse 3s ease-in-out infinite;
}

.sun-rays::before,
.sun-rays::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, 
        transparent 40%, 
        rgba(255, 217, 61, 0.15) 50%, 
        transparent 60%);
    transform-origin: center;
}

.sun-rays::before {
    animation: rotateSunRays 20s linear infinite;
}

.sun-rays::after {
    animation: rotateSunRays 25s linear infinite reverse;
}

@keyframes sunPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; filter: brightness(1); }
    50% { transform: scale(1.05); opacity: 1; filter: brightness(1.1); }
}

@keyframes sunRaysPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.9; }
}

@keyframes rotateSunRays {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Yağmur Animasyonu - Premium */
.rain-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    perspective: 1000px;
}

.rain-drop {
    position: absolute;
    top: -30px;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(174, 194, 224, 0.4) 20%,
        rgba(174, 194, 224, 0.8) 80%,
        rgba(174, 194, 224, 0.6) 100%);
    border-radius: 0 0 3px 3px;
    animation: rainFall 0.8s linear infinite;
    transform-origin: top center;
    filter: blur(0.3px);
    box-shadow: 0 0 3px rgba(174, 194, 224, 0.3);
}

.rain-drop::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(174, 194, 224, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: rainSplash 0.8s linear infinite;
}

@keyframes rainFall {
    0% { 
        transform: translateY(-30px) scaleY(0.8); 
        opacity: 0; 
    }
    10% { 
        opacity: 0.7; 
    }
    90% { 
        opacity: 0.7; 
    }
    100% { 
        transform: translateY(280px) scaleY(1.2); 
        opacity: 0; 
    }
}

@keyframes rainSplash {
    0%, 85% { opacity: 0; transform: translateX(-50%) scale(0); }
    90% { opacity: 0.8; transform: translateX(-50%) scale(1.5); }
    100% { opacity: 0; transform: translateX(-50%) scale(2.5); }
}

/* Kar Animasyonu - Premium */
.snow-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.snow-flake {
    position: absolute;
    top: -15px;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.9) 30%,
        rgba(200, 220, 255, 0.6) 60%,
        rgba(200, 220, 255, 0.2) 100%);
    border-radius: 50%;
    animation: snowFall 6s ease-in-out infinite;
    box-shadow: 
        0 0 6px rgba(255, 255, 255, 0.8),
        0 0 12px rgba(200, 220, 255, 0.4);
    filter: blur(0.2px);
}

.snow-flake::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 30%;
    height: 30%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    filter: blur(1px);
}

@keyframes snowFall {
    0% { 
        transform: translateY(-15px) translateX(0) rotate(0deg); 
        opacity: 0; 
    }
    5% { 
        opacity: 0.9; 
    }
    50% { 
        transform: translateY(140px) translateX(20px) rotate(180deg); 
        opacity: 0.8; 
    }
    100% { 
        transform: translateY(300px) translateX(-10px) rotate(360deg); 
        opacity: 0; 
    }
}

/* Bulut Animasyonu - Premium */
.clouds-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cloud {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.2;
    animation: cloudFloat 25s linear infinite;
    filter: blur(1px) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: opacity 0.5s ease;
}

.cloud:hover {
    opacity: 0.35;
}

.cloud-1 { 
    top: 5%; 
    left: -60px; 
    animation-duration: 30s; 
    font-size: 3rem; 
    opacity: 0.25;
}

.cloud-2 { 
    top: 35%; 
    left: -80px; 
    animation-duration: 40s; 
    animation-delay: 8s; 
    opacity: 0.18;
}

.cloud-3 { 
    top: 55%; 
    left: -50px; 
    animation-duration: 35s; 
    animation-delay: 15s; 
    font-size: 2rem; 
    opacity: 0.15;
}

@keyframes cloudFloat {
    0% { 
        transform: translateX(-80px); 
        opacity: 0;
    }
    5% {
        opacity: var(--cloud-opacity, 0.2);
    }
    95% {
        opacity: var(--cloud-opacity, 0.2);
    }
    100% { 
        transform: translateX(calc(100% + 100px)); 
        opacity: 0;
    }
}

/* Fırtına / Şimşek - Premium */
.storm-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.lightning {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    transition: all 0.05s ease;
    border-radius: inherit;
}

.lightning.flash {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(200, 220, 255, 0.2) 50%,
        transparent 100%);
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.2);
}

/* Sis Animasyonu - Premium */
.fog-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.fog-layer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.05) 15%,
        rgba(255, 255, 255, 0.12) 35%, 
        rgba(255, 255, 255, 0.18) 50%, 
        rgba(255, 255, 255, 0.12) 65%,
        rgba(255, 255, 255, 0.05) 85%,
        transparent 100%
    );
    animation: fogMove 20s linear infinite;
    filter: blur(8px);
}

.fog-1 { 
    animation-duration: 18s; 
    opacity: 0.7;
}

.fog-2 { 
    animation-duration: 25s; 
    animation-delay: 6s; 
    top: 25%; 
    opacity: 0.5;
}

.fog-3 {
    animation-duration: 22s;
    animation-delay: 12s;
    top: 50%;
    opacity: 0.4;
}

@keyframes fogMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(33.33%); }
}

/* ================================================
   AI TIPS MARQUEE (Soldan Sağa Kayan Yazı)
   ================================================ */

.ai-marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ai-marquee-track {
    display: flex;
    gap: 4rem;
    animation: marqueeScroll 120s linear infinite;
    width: max-content;
}

.ai-marquee-track:hover {
    animation-play-state: paused;
}

.ai-marquee-item {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ================================================
   STAT WIDGETS - Henora Premium Dark Theme
   ================================================ */

.stat-widget {
    border-radius: 20px !important;
    border: none !important;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    position: relative;
}

.stat-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 150%;
    pointer-events: none;
    z-index: 0;
}

.stat-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.stat-widget .card-body {
    padding: 1.5rem;
    color: #fff !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Henora Premium Color Glows */
.stat-widget.primary::before { background: radial-gradient(circle, rgba(75, 57, 187, 0.2) 0%, transparent 60%); }
.stat-widget.success::before { background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 60%); }
.stat-widget.info::before { background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 60%); }
.stat-widget.warning::before { background: radial-gradient(circle, rgba(244, 196, 48, 0.2) 0%, transparent 60%); }
.stat-widget.danger::before { background: radial-gradient(circle, rgba(239, 68, 68, 0.2) 0%, transparent 60%); }

.stat-widget .stat-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3.5rem;
    opacity: 0.15;
    color: #fff;
    z-index: 0;
}

.stat-widget .stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-bottom: 0.5rem;
}

.stat-widget .stat-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.25rem;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Henora accent colors for values */
.stat-widget.primary .stat-value { color: #a78bfa !important; }
.stat-widget.success .stat-value { color: #34d399 !important; }
.stat-widget.info .stat-value { color: #22d3ee !important; }
.stat-widget.warning .stat-value { color: #f4c430 !important; }
.stat-widget.danger .stat-value { color: #f87171 !important; }

.stat-widget .stat-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Flip card için stat-desc sağ alt köşeye */
.flip-card .stat-desc {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    text-align: right;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6) !important;
    max-width: 60%;
}

.flip-card .stat-desc .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    margin-right: 0.25rem;
}

.stat-widget .card-footer {
    background: rgba(255, 255, 255, 0.05) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0.75rem 1.5rem;
    position: relative;
    z-index: 1;
}

.stat-widget .card-footer a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.stat-widget .card-footer a:hover {
    color: #f4c430 !important;
}

/* Henora Premium icon boxes */
.stat-widget.primary .stat-icon { color: rgba(75, 57, 187, 0.4); }
.stat-widget.success .stat-icon { color: rgba(16, 185, 129, 0.4); }
.stat-widget.info .stat-icon { color: rgba(6, 182, 212, 0.4); }
.stat-widget.warning .stat-icon { color: rgba(244, 196, 48, 0.4); }
.stat-widget.danger .stat-icon { color: rgba(239, 68, 68, 0.4); }

/* ================================================
   FLIP CARD - Günlük/Aylık Geçişli Premium Kartlar
   ================================================ */

.flip-card {
    perspective: 1000px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.flip-card-front {
    z-index: 2;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* Flip card için glow efektleri */
.flip-card.success .flip-card-front::before,
.flip-card.success .flip-card-back::before { 
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 150%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.flip-card.info .flip-card-front::before,
.flip-card.info .flip-card-back::before { 
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 150%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.flip-card.danger .flip-card-front::before,
.flip-card.danger .flip-card-back::before { 
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 150%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.flip-card.primary .flip-card-front::before,
.flip-card.primary .flip-card-back::before { 
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 150%;
    background: radial-gradient(circle, rgba(75, 57, 187, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

/* Flip card için stat-widget stilleri override */
.flip-card .card-body {
    padding: 1.5rem !important;
    padding-bottom: 3rem !important;
    color: #fff !important;
    position: relative;
    z-index: 1;
    height: 100%;
}

.flip-card .card-footer {
    background: rgba(255, 255, 255, 0.05) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0.75rem 1.5rem !important;
    position: relative;
    z-index: 1;
}

.flip-card .flip-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flip-card .flip-hint i {
    font-size: 0.9rem;
}

/* Flip card back footer farklı renk */
.flip-card-back .flip-hint {
    color: #f4c430;
}

/* Sabit yükseklik için */
.flip-card {
    height: 180px;
}

.flip-card-inner,
.flip-card-front,
.flip-card-back {
    height: 180px;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: transparent;
    border-top: none;
    position: relative;
    z-index: 1;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.slider-dot.active {
    background: linear-gradient(135deg, #f4c430 0%, #f59e0b 100%);
    width: 32px;
    height: 10px;
    border-radius: 5px;
    box-shadow: 
        0 0 15px rgba(244, 196, 48, 0.5),
        0 0 30px rgba(244, 196, 48, 0.2);
    border-color: rgba(244, 196, 48, 0.4);
}

.slider-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.25);
}

/* ================================================
   CHART CARDS
   ================================================ */

.chart-card {
    background: #fff !important;
    border-radius: var(--radius-2xl) !important;
    border: 1px solid var(--gray-200) !important;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.chart-card .card-header {
    background: transparent !important;
    border-bottom: 1px solid var(--gray-100) !important;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chart-card .card-header .card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-card .card-header .card-title i {
    color: var(--henora-primary);
}

.chart-card .card-body {
    padding: 1.5rem;
}

.chart-card .empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-400);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.chart-card .empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.chart-card .empty-state p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* ================================================
   PREMIUM CHART CARD STYLES - Glass Morphism
   ================================================ */

.chart-card-premium {
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 2px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff !important;
    overflow: hidden;
    position: relative;
}

.chart-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4b39bb 0%, #6366f1 50%, #a78bfa 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chart-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px rgba(75, 57, 187, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.chart-card-premium:hover::before {
    opacity: 1;
}

.chart-card-premium .card-header {
    background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 100%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    padding: 1.25rem 1.5rem !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chart-card-premium .card-header .card-title {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.95rem;
}

.chart-card-premium .card-body {
    padding: 1.5rem !important;
}

.chart-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    margin-right: 10px;
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.chart-icon-wrapper.income-expense {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.chart-icon-wrapper.income-expense i {
    color: white;
    -webkit-text-fill-color: white;
}

.chart-icon-wrapper.top-products {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.chart-icon-wrapper.top-products i {
    color: white;
}

.chart-legend-inline {
    display: flex;
    gap: 1rem;
}

.chart-legend-inline .legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 500;
}

.chart-legend-inline .legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.chart-legend-inline .legend-dot.income {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

.chart-legend-inline .legend-dot.expense {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* Premium Empty State */
.empty-state-premium {
    text-align: center;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.empty-state-premium .empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.empty-state-premium .empty-icon.pulse {
    animation: emptyIconPulse 2s ease-in-out infinite;
}

@keyframes emptyIconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(75, 57, 187, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(75, 57, 187, 0); }
}

.empty-state-premium .empty-icon i {
    font-size: 2rem;
    color: var(--gray-400);
}

.empty-state-premium h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin: 0 0 0.5rem 0;
}

.empty-state-premium p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
    max-width: 280px;
    line-height: 1.5;
}

.empty-state-premium .empty-actions {
    margin-top: 1.25rem;
}

/* ================================================
   SON İŞLEMLER - Premium Data Table
   ================================================ */

.data-card-premium {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    background: #fff;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.data-card-premium .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}

.data-card-premium .card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.data-card-premium .card-header .card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--gray-800);
}

.chart-icon-wrapper.transactions {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.chart-icon-wrapper.trend {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
}

.premium-data-table {
    margin: 0;
    width: 100%;
}

.premium-data-table thead th {
    background: #f8fafc;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.premium-data-table tbody tr {
    transition: all 0.2s ease;
}

.premium-data-table tbody tr:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
}

.premium-data-table tbody td {
    padding: 0.875rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

/* Transaction Type Icons */
.transaction-type-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 1rem;
}

.transaction-type-icon.income {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
    color: #059669;
}

.transaction-type-icon.expense {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.08) 100%);
    color: #dc2626;
}

/* Source Badges */
.source-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.source-badge.invoice {
    background: linear-gradient(135deg, rgba(75, 57, 187, 0.12) 0%, rgba(75, 57, 187, 0.06) 100%);
    color: #4b39bb;
}

.source-badge.cash_flow {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(14, 165, 233, 0.06) 100%);
    color: #0284c7;
}

/* Transaction Details */
.transaction-name {
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.875rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transaction-ref {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 2px;
}

/* Transaction Amount */
.transaction-amount {
    font-weight: 700;
    font-size: 0.9rem;
}

.transaction-amount.income {
    color: #059669;
}

.transaction-amount.expense {
    color: #dc2626;
}

/* Transaction Row Highlight */
.transaction-row.income {
    border-left: 3px solid transparent;
    border-image: linear-gradient(180deg, #10b981 0%, #34d399 100%) 1;
}

.transaction-row.expense {
    border-left: 3px solid transparent;
    border-image: linear-gradient(180deg, #ef4444 0%, #f87171 100%) 1;
}

/* ================================================
   CARİ HESAP ÖZETİ - Premium Dashboard Widget
   ================================================ */

.chart-icon-wrapper.cari {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.cari-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cari-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.cari-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.cari-stat-card.receivable {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.03) 100%);
    border-color: rgba(16, 185, 129, 0.15);
}

.cari-stat-card.receivable .cari-stat-icon {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.cari-stat-card.payable {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0.03) 100%);
    border-color: rgba(239, 68, 68, 0.15);
}

.cari-stat-card.payable .cari-stat-icon {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

.cari-stat-card.net.positive {
    background: linear-gradient(135deg, rgba(75, 57, 187, 0.08) 0%, rgba(75, 57, 187, 0.03) 100%);
    border-color: rgba(75, 57, 187, 0.15);
}

.cari-stat-card.net.positive .cari-stat-icon {
    background: linear-gradient(135deg, #4b39bb 0%, #6366f1 100%);
}

.cari-stat-card.net.negative {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.03) 100%);
    border-color: rgba(245, 158, 11, 0.15);
}

.cari-stat-card.net.negative .cari-stat-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.cari-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cari-stat-content {
    flex: 1;
    min-width: 0;
}

.cari-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.cari-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.2;
    white-space: nowrap;
}

.cari-stat-card.receivable .cari-stat-value {
    color: #059669;
}

.cari-stat-card.payable .cari-stat-value {
    color: #dc2626;
}

.cari-stat-card.net.positive .cari-stat-value {
    color: #4b39bb;
}

.cari-stat-card.net.negative .cari-stat-value {
    color: #f59e0b;
}

.cari-stat-desc {
    font-size: 0.7rem;
    color: var(--gray-400);
    margin-top: 2px;
}

/* Cari Debtors List */
.cari-debtors-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
}

.cari-debtors-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.cari-debtors-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cari-debtors-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cari-debtor-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.cari-debtor-item:hover {
    border-color: var(--henora-primary);
    box-shadow: 0 2px 8px rgba(75, 57, 187, 0.1);
}

.cari-debtor-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
}

.cari-debtor-avatar.customer {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.cari-debtor-avatar.supplier {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.cari-debtor-info {
    flex: 1;
    min-width: 0;
}

.cari-debtor-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cari-debtor-type {
    font-size: 0.7rem;
    color: var(--gray-400);
}

.cari-debtor-balance {
    font-size: 0.9rem;
    font-weight: 700;
    text-align: right;
}

.cari-debtor-balance.positive {
    color: #059669;
}

.cari-debtor-balance.negative {
    color: #dc2626;
}

.cari-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    color: var(--gray-400);
    font-size: 0.85rem;
}

.cari-empty i {
    font-size: 1.25rem;
}

/* ================================================
   PREMIUM ACTION BUTTONS - Header
   ================================================ */

.header-actions-premium {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-premium-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-premium-action i {
    font-size: 0.9rem;
}

.btn-premium-action.income {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-premium-action.income:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    color: white;
}

.btn-premium-action.expense {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}

.btn-premium-action.expense:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45);
    color: white;
}

.btn-premium-action.outline {
    background: white;
    color: var(--gray-600);
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-premium-action.outline:hover {
    background: #f8fafc;
    border-color: var(--henora-primary);
    color: var(--henora-primary);
    transform: translateY(-1px);
}

.btn-premium-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-premium-action:hover::before {
    left: 100%;
}

/* Grafik Kartları Eşit Yükseklik */
.chart-row-equal {
    display: flex;
    flex-wrap: wrap;
}

.chart-row-equal > [class*="col-"] {
    display: flex;
}

.chart-row-equal .chart-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.chart-row-equal .chart-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
}

.chart-row-equal .chart-card .card-body canvas {
    max-height: 250px;
}

/* Gelir/Gider Dağılımı - Premium Doughnut Chart */
.doughnut-chart-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 1rem;
}

.doughnut-chart-wrapper canvas {
    max-width: 200px !important;
    max-height: 200px !important;
}

.doughnut-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.doughnut-center-text .amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.2;
}

.doughnut-center-text .label {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.doughnut-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.doughnut-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.doughnut-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.doughnut-legend-dot.income { background: var(--success); }
.doughnut-legend-dot.expense { background: var(--danger); }

.doughnut-legend-text {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.doughnut-legend-value {
    font-weight: 600;
    color: var(--gray-800);
    margin-left: 0.25rem;
}

/* Period Selector Tabs */
.period-tabs {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 0.25rem;
}

.period-tab {
    padding: 0.375rem 0.875rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.period-tab:hover {
    color: var(--gray-800);
}

.period-tab.active {
    background: #fff;
    color: var(--henora-primary);
    box-shadow: var(--shadow-sm);
}

/* ================================================
   DATA TABLE CARD
   ================================================ */

.data-card {
    background: #fff !important;
    border-radius: var(--radius-2xl) !important;
    border: 1px solid var(--gray-200) !important;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.data-card .card-header {
    background: transparent !important;
    border-bottom: 1px solid var(--gray-100) !important;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.data-card .card-header .card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.data-card .card-header .card-title i {
    color: var(--henora-primary);
}

.data-card .table {
    margin: 0;
}

.data-card .table thead th {
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-600);
    padding: 0.875rem 1.25rem;
}

.data-card .table tbody td {
    padding: 0.875rem 1.25rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.875rem;
    color: var(--gray-700);
}

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

.data-card .table tbody tr:last-child td {
    border-bottom: none;
}

.data-card .invoice-no {
    font-weight: 600;
    color: var(--gray-900);
}

.data-card .empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
}

.data-card .empty-state i {
    font-size: 2.5rem;
    color: var(--gray-300);
    margin-bottom: 0.75rem;
}

.data-card .empty-state p {
    color: var(--gray-500);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.data-card .empty-state .btn {
    font-size: 0.85rem;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    background: var(--henora-primary);
    border: none;
    color: #fff;
    transition: all 0.3s ease;
}

.data-card .empty-state .btn:hover {
    background: var(--henora-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-henora);
}

.data-card .empty-state .btn i {
    font-size: 1rem;
    color: #fff;
    margin-right: 0.5rem;
    opacity: 1;
}

/* ================================================
   BADGES & STATUS
   ================================================ */

.badge {
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.7rem;
}

.badge.bg-success { background: var(--success) !important; }
.badge.bg-warning { background: var(--warning) !important; color: #fff !important; }
.badge.bg-danger { background: var(--danger) !important; }
.badge.bg-info { background: var(--info) !important; }
.badge.bg-secondary { background: var(--gray-500) !important; }
.badge.bg-primary { background: var(--henora-primary) !important; }

/* ================================================
   BUTTONS
   ================================================ */

.btn-primary {
    background: var(--henora-primary) !important;
    border-color: var(--henora-primary) !important;
}

.btn-primary:hover {
    background: var(--henora-primary-dark) !important;
    border-color: var(--henora-primary-dark) !important;
}

.btn-outline-primary {
    color: var(--henora-primary) !important;
    border-color: var(--henora-primary) !important;
}

.btn-outline-primary:hover {
    background: var(--henora-primary) !important;
    color: #fff !important;
}

/* ================================================
   UTILITY CLASSES
   ================================================ */

.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-info { color: var(--info) !important; }
.text-warning { color: var(--warning) !important; }
.text-primary { color: var(--henora-primary) !important; }

/* ================================================
   TABLE STYLES
   ================================================ */

.table-actions {
    white-space: nowrap;
}

.table-actions .btn {
    margin-right: 0.25rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ================================================
   FORM STYLES
   ================================================ */

.form-label.required:after {
    content: " *";
    color: var(--danger);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--henora-primary);
    box-shadow: 0 0 0 0.2rem rgba(75, 57, 187, 0.15);
}

/* ================================================
   INVOICE PRINT STYLES
   ================================================ */

.invoice-print {
    background: white;
    padding: 2rem;
    border: 1px solid var(--gray-200);
}

.invoice-header {
    border-bottom: 2px solid var(--henora-primary);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* ================================================
   PRINT STYLES
   ================================================ */

@media print {
    .sidebar, .header, .footer, .no-print {
        display: none !important;
    }
    .wrapper { margin: 0 !important; }
    .invoice-print { border: none; padding: 0; }
}

/* ================================================
   MOBILE ACTIONS
   ================================================ */

.mobile-actions {
    display: none;
}

@media (max-width: 767.98px) {
    .mobile-actions {
        display: block;
    }
    
    .mobile-actions .btn {
        padding: 1rem;
        border-radius: var(--radius-lg);
        font-weight: 600;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        box-shadow: var(--shadow);
    }
    
    .mobile-actions .btn i {
        font-size: 1.5rem;
    }
}

/* ================================================
   RESPONSIVE STYLES
   ================================================ */

@media (max-width: 1199.98px) {
    .stat-widget .stat-value { font-size: 1.5rem; }
}

@media (max-width: 767.98px) {
    .welcome-card .greeting { font-size: 1.35rem; }
    .welcome-card .card-body { padding: 1.5rem !important; }
    .stat-widget .stat-value { font-size: 1.375rem; }
    .stat-widget .stat-icon { font-size: 2.5rem; }
    .financial-slide .slide-value { font-size: 1.25rem; }
}

/* ================================================
   ANIMATIONS
   ================================================ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.animate-fade-in-up { animation: fadeInUp 0.5s ease forwards; }
.pulse { animation: pulse 2s infinite; }

/* ================================================
   SCROLLBAR STYLING
   ================================================ */

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

/* Spinner */
.spinner-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* Stock colors */
.stock-warning { color: var(--warning); }
.stock-danger { color: var(--danger); }
.badge-sm { font-size: 0.65rem; padding: 0.2rem 0.4rem; }

/* ================================================
   PAGE HEADER - Premium Style
   ================================================ */

.page-header-premium {
    padding: 1.5rem 0 1rem;
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.page-title-premium {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-title-premium .page-icon {
    font-size: 1.5rem;
}

.page-subtitle {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 0.25rem 0 0 2.25rem;
}

/* ================================================
   WELCOME CARD BUTTONS - Premium Style
   ================================================ */

.quick-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.welcome-btn-income {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35) !important;
    transition: all 0.3s ease !important;
}

.welcome-btn-income:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45) !important;
    color: white !important;
}

.welcome-btn-expense {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white !important;
    border: none !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35) !important;
    transition: all 0.3s ease !important;
}

.welcome-btn-expense:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.45) !important;
    color: white !important;
}

/* ================================================
   CHART CARDS - Equal Height & Premium Doughnut
   ================================================ */

.chart-row-equal {
    display: flex;
    flex-wrap: wrap;
}

.chart-row-equal > [class*="col-"] {
    display: flex;
}

.chart-row-equal .chart-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chart-row-equal .chart-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 280px;
}

/* Doughnut Chart Premium Wrapper */
.doughnut-chart-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

.doughnut-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.doughnut-center-text .label {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.doughnut-center-text .amount {
    font-size: 1.1rem;
    font-weight: 700;
}

.doughnut-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.doughnut-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.doughnut-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.doughnut-legend-dot.income {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.doughnut-legend-dot.expense {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.doughnut-legend-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
}
html { scroll-behavior: smooth; }

/* ================================================
   RESPONSIVE IMPROVEMENTS - Her Ekran İçin
   ================================================ */

/* Tablet ve küçük ekranlar */
@media (max-width: 992px) {
    /* Sidebar collapse */
    .sidebar {
        margin-left: -260px;
        transition: margin 0.3s ease;
    }
    .sidebar.show {
        margin-left: 0;
    }
    
    /* Header ticker küçült */
    .header-ticker {
        margin: 0 0.5rem;
    }
    
    /* Premium filtre butonları */
    .premium-stock-filter,
    .premium-fatura-filter,
    .premium-date-filter,
    .premium-tabs,
    .premium-filter-container {
        flex-wrap: wrap !important;
        padding: 6px;
        gap: 4px;
    }
    
    .premium-stock-btn,
    .premium-fatura-btn,
    .premium-date-btn,
    .premium-tab,
    .premium-filter-btn {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }
    
    /* Buton grupları */
    .d-flex.gap-2 {
        flex-wrap: wrap;
    }
    
    .premium-btn,
    .premium-btn-cari {
        padding: 8px 14px !important;
        font-size: 0.8rem !important;
    }
    
    /* Kartların font boyutları */
    .card .fs-3 { font-size: 1.5rem !important; }
    .card .fs-4 { font-size: 1.25rem !important; }
    .card .fs-5 { font-size: 1rem !important; }
    
    /* Özet kartları yatay kaydır */
    .row.g-4 > [class*="col-"] {
        flex: 0 0 auto;
    }
}

/* Mobil cihazlar */
@media (max-width: 768px) {
    /* Container padding azalt */
    .dashboard-wrapper {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        padding-top: 1rem !important;
    }
    
    /* Header compact */
    .header .container-fluid {
        padding: 0 0.5rem !important;
    }
    
    /* Ticker gizle mobilede */
    .header-ticker {
        display: none;
    }
    
    /* Flex container full width */
    .d-flex.justify-content-between {
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px !important;
    }
    
    /* Filtreler full width */
    .premium-stock-filter,
    .premium-fatura-filter,
    .premium-date-filter,
    .premium-tabs {
        width: 100%;
        justify-content: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .premium-stock-filter::-webkit-scrollbar,
    .premium-tabs::-webkit-scrollbar {
        display: none;
    }
    
    /* Butonlar full width */
    .d-flex.gap-2 {
        width: 100%;
        justify-content: center;
    }
    
    /* Tablo responsive iyileştirme */
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .table th, .table td {
        padding: 0.5rem !important;
        white-space: nowrap;
    }
    
    /* Kart içi padding azalt */
    .card-body {
        padding: 0.75rem !important;
    }
    
    /* Welcome card mobil */
    .welcome-card .greeting {
        font-size: 1.25rem !important;
    }
    
    .welcome-card .date-time {
        font-size: 0.8rem !important;
    }
    
    /* Weather widget compact */
    .weather-widget {
        padding: 0.75rem !important;
    }
    
    /* Quick stats compact */
    .stat-widget .card-body {
        padding: 0.875rem !important;
    }
    
    .stat-widget .stat-value {
        font-size: 1.25rem !important;
    }
    
    /* Premium action buttons */
    .premium-action-btn {
        width: 28px !important;
        height: 28px !important;
    }
    
    /* Form elements */
    .form-select, .form-control {
        font-size: 0.875rem !important;
    }
}

/* Çok küçük ekranlar */
@media (max-width: 576px) {
    /* Sayfa container */
    .dashboard-wrapper {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    /* Tek sütun kartlar */
    .row.g-4 > [class*="col-6"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Özet kartları compact */
    .card .fs-3 { font-size: 1.25rem !important; }
    .card .fs-4 { font-size: 1.1rem !important; }
    
    /* Butonlar küçült */
    .premium-btn,
    .premium-btn-cari,
    .btn {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }
    
    /* Tab/filtre butonları scroll */
    .premium-stock-btn,
    .premium-tab {
        flex: 0 0 auto;
        min-width: max-content;
    }
    
    /* Tablo gizle/göster */
    .table th:nth-child(3),
    .table td:nth-child(3),
    .table th:nth-child(4),
    .table td:nth-child(4),
    .table th:nth-child(6),
    .table td:nth-child(6) {
        display: none;
    }
    
    /* Card header compact */
    .card-header {
        padding: 0.75rem !important;
    }
    
    /* AI marquee küçült */
    .ai-marquee-container {
        font-size: 0.75rem !important;
    }
}

/* Print stilleri */
@media print {
    .sidebar, .header, .premium-stock-filter, .premium-tabs, .d-flex.gap-2, .no-print {
        display: none !important;
    }
    
    .body > .container-lg {
        padding: 0 !important;
    }
    
    .card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
}

/* ================================================
   MODAL Z-INDEX FIX - Minimal & Safe
   Sadece z-index düzeltmeleri - CoreUI'ye müdahale yok
   ================================================ */

/* Modal z-index - Sidebar ve header üzerinde */
.modal {
    z-index: 1060 !important;
}

.modal-backdrop {
    z-index: 1055 !important;
}

/* Modal açıkken sidebar backdrop'ı devre dışı */
body.modal-open .sidebar-backdrop {
    pointer-events: none !important;
    z-index: 890 !important;
}

body.modal-open .sidebar-shell {
    z-index: 900 !important;
}

body.modal-open .header {
    z-index: 950 !important;
}

body.modal-open .pet-bg-container {
    pointer-events: none !important;
}

/* Modal dialog genişlik ayarları */
.modal-dialog-wide {
    max-width: 680px;
}

/* ========================================
   CARI EMOJI AVATAR
======================================== */
.cari-debtor-emoji {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
}

/* ========================================
   BU AY ÖZETİ - PREMIUM TASARIM
======================================== */
.chart-card-premium {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.chart-card-premium .card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 1.25rem;
}

.chart-card-premium .card-title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 600;
    color: var(--gray-700);
}

.chart-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
}

.chart-icon-wrapper.category {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.chart-card-premium .card-body {
    padding: 1.25rem;
}

/* Month Summary Hero */
.month-summary-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fafbff 0%, #f5f7ff 100%);
    border-radius: 14px;
    border: 1px solid #e0e7ff;
    margin-bottom: 1.25rem;
}

.summary-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.summary-hero-icon.profit {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.summary-hero-icon.loss {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.summary-hero-content {
    flex: 1;
}

.summary-hero-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.summary-hero-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.summary-hero-value.profit {
    color: #059669;
}

.summary-hero-value.loss {
    color: #dc2626;
}

/* Summary Bars */
.summary-bars {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.summary-bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bar-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
}

.bar-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-800);
}

.bar-track {
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.summary-bar-item.income .bar-fill {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

.summary-bar-item.expense .bar-fill {
    background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
}

/* Category Mini Section */
.category-mini-section {
    background: #f8fafc;
    border-radius: 10px;
    padding: 0.875rem;
    margin-bottom: 1rem;
}

.category-mini-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.625rem;
}

.category-mini-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-mini-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.625rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.category-mini-item .cat-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-700);
}

.category-mini-item .cat-value {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-800);
}

/* Summary Stats Row */
.summary-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.summary-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background: linear-gradient(135deg, #fafbff 0%, #f5f7ff 100%);
    border-radius: 10px;
    border: 1px solid #e0e7ff;
    text-align: center;
}

.summary-stat .stat-emoji {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.summary-stat .stat-count {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1;
}

.summary-stat .stat-text {
    font-size: 0.65rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* Empty State Premium */
.empty-state-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
}

.empty-state-premium .empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.empty-state-premium .empty-icon.pulse {
    animation: emptyPulse 2s ease-in-out infinite;
}

@keyframes emptyPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

.empty-state-premium h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.empty-state-premium p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}

/* ================================================
   PREMIUM CARD & FORM STYLES (GLOBAL)
   Tüm sayfalarda tutarlı dark tema
   ================================================ */

/* Premium Card - Global */
.premium-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.premium-card .card-body {
    padding: 28px;
}

.premium-card .card-header {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 16px 24px;
}

.premium-card .card-footer {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 24px;
}

/* Form Section - Global */
.form-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.1);
}

.form-section-title {
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 16px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section-title i {
    color: #a78bfa;
}

/* Form Elements - Dark Theme */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-coreui-theme="dark"] .form-control,
[data-coreui-theme="dark"] .form-select {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 2px solid rgba(255,255,255,0.1) !important;
    color: #f1f5f9 !important;
    border-radius: 10px;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus,
[data-coreui-theme="dark"] .form-control:focus,
[data-coreui-theme="dark"] .form-select:focus {
    border-color: #4b39bb !important;
    box-shadow: 0 0 0 3px rgba(75, 57, 187, 0.2) !important;
    background: rgba(15, 23, 42, 0.9) !important;
}

[data-theme="dark"] .form-control::placeholder,
[data-coreui-theme="dark"] .form-control::placeholder {
    color: #64748b !important;
}

[data-theme="dark"] .form-select option,
[data-coreui-theme="dark"] .form-select option {
    background: #1e293b;
    color: #f1f5f9;
}

[data-theme="dark"] .form-label,
[data-coreui-theme="dark"] .form-label {
    color: #94a3b8 !important;
    font-weight: 600;
}

[data-theme="dark"] .input-group-text,
[data-coreui-theme="dark"] .input-group-text {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%) !important;
    border: 2px solid rgba(255,255,255,0.1) !important;
    color: #94a3b8 !important;
}

/* Form Actions */
.form-actions {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ================================================
   PREMIUM TABLE CARD - Global (İşlem Listesi Stili)
   Turuncu ikonlu, mor başlıklı premium kart tasarımı
   ================================================ */
.premium-table-card {
    border-radius: 24px;
    overflow: hidden;
    border: none;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.3),
        0 10px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.premium-table-card .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #8b5cf6 100%);
    border-bottom: none;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.premium-table-card .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.premium-table-card .card-header .title {
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.premium-table-card .card-header .title i {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    padding: 12px;
    border-radius: 12px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.premium-table-card .card-header .title .title-text {
    display: flex;
    flex-direction: column;
}

.premium-table-card .card-header .title .title-text span {
    font-size: 1.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.premium-table-card .card-header .title .title-text small {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: 500;
}

.premium-table-card .card-header .count-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.premium-table-card .card-body {
    padding: 0;
    background: transparent;
}

.premium-table-card .table {
    margin-bottom: 0;
    table-layout: auto;
    width: 100%;
    color: #cbd5e1;
}

.premium-table-card .table thead th {
    background: linear-gradient(180deg, #1e293b 0%, #334155 100%);
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
    font-weight: 800;
    color: #94a3b8;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 1rem 0.75rem;
    white-space: nowrap;
    text-align: center;
}

.premium-table-card .table tbody td {
    padding: 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    font-size: 0.85rem;
    background: transparent;
    transition: all 0.3s ease;
    text-align: center;
    color: #e2e8f0;
}

.premium-table-card .table tbody tr {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-table-card .table tbody tr:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(102, 126, 234, 0.08) 100%);
}

.premium-table-card .table tbody tr:last-child td {
    border-bottom: none;
}

.premium-table-card .card-footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: 1rem 2rem;
}

/* Form içeren kartlar için özel stil */
.premium-form-card {
    border-radius: 24px;
    overflow: hidden;
    border: none;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.3),
        0 10px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.premium-form-card .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #8b5cf6 100%);
    border-bottom: none;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.premium-form-card .card-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.premium-form-card .card-header .title {
    color: #ffffff;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.premium-form-card .card-header .title i {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 12px;
    border-radius: 12px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.premium-form-card .card-header .title .title-text {
    display: flex;
    flex-direction: column;
}

.premium-form-card .card-header .title .title-text span {
    font-size: 1.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.premium-form-card .card-header .title .title-text small {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: 500;
}

.premium-form-card .card-body {
    padding: 2rem;
    background: transparent;
}

.premium-form-card .card-footer {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.25rem 2rem;
}

/* Page Header Premium - Global */
.page-header-premium {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.page-header-premium h4 {
    color: #fff;
    margin: 0;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-header-premium .subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* ================================================
   DARK MODE OVERRIDES
   Comprehensive dark theme styling
   ================================================ */

/* Body & Wrapper */
[data-theme="dark"] body,
[data-coreui-theme="dark"] body {
    background: var(--bg-gradient) !important;
    color: var(--text-primary);
}

/* Cards - General */
[data-theme="dark"] .card,
[data-coreui-theme="dark"] .card {
    background: var(--card-bg) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary);
}

[data-theme="dark"] .card-header,
[data-coreui-theme="dark"] .card-header {
    background: var(--table-header-bg) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary);
}

[data-theme="dark"] .card-body,
[data-coreui-theme="dark"] .card-body {
    background: transparent !important;
    color: var(--text-primary);
}

[data-theme="dark"] .card-footer,
[data-coreui-theme="dark"] .card-footer {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

/* Premium Cards */
[data-theme="dark"] .chart-card-premium,
[data-theme="dark"] .data-card-premium,
[data-coreui-theme="dark"] .chart-card-premium,
[data-coreui-theme="dark"] .data-card-premium {
    background: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .chart-card-premium::before,
[data-coreui-theme="dark"] .chart-card-premium::before {
    background: linear-gradient(180deg, 
        rgba(139, 92, 246, 0.08) 0%, 
        rgba(139, 92, 246, 0.02) 100%) !important;
}

/* Tables */
[data-theme="dark"] .table,
[data-coreui-theme="dark"] .table {
    color: var(--text-primary) !important;
    --cui-table-bg: transparent;
    --cui-table-hover-bg: var(--table-row-hover);
    --cui-table-striped-bg: rgba(139, 92, 246, 0.05);
}

[data-theme="dark"] .table thead th,
[data-coreui-theme="dark"] .table thead th {
    background: var(--table-header-bg) !important;
    color: var(--text-secondary) !important;
    border-color: var(--table-border) !important;
}

[data-theme="dark"] .table tbody tr,
[data-coreui-theme="dark"] .table tbody tr {
    border-color: var(--table-border) !important;
}

[data-theme="dark"] .table tbody tr:hover,
[data-coreui-theme="dark"] .table tbody tr:hover {
    background: var(--table-row-hover) !important;
}

[data-theme="dark"] .table tbody td,
[data-coreui-theme="dark"] .table tbody td {
    color: var(--text-primary) !important;
    border-color: var(--table-border) !important;
}

[data-theme="dark"] .premium-table,
[data-coreui-theme="dark"] .premium-table {
    background: var(--bg-card) !important;
}

/* Form Inputs */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-coreui-theme="dark"] .form-control,
[data-coreui-theme="dark"] .form-select {
    background-color: var(--input-bg) !important;
    border-color: var(--input-border) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus,
[data-coreui-theme="dark"] .form-control:focus,
[data-coreui-theme="dark"] .form-select:focus {
    border-color: var(--input-focus-border) !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15) !important;
}

[data-theme="dark"] .form-control::placeholder,
[data-coreui-theme="dark"] .form-control::placeholder {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .form-label,
[data-coreui-theme="dark"] .form-label {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .input-group-text,
[data-coreui-theme="dark"] .input-group-text {
    background-color: var(--bg-secondary) !important;
    border-color: var(--input-border) !important;
    color: var(--text-secondary) !important;
}

/* Modals */
[data-theme="dark"] .modal-content,
[data-coreui-theme="dark"] .modal-content {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary);
}

[data-theme="dark"] .modal-header,
[data-coreui-theme="dark"] .modal-header {
    background: var(--card-header-bg) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .modal-footer,
[data-coreui-theme="dark"] .modal-footer {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .btn-close,
[data-coreui-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Dropdowns */
[data-theme="dark"] .dropdown-menu,
[data-coreui-theme="dark"] .dropdown-menu {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .dropdown-item,
[data-coreui-theme="dark"] .dropdown-item {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus,
[data-coreui-theme="dark"] .dropdown-item:hover,
[data-coreui-theme="dark"] .dropdown-item:focus {
    background: var(--bg-card-hover) !important;
    color: var(--brand-primary) !important;
}

/* Alerts */
[data-theme="dark"] .alert,
[data-coreui-theme="dark"] .alert {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Badges - keep colorful */
[data-theme="dark"] .badge.bg-light,
[data-coreui-theme="dark"] .badge.bg-light {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

/* Pagination */
[data-theme="dark"] .pagination .page-link,
[data-coreui-theme="dark"] .pagination .page-link {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .pagination .page-item.active .page-link,
[data-coreui-theme="dark"] .pagination .page-item.active .page-link {
    background: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: white !important;
}

/* Ticker in Dark Mode */
[data-theme="dark"] .ticker-item,
[data-coreui-theme="dark"] .ticker-item {
    color: var(--text-secondary);
}

[data-theme="dark"] .ticker-name,
[data-coreui-theme="dark"] .ticker-name {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .ticker-value,
[data-coreui-theme="dark"] .ticker-value {
    color: var(--text-primary) !important;
}

/* Breadcrumb */
[data-theme="dark"] .breadcrumb,
[data-coreui-theme="dark"] .breadcrumb {
    background: transparent !important;
}

[data-theme="dark"] .breadcrumb-item a,
[data-coreui-theme="dark"] .breadcrumb-item a {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .breadcrumb-item.active,
[data-coreui-theme="dark"] .breadcrumb-item.active {
    color: var(--text-primary) !important;
}

/* Empty State Premium */
[data-theme="dark"] .empty-state-premium .empty-icon,
[data-coreui-theme="dark"] .empty-state-premium .empty-icon {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%) !important;
}

[data-theme="dark"] .empty-state-premium h4,
[data-coreui-theme="dark"] .empty-state-premium h4 {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .empty-state-premium p,
[data-coreui-theme="dark"] .empty-state-premium p {
    color: var(--text-muted) !important;
}

/* Text Colors Override */
[data-theme="dark"] .text-muted,
[data-coreui-theme="dark"] .text-muted {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .text-secondary,
[data-coreui-theme="dark"] .text-secondary {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .text-dark,
[data-coreui-theme="dark"] .text-dark {
    color: var(--text-primary) !important;
}

/* Border Colors */
[data-theme="dark"] .border,
[data-coreui-theme="dark"] .border {
    border-color: var(--border-color) !important;
}

[data-theme="dark"] hr,
[data-coreui-theme="dark"] hr {
    border-color: var(--border-color) !important;
    opacity: 0.3;
}

/* Background Utilities */
[data-theme="dark"] .bg-white,
[data-coreui-theme="dark"] .bg-white {
    background: var(--bg-card) !important;
}

[data-theme="dark"] .bg-light,
[data-coreui-theme="dark"] .bg-light {
    background: var(--bg-secondary) !important;
}

[data-theme="dark"] .bg-body,
[data-coreui-theme="dark"] .bg-body {
    background: var(--bg-primary) !important;
}

/* Calendar Premium Dark Mode */
[data-theme="dark"] .premium-calendar-container,
[data-coreui-theme="dark"] .premium-calendar-container {
    background: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .premium-calendar-container th,
[data-coreui-theme="dark"] .premium-calendar-container th {
    color: var(--text-secondary) !important;
    background: var(--table-header-bg) !important;
}

[data-theme="dark"] .premium-calendar-container td,
[data-coreui-theme="dark"] .premium-calendar-container td {
    color: var(--text-primary) !important;
    border-color: var(--table-border) !important;
    background: var(--bg-card) !important;
}

[data-theme="dark"] .premium-calendar-container td:hover,
[data-coreui-theme="dark"] .premium-calendar-container td:hover {
    background: var(--table-row-hover) !important;
}

[data-theme="dark"] .premium-calendar-container .calendar-day.today,
[data-coreui-theme="dark"] .premium-calendar-container .calendar-day.today {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent)) !important;
}

[data-theme="dark"] .premium-calendar-container .calendar-day.other-month,
[data-coreui-theme="dark"] .premium-calendar-container .calendar-day.other-month {
    opacity: 0.3 !important;
}

/* Notes Premium Dark Mode */
[data-theme="dark"] .note-item-premium,
[data-coreui-theme="dark"] .note-item-premium {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .note-item-premium:hover,
[data-coreui-theme="dark"] .note-item-premium:hover {
    background: var(--bg-card-hover) !important;
    border-color: var(--brand-primary) !important;
}

/* Links */
[data-theme="dark"] a:not(.btn):not(.nav-link):not(.dropdown-item),
[data-coreui-theme="dark"] a:not(.btn):not(.nav-link):not(.dropdown-item) {
    color: var(--brand-accent);
}

[data-theme="dark"] a:not(.btn):not(.nav-link):not(.dropdown-item):hover,
[data-coreui-theme="dark"] a:not(.btn):not(.nav-link):not(.dropdown-item):hover {
    color: var(--brand-primary);
}

/* Charts Area Dark Mode Fix */
[data-theme="dark"] canvas,
[data-coreui-theme="dark"] canvas {
    filter: brightness(0.95);
}

/* ================================================
   DARK MODE - ÜRÜNLER SAYFASI ÖZELLEŞTİRME
   ================================================ */

/* Premium Product Name - Dark Mode */
[data-theme="dark"] .premium-product-name,
[data-coreui-theme="dark"] .premium-product-name {
    color: #f1f5f9 !important;
}

/* Premium Product Table - Dark Mode */
[data-theme="dark"] .premium-product-table,
[data-coreui-theme="dark"] .premium-product-table {
    background: var(--card-bg) !important;
    box-shadow: var(--shadow-lg) !important;
}

[data-theme="dark"] .premium-product-table .table,
[data-coreui-theme="dark"] .premium-product-table .table {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .premium-product-table .table thead th,
[data-coreui-theme="dark"] .premium-product-table .table thead th {
    background: var(--table-header-bg) !important;
    color: var(--text-secondary) !important;
    border-color: var(--table-border) !important;
}

[data-theme="dark"] .premium-product-table .table tbody td,
[data-coreui-theme="dark"] .premium-product-table .table tbody td {
    border-color: var(--table-border) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .premium-product-table .table tbody tr:hover,
[data-coreui-theme="dark"] .premium-product-table .table tbody tr:hover {
    background: var(--table-row-hover) !important;
}

/* Premium Stock Filters - Dark Mode */
[data-theme="dark"] .premium-stock-filter,
[data-coreui-theme="dark"] .premium-stock-filter {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .premium-stock-btn,
[data-coreui-theme="dark"] .premium-stock-btn {
    background: var(--bg-secondary) !important;
    color: var(--text-secondary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .premium-stock-btn:hover,
[data-coreui-theme="dark"] .premium-stock-btn:hover {
    background: var(--bg-card-hover) !important;
    color: var(--text-primary) !important;
}

/* Premium Unit Badge - Dark Mode */
[data-theme="dark"] .premium-unit,
[data-coreui-theme="dark"] .premium-unit {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.15) 100%) !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
    color: #a78bfa !important;
}

/* ================================================
   DARK MODE - GELİR-GİDER SAYFASI ÖZELLEŞTİRME
   ================================================ */

/* Premium Cashflow Table - Dark Mode */
[data-theme="dark"] .premium-cashflow-table,
[data-coreui-theme="dark"] .premium-cashflow-table {
    background: var(--card-bg) !important;
    box-shadow: var(--shadow-lg) !important;
}

[data-theme="dark"] .premium-cashflow-table .table,
[data-coreui-theme="dark"] .premium-cashflow-table .table {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .premium-cashflow-table .table thead th,
[data-coreui-theme="dark"] .premium-cashflow-table .table thead th {
    background: var(--table-header-bg) !important;
    color: var(--text-secondary) !important;
    border-color: var(--table-border) !important;
}

[data-theme="dark"] .premium-cashflow-table .table tbody td,
[data-coreui-theme="dark"] .premium-cashflow-table .table tbody td {
    border-color: var(--table-border) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .premium-cashflow-table .table tbody tr:hover,
[data-coreui-theme="dark"] .premium-cashflow-table .table tbody tr:hover {
    background: var(--table-row-hover) !important;
}

[data-theme="dark"] .premium-cashflow-table .card-footer,
[data-coreui-theme="dark"] .premium-cashflow-table .card-footer {
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

/* Premium Date Card - Dark Mode */
[data-theme="dark"] .premium-date-card,
[data-coreui-theme="dark"] .premium-date-card {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%) !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .premium-date-card .date-day,
[data-coreui-theme="dark"] .premium-date-card .date-day {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .premium-date-year,
[data-coreui-theme="dark"] .premium-date-year {
    color: #64748b !important;
}

[data-theme="dark"] .premium-date-time,
[data-coreui-theme="dark"] .premium-date-time {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.15) 100%) !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
    color: #a78bfa !important;
}

/* Premium Description - Dark Mode */
[data-theme="dark"] .premium-description,
[data-coreui-theme="dark"] .premium-description {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .premium-description .desc-zoom,
[data-coreui-theme="dark"] .premium-description .desc-zoom {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2)) !important;
    color: #a78bfa !important;
}

/* Premium Payment Badge - Dark Mode */
[data-theme="dark"] .premium-payment-badge,
[data-coreui-theme="dark"] .premium-payment-badge {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.15) 100%) !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
    color: #a78bfa !important;
}

/* Sale Detail Link - Dark Mode */
[data-theme="dark"] .sale-detail-link,
[data-coreui-theme="dark"] .sale-detail-link {
    color: var(--text-primary) !important;
    background: rgba(139, 92, 246, 0.12) !important;
}

[data-theme="dark"] .sale-detail-link:hover,
[data-coreui-theme="dark"] .sale-detail-link:hover {
    background: rgba(139, 92, 246, 0.2) !important;
    color: #a78bfa !important;
}

/* ================================================
   DARK MODE - FİLTRE ALANLARI ÖZELLEŞTİRME
   ================================================ */

/* Filter Card Background - Dark Mode */
[data-theme="dark"] .card-body[style*="linear-gradient(135deg, #f8fafc"],
[data-coreui-theme="dark"] .card-body[style*="linear-gradient(135deg, #f8fafc"] {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

/* Form Labels in Dark Mode */
[data-theme="dark"] .form-label.text-muted,
[data-theme="dark"] label.form-label,
[data-coreui-theme="dark"] .form-label.text-muted,
[data-coreui-theme="dark"] label.form-label {
    color: var(--text-secondary) !important;
}

/* Small/Muted text in filter areas */
[data-theme="dark"] .small.fw-semibold.text-muted,
[data-theme="dark"] .small.text-muted,
[data-coreui-theme="dark"] .small.fw-semibold.text-muted,
[data-coreui-theme="dark"] .small.text-muted {
    color: var(--text-muted) !important;
}

/* Premium Profit Card - Dark Mode */
[data-theme="dark"] .premium-profit-card,
[data-coreui-theme="dark"] .premium-profit-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

[data-theme="dark"] .premium-profit-card .text-muted,
[data-coreui-theme="dark"] .premium-profit-card .text-muted {
    color: var(--text-muted) !important;
}

/* Table Light Footer - Dark Mode */
[data-theme="dark"] .table-light,
[data-theme="dark"] tfoot.table-light,
[data-coreui-theme="dark"] .table-light,
[data-coreui-theme="dark"] tfoot.table-light {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .table-light td,
[data-theme="dark"] .table-light th,
[data-coreui-theme="dark"] .table-light td,
[data-coreui-theme="dark"] .table-light th {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

/* Strong text in tables */
[data-theme="dark"] .table strong,
[data-coreui-theme="dark"] .table strong {
    color: var(--text-primary) !important;
}

/* text-body-secondary override for dark mode */
[data-theme="dark"] .text-body-secondary,
[data-coreui-theme="dark"] .text-body-secondary {
    color: var(--text-muted) !important;
}

/* ================================================
   PREMIUM FILTER CARDS - Light & Dark Mode
   ================================================ */
.premium-filter-body {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.premium-filter-label {
    color: #64748b;
}

[data-theme="dark"] .premium-filter-card,
[data-coreui-theme="dark"] .premium-filter-card {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .premium-filter-body,
[data-coreui-theme="dark"] .premium-filter-body {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

[data-theme="dark"] .premium-filter-label,
[data-coreui-theme="dark"] .premium-filter-label {
    color: #94a3b8 !important;
}

/* ================================================
   DARK MODE - GELİR-GİDER FİLTRE ÖZELLEŞTİRME
   ================================================ */

/* Inline styled form labels in gelir-gider filters */
[data-theme="dark"] .form-label[style*="color: #475569"],
[data-coreui-theme="dark"] .form-label[style*="color: #475569"] {
    color: #94a3b8 !important;
}

/* Inline styled form controls */
[data-theme="dark"] .form-control[style*="color: #334155"],
[data-theme="dark"] .form-select[style*="color: #334155"],
[data-coreui-theme="dark"] .form-control[style*="color: #334155"],
[data-coreui-theme="dark"] .form-select[style*="color: #334155"] {
    color: var(--text-primary) !important;
    background-color: var(--input-bg) !important;
    border-color: var(--input-border) !important;
}

[data-theme="dark"] .form-control[style*="background-color: #f8fafc"],
[data-theme="dark"] .form-select[style*="background-color: #f8fafc"],
[data-coreui-theme="dark"] .form-control[style*="background-color: #f8fafc"],
[data-coreui-theme="dark"] .form-select[style*="background-color: #f8fafc"] {
    background-color: var(--input-bg) !important;
}

/* Filter card backgrounds with inline styles */
[data-theme="dark"] [style*="background: linear-gradient(135deg, #f8fafc"],
[data-theme="dark"] [style*="background: linear-gradient(145deg, #f8fafc"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #f8fafc"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(145deg, #f8fafc"] {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

/* Premium filter header with inline gradient */
[data-theme="dark"] [style*="background: linear-gradient(135deg, #667eea"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #667eea"] {
    background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 50%, #7c3aed 100%) !important;
}

/* ================================================
   DARK MODE - INDEX.PHP DASHBOARD ÖZELLEŞTİRME
   Ana sayfa dashboard kartları için kapsamlı dark mode
   ================================================ */

/* Premium Dashboard Card - Inline Style Override */
[data-theme="dark"] .premium-dashboard-card,
[data-coreui-theme="dark"] .premium-dashboard-card {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%) !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .premium-dashboard-card .card-header,
[data-coreui-theme="dark"] .premium-dashboard-card .card-header {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%) !important;
    border-color: rgba(139, 92, 246, 0.15) !important;
}

[data-theme="dark"] .premium-dashboard-card .card-body,
[data-coreui-theme="dark"] .premium-dashboard-card .card-body {
    background: transparent !important;
}

/* Dashboard Card Title - Inline Style Override */
[data-theme="dark"] .card-title[style*="color: #1e293b"],
[data-theme="dark"] h6[style*="color: #1e293b"],
[data-coreui-theme="dark"] .card-title[style*="color: #1e293b"],
[data-coreui-theme="dark"] h6[style*="color: #1e293b"] {
    color: #f1f5f9 !important;
}

/* Dashboard Stat Cards - Inline Light Gradient Override */
[data-theme="dark"] [style*="background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9"],
[data-theme="dark"] [style*="background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9"] {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

/* Dashboard Green Cards (Net Kar/Zarar, Gelir) Override */
[data-theme="dark"] [style*="background: linear-gradient(135deg, #dcfce7"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #dcfce7"] {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%) !important;
    border-color: rgba(52, 211, 153, 0.3) !important;
}

/* Dashboard Blue Cards Override */
[data-theme="dark"] [style*="background: linear-gradient(135deg, #dbeafe"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #dbeafe"] {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%) !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
}

/* Dashboard Purple Cards Override */
[data-theme="dark"] [style*="background: linear-gradient(135deg, #ede9fe"],
[data-theme="dark"] [style*="background: linear-gradient(135deg, #f3e8ff"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #ede9fe"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #f3e8ff"] {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.08) 100%) !important;
    border-color: rgba(167, 139, 250, 0.3) !important;
}

/* Dashboard Red Cards Override */
[data-theme="dark"] [style*="background: linear-gradient(135deg, #fee2e2"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #fee2e2"] {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.08) 100%) !important;
    border-color: rgba(248, 113, 113, 0.3) !important;
}

/* Dashboard Orange Cards Override */
[data-theme="dark"] [style*="background: linear-gradient(135deg, #ffedd5"],
[data-theme="dark"] [style*="background: linear-gradient(135deg, #fef3c7"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #ffedd5"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #fef3c7"] {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0.08) 100%) !important;
    border-color: rgba(251, 191, 36, 0.3) !important;
}

/* Dashboard Cyan Cards Override */
[data-theme="dark"] [style*="background: linear-gradient(135deg, #cffafe"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #cffafe"] {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0.08) 100%) !important;
    border-color: rgba(34, 211, 238, 0.3) !important;
}

/* Inline Text Colors Override for Dark Mode */
[data-theme="dark"] [style*="color: #475569"],
[data-coreui-theme="dark"] [style*="color: #475569"] {
    color: #94a3b8 !important;
}

[data-theme="dark"] [style*="color: #334155"],
[data-coreui-theme="dark"] [style*="color: #334155"] {
    color: #cbd5e1 !important;
}

[data-theme="dark"] [style*="color: #64748b"],
[data-coreui-theme="dark"] [style*="color: #64748b"] {
    color: #94a3b8 !important;
}

[data-theme="dark"] [style*="color: #1e293b"],
[data-coreui-theme="dark"] [style*="color: #1e293b"] {
    color: #f1f5f9 !important;
}

[data-theme="dark"] [style*="color: #0f172a"],
[data-coreui-theme="dark"] [style*="color: #0f172a"] {
    color: #f8fafc !important;
}

/* Green Text Color Override */
[data-theme="dark"] [style*="color: #166534"],
[data-theme="dark"] [style*="color: #15803d"],
[data-theme="dark"] [style*="color: #059669"],
[data-coreui-theme="dark"] [style*="color: #166534"],
[data-coreui-theme="dark"] [style*="color: #15803d"],
[data-coreui-theme="dark"] [style*="color: #059669"] {
    color: #34d399 !important;
}

/* Blue Text Color Override */
[data-theme="dark"] [style*="color: #1e40af"],
[data-theme="dark"] [style*="color: #2563eb"],
[data-coreui-theme="dark"] [style*="color: #1e40af"],
[data-coreui-theme="dark"] [style*="color: #2563eb"] {
    color: #60a5fa !important;
}

/* Purple Text Color Override */
[data-theme="dark"] [style*="color: #5b21b6"],
[data-theme="dark"] [style*="color: #7c3aed"],
[data-coreui-theme="dark"] [style*="color: #5b21b6"],
[data-coreui-theme="dark"] [style*="color: #7c3aed"] {
    color: #a78bfa !important;
}

/* Red Text Color Override */
[data-theme="dark"] [style*="color: #991b1b"],
[data-theme="dark"] [style*="color: #dc2626"],
[data-coreui-theme="dark"] [style*="color: #991b1b"],
[data-coreui-theme="dark"] [style*="color: #dc2626"] {
    color: #f87171 !important;
}

/* Orange Text Color Override */
[data-theme="dark"] [style*="color: #92400e"],
[data-theme="dark"] [style*="color: #d97706"],
[data-coreui-theme="dark"] [style*="color: #92400e"],
[data-coreui-theme="dark"] [style*="color: #d97706"] {
    color: #fbbf24 !important;
}

/* Border Colors Override for Dark Mode */
[data-theme="dark"] [style*="border-color: #e5e7eb"],
[data-theme="dark"] [style*="border: 1px solid #e5e7eb"],
[data-coreui-theme="dark"] [style*="border-color: #e5e7eb"],
[data-coreui-theme="dark"] [style*="border: 1px solid #e5e7eb"] {
    border-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] [style*="border-color: #e2e8f0"],
[data-theme="dark"] [style*="border: 1px solid #e2e8f0"],
[data-coreui-theme="dark"] [style*="border-color: #e2e8f0"],
[data-coreui-theme="dark"] [style*="border: 1px solid #e2e8f0"] {
    border-color: rgba(139, 92, 246, 0.15) !important;
}

[data-theme="dark"] [style*="border-top: 1px solid #e5e7eb"],
[data-coreui-theme="dark"] [style*="border-top: 1px solid #e5e7eb"] {
    border-top-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] [style*="border-bottom: 1px solid #e5e7eb"],
[data-coreui-theme="dark"] [style*="border-bottom: 1px solid #e5e7eb"] {
    border-bottom-color: rgba(139, 92, 246, 0.2) !important;
}

/* ================================================
   DARK MODE - CARİ HESAP ÖZETİ SEKSİYONU
   ================================================ */

/* Cari Summary Grid Cards */
[data-theme="dark"] .cari-summary-grid,
[data-coreui-theme="dark"] .cari-summary-grid {
    color: var(--text-primary);
}

[data-theme="dark"] .cari-stat-card,
[data-coreui-theme="dark"] .cari-stat-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .cari-stat-card.receivable,
[data-coreui-theme="dark"] .cari-stat-card.receivable {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.05) 100%) !important;
    border-color: rgba(52, 211, 153, 0.25) !important;
}

[data-theme="dark"] .cari-stat-card.payable,
[data-coreui-theme="dark"] .cari-stat-card.payable {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(239, 68, 68, 0.05) 100%) !important;
    border-color: rgba(248, 113, 113, 0.25) !important;
}

[data-theme="dark"] .cari-stat-card.net,
[data-coreui-theme="dark"] .cari-stat-card.net {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(139, 92, 246, 0.05) 100%) !important;
    border-color: rgba(167, 139, 250, 0.25) !important;
}

[data-theme="dark"] .cari-stat-label,
[data-coreui-theme="dark"] .cari-stat-label {
    color: #94a3b8 !important;
}

[data-theme="dark"] .cari-stat-value,
[data-coreui-theme="dark"] .cari-stat-value {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .cari-stat-desc,
[data-coreui-theme="dark"] .cari-stat-desc {
    color: #64748b !important;
}

/* Cari Debtors Section */
[data-theme="dark"] .cari-debtors-section,
[data-coreui-theme="dark"] .cari-debtors-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

[data-theme="dark"] .cari-debtors-header,
[data-coreui-theme="dark"] .cari-debtors-header {
    border-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .cari-debtors-title,
[data-coreui-theme="dark"] .cari-debtors-title {
    color: #94a3b8 !important;
}

[data-theme="dark"] .cari-debtor-item,
[data-coreui-theme="dark"] .cari-debtor-item {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%) !important;
    border-color: rgba(139, 92, 246, 0.15) !important;
}

[data-theme="dark"] .cari-debtor-item:hover,
[data-coreui-theme="dark"] .cari-debtor-item:hover {
    background: linear-gradient(135deg, #475569 0%, #334155 100%) !important;
    border-color: var(--brand-primary) !important;
}

[data-theme="dark"] .cari-debtor-name,
[data-coreui-theme="dark"] .cari-debtor-name {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .cari-debtor-type,
[data-coreui-theme="dark"] .cari-debtor-type {
    color: #64748b !important;
}

[data-theme="dark"] .cari-debtor-emoji,
[data-coreui-theme="dark"] .cari-debtor-emoji {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%) !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}

/* Cari Empty State */
[data-theme="dark"] .cari-empty,
[data-coreui-theme="dark"] .cari-empty {
    color: #64748b !important;
}

/* ================================================
   DARK MODE - MİNİ STAT KARTLARI (Nakit, K.Kartı, Toplam)
   ================================================ */

/* Mini stat cards with inline light background */
[data-theme="dark"] div[style*="background: #ffffff"],
[data-coreui-theme="dark"] div[style*="background: #ffffff"] {
    background: #1e293b !important;
}

[data-theme="dark"] div[style*="background: white"],
[data-coreui-theme="dark"] div[style*="background: white"] {
    background: #1e293b !important;
}

/* Mini stat card emoji backgrounds */
[data-theme="dark"] div[style*="background: linear-gradient(135deg, #dcfce7"][style*="border-radius"],
[data-coreui-theme="dark"] div[style*="background: linear-gradient(135deg, #dcfce7"][style*="border-radius"] {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%) !important;
}

/* ================================================
   DARK MODE - SON İŞLEMLER TABLOSU
   ================================================ */

[data-theme="dark"] .data-card-premium,
[data-coreui-theme="dark"] .data-card-premium {
    background: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .data-card-premium .card-header,
[data-coreui-theme="dark"] .data-card-premium .card-header {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%) !important;
    border-color: rgba(139, 92, 246, 0.15) !important;
}

[data-theme="dark"] .premium-data-table thead th,
[data-coreui-theme="dark"] .premium-data-table thead th {
    background: linear-gradient(180deg, #1e293b 0%, #334155 100%) !important;
    color: #94a3b8 !important;
    border-color: rgba(139, 92, 246, 0.1) !important;
}

[data-theme="dark"] .premium-data-table tbody tr,
[data-coreui-theme="dark"] .premium-data-table tbody tr {
    background: transparent !important;
}

[data-theme="dark"] .premium-data-table tbody tr:hover,
[data-coreui-theme="dark"] .premium-data-table tbody tr:hover {
    background: rgba(139, 92, 246, 0.08) !important;
}

[data-theme="dark"] .premium-data-table tbody td,
[data-coreui-theme="dark"] .premium-data-table tbody td {
    border-color: rgba(139, 92, 246, 0.08) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .transaction-name,
[data-coreui-theme="dark"] .transaction-name {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .transaction-ref,
[data-coreui-theme="dark"] .transaction-ref {
    color: #64748b !important;
}

/* Transaction Type Icon Backgrounds */
[data-theme="dark"] .transaction-type-icon.income,
[data-coreui-theme="dark"] .transaction-type-icon.income {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%) !important;
    color: #34d399 !important;
}

[data-theme="dark"] .transaction-type-icon.expense,
[data-coreui-theme="dark"] .transaction-type-icon.expense {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.1) 100%) !important;
    color: #f87171 !important;
}

/* Source Badges Dark Mode */
[data-theme="dark"] .source-badge.invoice,
[data-coreui-theme="dark"] .source-badge.invoice {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%) !important;
    color: #a78bfa !important;
}

[data-theme="dark"] .source-badge.cash_flow,
[data-coreui-theme="dark"] .source-badge.cash_flow {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.1) 100%) !important;
    color: #22d3ee !important;
}

/* ================================================
   DARK MODE - GRAFİK KARTLARI
   ================================================ */

[data-theme="dark"] .chart-card-premium,
[data-coreui-theme="dark"] .chart-card-premium {
    background: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .chart-card-premium .card-header,
[data-coreui-theme="dark"] .chart-card-premium .card-header {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%) !important;
    border-color: rgba(139, 92, 246, 0.15) !important;
}

[data-theme="dark"] .chart-card-premium .card-title,
[data-coreui-theme="dark"] .chart-card-premium .card-title {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .chart-legend-inline .legend-item,
[data-coreui-theme="dark"] .chart-legend-inline .legend-item {
    color: #94a3b8 !important;
}

/* ================================================
   DARK MODE - KATEGORİ ÖZET KARTI
   ================================================ */

[data-theme="dark"] .month-summary-hero,
[data-coreui-theme="dark"] .month-summary-hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .summary-hero-label,
[data-coreui-theme="dark"] .summary-hero-label {
    color: #94a3b8 !important;
}

[data-theme="dark"] .summary-bars,
[data-coreui-theme="dark"] .summary-bars {
    color: var(--text-primary);
}

[data-theme="dark"] .bar-label,
[data-coreui-theme="dark"] .bar-label {
    color: #94a3b8 !important;
}

[data-theme="dark"] .bar-value,
[data-coreui-theme="dark"] .bar-value {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .bar-track,
[data-coreui-theme="dark"] .bar-track {
    background: #334155 !important;
}

[data-theme="dark"] .category-mini-section,
[data-coreui-theme="dark"] .category-mini-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

[data-theme="dark"] .category-mini-title,
[data-coreui-theme="dark"] .category-mini-title {
    color: #94a3b8 !important;
}

[data-theme="dark"] .category-mini-item,
[data-coreui-theme="dark"] .category-mini-item {
    background: #334155 !important;
    border-color: rgba(139, 92, 246, 0.15) !important;
}

[data-theme="dark"] .category-mini-item .cat-name,
[data-coreui-theme="dark"] .category-mini-item .cat-name {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .category-mini-item .cat-value,
[data-coreui-theme="dark"] .category-mini-item .cat-value {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .summary-stats-row .summary-stat,
[data-coreui-theme="dark"] .summary-stats-row .summary-stat {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .summary-stat .stat-count,
[data-coreui-theme="dark"] .summary-stat .stat-count {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .summary-stat .stat-text,
[data-coreui-theme="dark"] .summary-stat .stat-text {
    color: #64748b !important;
}

/* ================================================
   DARK MODE - MODAL DÜZENLEMELERİ
   ================================================ */

[data-theme="dark"] .modal-content,
[data-coreui-theme="dark"] .modal-content {
    background: #1e293b !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

/* Modal Header with inline gradient */
[data-theme="dark"] .modal-header[style*="background: linear-gradient(135deg, #f59e0b"],
[data-coreui-theme="dark"] .modal-header[style*="background: linear-gradient(135deg, #f59e0b"] {
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%) !important;
}

[data-theme="dark"] .modal-body,
[data-coreui-theme="dark"] .modal-body {
    background: #1e293b !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .modal-footer,
[data-coreui-theme="dark"] .modal-footer {
    background: #0f172a !important;
    border-color: rgba(139, 92, 246, 0.15) !important;
}

[data-theme="dark"] .modal-footer[style*="border-top: 1px solid #e5e7eb"],
[data-coreui-theme="dark"] .modal-footer[style*="border-top: 1px solid #e5e7eb"] {
    border-top-color: rgba(139, 92, 246, 0.2) !important;
}

/* Modal Input Groups with inline styles */
[data-theme="dark"] .input-group-text[style*="background: #fef3c7"],
[data-theme="dark"] .input-group-text[style*="background: #dcfce7"],
[data-theme="dark"] .input-group-text[style*="background: #e0e7ff"],
[data-coreui-theme="dark"] .input-group-text[style*="background: #fef3c7"],
[data-coreui-theme="dark"] .input-group-text[style*="background: #dcfce7"],
[data-coreui-theme="dark"] .input-group-text[style*="background: #e0e7ff"] {
    background: #334155 !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
    color: #a78bfa !important;
}

[data-theme="dark"] .modal-body .form-control,
[data-theme="dark"] .modal-body .form-select,
[data-coreui-theme="dark"] .modal-body .form-control,
[data-coreui-theme="dark"] .modal-body .form-select {
    background-color: #0f172a !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .modal-body .form-label,
[data-coreui-theme="dark"] .modal-body .form-label {
    color: #cbd5e1 !important;
}

/* ================================================
   DARK MODE - HEADER
   ================================================ */

[data-theme="dark"] .header,
[data-coreui-theme="dark"] .header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border-color: rgba(139, 92, 246, 0.15) !important;
}

[data-theme="dark"] .header-nav .nav-link,
[data-coreui-theme="dark"] .header-nav .nav-link {
    color: #cbd5e1 !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.08) 100%) !important;
}

[data-theme="dark"] .header-nav .nav-link:hover,
[data-coreui-theme="dark"] .header-nav .nav-link:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(139, 92, 246, 0.15) 100%) !important;
    color: #f1f5f9 !important;
}

/* ================================================
   DARK MODE - FOOTER
   ================================================ */

[data-theme="dark"] .footer,
[data-coreui-theme="dark"] .footer {
    background: var(--footer-bg) !important;
    border-color: rgba(139, 92, 246, 0.15) !important;
    color: var(--text-secondary) !important;
}

/* ================================================
   DARK MODE - RAPORLAR SAYFASI
   ================================================ */

/* Premium Payment Cards for Reports */
[data-theme="dark"] .premium-payment-card,
[data-coreui-theme="dark"] .premium-payment-card {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%) !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .premium-payment-card.cash-card,
[data-coreui-theme="dark"] .premium-payment-card.cash-card {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%) !important;
    border-color: rgba(52, 211, 153, 0.3) !important;
}

[data-theme="dark"] .premium-payment-card.card-card,
[data-coreui-theme="dark"] .premium-payment-card.card-card {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%) !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
}

[data-theme="dark"] .premium-payment-card .text-muted,
[data-coreui-theme="dark"] .premium-payment-card .text-muted {
    color: #94a3b8 !important;
}
/* ================================================
   DARK MODE - MÜŞTERİLER SAYFASI
   ================================================ */

/* Premium Filter Container */
[data-theme="dark"] .premium-filter-container,
[data-coreui-theme="dark"] .premium-filter-container {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .premium-filter-btn,
[data-coreui-theme="dark"] .premium-filter-btn {
    color: #94a3b8 !important;
}

[data-theme="dark"] .premium-filter-btn:hover,
[data-coreui-theme="dark"] .premium-filter-btn:hover {
    color: #f1f5f9 !important;
    background: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .premium-filter-btn .filter-count,
[data-coreui-theme="dark"] .premium-filter-btn .filter-count {
    background: rgba(139, 92, 246, 0.25) !important;
    color: #a78bfa !important;
}

/* Premium Stat Cards (Cariler sayfası) */
[data-theme="dark"] .premium-stat-card-m,
[data-coreui-theme="dark"] .premium-stat-card-m {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
}

/* Premium List Header */
[data-theme="dark"] .premium-list-header,
[data-coreui-theme="dark"] .premium-list-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
}

/* Premium Search Box */
[data-theme="dark"] .premium-search-box,
[data-coreui-theme="dark"] .premium-search-box {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}

[data-theme="dark"] .premium-search-box input,
[data-coreui-theme="dark"] .premium-search-box input {
    color: #f1f5f9 !important;
}

/* Table Header Backgrounds */
[data-theme="dark"] thead[style*="background: linear-gradient(135deg, #f8f9fa"],
[data-coreui-theme="dark"] thead[style*="background: linear-gradient(135deg, #f8f9fa"] {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

[data-theme="dark"] thead th[style*="color: #6c757d"],
[data-coreui-theme="dark"] thead th[style*="color: #6c757d"] {
    color: #94a3b8 !important;
}

/* Table Row Names (fw-semibold) */
[data-theme="dark"] .table tbody .fw-semibold,
[data-coreui-theme="dark"] .table tbody .fw-semibold {
    color: #f1f5f9 !important;
}

/* Table Small Text Muted */
[data-theme="dark"] .table .small.text-muted,
[data-coreui-theme="dark"] .table .small.text-muted {
    color: #64748b !important;
}

/* ================================================
   DARK MODE - FATURALAR SAYFASI
   ================================================ */

/* Page Header Premium (Faturalar) */
[data-theme="dark"] .page-header-premium,
[data-coreui-theme="dark"] .page-header-premium {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

/* Premium Tabs (Fatura filtreleri) */
[data-theme="dark"] .premium-tabs,
[data-coreui-theme="dark"] .premium-tabs {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

[data-theme="dark"] .premium-tab,
[data-coreui-theme="dark"] .premium-tab {
    color: #94a3b8 !important;
}

[data-theme="dark"] .premium-tab:hover,
[data-coreui-theme="dark"] .premium-tab:hover {
    background: rgba(139, 92, 246, 0.2) !important;
    color: #f1f5f9 !important;
}

/* Premium Fatura Filter */
[data-theme="dark"] .premium-fatura-filter,
[data-coreui-theme="dark"] .premium-fatura-filter {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

[data-theme="dark"] .premium-fatura-btn,
[data-coreui-theme="dark"] .premium-fatura-btn {
    color: #94a3b8 !important;
    background: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .premium-fatura-btn:hover,
[data-coreui-theme="dark"] .premium-fatura-btn:hover {
    background: rgba(139, 92, 246, 0.2) !important;
    color: #f1f5f9 !important;
}

/* ================================================
   DARK MODE - TABLO İNCELEMELERİ
   ================================================ */

/* Table with inline style header */
[data-theme="dark"] thead[style*="linear-gradient"],
[data-coreui-theme="dark"] thead[style*="linear-gradient"] {
    background: var(--table-header-bg) !important;
}

/* Table cell text colors */
[data-theme="dark"] .table td.text-center,
[data-theme="dark"] .table td.text-end,
[data-coreui-theme="dark"] .table td.text-center,
[data-coreui-theme="dark"] .table td.text-end {
    color: var(--text-primary);
}

/* Table Empty State */
[data-theme="dark"] .table .text-muted.mt-2,
[data-coreui-theme="dark"] .table .text-muted.mt-2 {
    color: #64748b !important;
}

/* Table Links */
[data-theme="dark"] .table td a:not(.btn),
[data-coreui-theme="dark"] .table td a:not(.btn) {
    color: #a78bfa !important;
}

[data-theme="dark"] .table td a:not(.btn):hover,
[data-coreui-theme="dark"] .table td a:not(.btn):hover {
    color: #c4b5fd !important;
}

/* ================================================
   DARK MODE - AYARLAR SAYFASI
   ================================================ */

[data-theme="dark"] .nav-tabs,
[data-coreui-theme="dark"] .nav-tabs {
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .nav-tabs .nav-link,
[data-coreui-theme="dark"] .nav-tabs .nav-link {
    color: #94a3b8 !important;
    border-color: transparent !important;
}

[data-theme="dark"] .nav-tabs .nav-link:hover,
[data-coreui-theme="dark"] .nav-tabs .nav-link:hover {
    border-color: var(--border-color) !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .nav-tabs .nav-link.active,
[data-coreui-theme="dark"] .nav-tabs .nav-link.active {
    background: var(--bg-card) !important;
    color: var(--brand-primary) !important;
    border-color: var(--border-color) !important;
    border-bottom-color: var(--bg-card) !important;
}

[data-theme="dark"] .tab-content,
[data-coreui-theme="dark"] .tab-content {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

/* ================================================
   DARK MODE - GENEL OVERRIDES
   ================================================ */

/* Card shadows for dark mode - softer */
[data-theme="dark"] .card.shadow-lg,
[data-coreui-theme="dark"] .card.shadow-lg {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .card.shadow,
[data-coreui-theme="dark"] .card.shadow {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}

/* List Group */
[data-theme="dark"] .list-group-item,
[data-coreui-theme="dark"] .list-group-item {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .list-group-item:hover,
[data-coreui-theme="dark"] .list-group-item:hover {
    background: var(--bg-card-hover) !important;
}

/* Progress bars (keep colored) */
[data-theme="dark"] .progress,
[data-coreui-theme="dark"] .progress {
    background: var(--bg-secondary) !important;
}

/* Tooltip customization */
[data-theme="dark"] .tooltip-inner,
[data-coreui-theme="dark"] .tooltip-inner {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
}

/* Popover */
[data-theme="dark"] .popover,
[data-coreui-theme="dark"] .popover {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .popover-header,
[data-coreui-theme="dark"] .popover-header {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .popover-body,
[data-coreui-theme="dark"] .popover-body {
    color: var(--text-secondary) !important;
}

/* Accordion */
[data-theme="dark"] .accordion-item,
[data-coreui-theme="dark"] .accordion-item {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .accordion-button,
[data-coreui-theme="dark"] .accordion-button {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .accordion-button:not(.collapsed),
[data-coreui-theme="dark"] .accordion-button:not(.collapsed) {
    background: var(--bg-secondary) !important;
    color: var(--brand-primary) !important;
}

[data-theme="dark"] .accordion-body,
[data-coreui-theme="dark"] .accordion-body {
    background: var(--bg-card) !important;
    color: var(--text-secondary) !important;
}

/* ================================================
   DARK MODE - SCROLLBAR
   ================================================ */

[data-theme="dark"] ::-webkit-scrollbar-track,
[data-coreui-theme="dark"] ::-webkit-scrollbar-track {
    background: #0f172a;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb,
[data-coreui-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover,
[data-coreui-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* ================================================
   DARK MODE - SİLİK YAZI DÜZELTMELERİ
   Karanlık modda belirgin beyaz/açık tonlar
   ================================================ */

/* Cari Debtor Type - "Müşteri" / "Tedarikçi" yazısı */
[data-theme="dark"] .cari-debtor-type,
[data-coreui-theme="dark"] .cari-debtor-type {
    color: #cbd5e1 !important;
}

/* Summary Stat Text - "Gelir Türü" / "Gider Türü" yazısı */
[data-theme="dark"] .summary-stat .stat-text,
[data-coreui-theme="dark"] .summary-stat .stat-text {
    color: #cbd5e1 !important;
}

/* Chart Legend yazıları - En Çok Satan Ürünler legendları */
[data-theme="dark"] .chartjs-legend,
[data-theme="dark"] .chart-legend,
[data-coreui-theme="dark"] .chartjs-legend,
[data-coreui-theme="dark"] .chart-legend {
    color: #f1f5f9 !important;
}

/* Chart.js legend yazıları */
[data-theme="dark"] .chart-card canvas + div,
[data-theme="dark"] .chart-card-premium canvas + div,
[data-coreui-theme="dark"] .chart-card canvas + div,
[data-coreui-theme="dark"] .chart-card-premium canvas + div {
    color: #f1f5f9 !important;
}

/* Doughnut/Pie chart legendları */
[data-theme="dark"] [class*="legend"],
[data-coreui-theme="dark"] [class*="legend"] {
    color: #e2e8f0 !important;
}

/* Özel chart legend container */
[data-theme="dark"] .doughnut-legend-text,
[data-coreui-theme="dark"] .doughnut-legend-text {
    color: #e2e8f0 !important;
}

/* Btn Premium Action Outline - "Tümü" butonu */
[data-theme="dark"] .btn-premium-action.outline,
[data-coreui-theme="dark"] .btn-premium-action.outline {
    background: rgba(139, 92, 246, 0.15) !important;
    color: #e2e8f0 !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
}

[data-theme="dark"] .btn-premium-action.outline:hover,
[data-coreui-theme="dark"] .btn-premium-action.outline:hover {
    background: rgba(139, 92, 246, 0.3) !important;
    color: #ffffff !important;
    border-color: rgba(139, 92, 246, 0.6) !important;
}

/* Card Title ve Son İşlemler başlığı */
[data-theme="dark"] .data-card-premium .card-title,
[data-theme="dark"] .chart-card-premium .card-title,
[data-coreui-theme="dark"] .data-card-premium .card-title,
[data-coreui-theme="dark"] .chart-card-premium .card-title {
    color: #f1f5f9 !important;
}

/* Cari Hesap Özeti - Tümü butonu ve diğer outline butonlar */
[data-theme="dark"] .btn.btn-outline-light,
[data-theme="dark"] .btn-outline-secondary,
[data-coreui-theme="dark"] .btn.btn-outline-light,
[data-coreui-theme="dark"] .btn-outline-secondary {
    color: #e2e8f0 !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

[data-theme="dark"] .btn.btn-outline-light:hover,
[data-theme="dark"] .btn-outline-secondary:hover,
[data-coreui-theme="dark"] .btn.btn-outline-light:hover,
[data-coreui-theme="dark"] .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

/* Mini stat kartlarındaki yazılar - inline styles override */
[data-theme="dark"] [style*="color: #166534"],
[data-coreui-theme="dark"] [style*="color: #166534"] {
    color: #86efac !important;
}

[data-theme="dark"] [style*="color: #15803d"],
[data-coreui-theme="dark"] [style*="color: #15803d"] {
    color: #4ade80 !important;
}

[data-theme="dark"] [style*="color: #1e40af"],
[data-coreui-theme="dark"] [style*="color: #1e40af"] {
    color: #93c5fd !important;
}

[data-theme="dark"] [style*="color: #1d4ed8"],
[data-coreui-theme="dark"] [style*="color: #1d4ed8"] {
    color: #60a5fa !important;
}

[data-theme="dark"] [style*="color: #6b21a8"],
[data-coreui-theme="dark"] [style*="color: #6b21a8"] {
    color: #d8b4fe !important;
}

/* Açıklama ve alt yazılar */
[data-theme="dark"] .cari-stat-desc,
[data-coreui-theme="dark"] .cari-stat-desc {
    color: #94a3b8 !important;
}

/* Card içindeki small text-muted */
[data-theme="dark"] .card small.text-muted,
[data-theme="dark"] .card .small.text-muted,
[data-coreui-theme="dark"] .card small.text-muted,
[data-coreui-theme="dark"] .card .small.text-muted {
    color: #94a3b8 !important;
}

/* Genel text-muted override - daha belirgin */
[data-theme="dark"] .text-muted,
[data-coreui-theme="dark"] .text-muted {
    color: #94a3b8 !important;
}

/* Chart.js tooltip & legend - global override */
[data-theme="dark"] .chartjs-tooltip,
[data-coreui-theme="dark"] .chartjs-tooltip {
    background: #1e293b !important;
    color: #f1f5f9 !important;
}
/* ================================================
   DARK MODE - KAPSAMLI BUTON & YAZI DÜZELTMELERİ
   Tüm proje genelinde silik yazıları düzeltme
   ================================================ */

/* Premium Action Butonları - Gelir/Gider Ekle */
[data-theme="dark"] .btn-action-income,
[data-theme="dark"] .btn-action-expense,
[data-coreui-theme="dark"] .btn-action-income,
[data-coreui-theme="dark"] .btn-action-expense {
    color: #ffffff !important;
}

[data-theme="dark"] .btn-action-income span,
[data-theme="dark"] .btn-action-expense span,
[data-coreui-theme="dark"] .btn-action-income span,
[data-coreui-theme="dark"] .btn-action-expense span {
    color: #ffffff !important;
}

[data-theme="dark"] .btn-action-income i,
[data-theme="dark"] .btn-action-expense i,
[data-coreui-theme="dark"] .btn-action-income i,
[data-coreui-theme="dark"] .btn-action-expense i {
    color: #ffffff !important;
}

/* Premium Butonları - Genel */
[data-theme="dark"] .premium-btn,
[data-theme="dark"] [class*="premium-btn"],
[data-coreui-theme="dark"] .premium-btn,
[data-coreui-theme="dark"] [class*="premium-btn"] {
    color: #ffffff !important;
}

/* Welcome Card Butonları */
[data-theme="dark"] .welcome-btn-income,
[data-theme="dark"] .welcome-btn-expense,
[data-coreui-theme="dark"] .welcome-btn-income,
[data-coreui-theme="dark"] .welcome-btn-expense {
    color: #ffffff !important;
}

/* Header Actions Premium */
[data-theme="dark"] .btn-premium-action,
[data-theme="dark"] .btn-premium-action span,
[data-coreui-theme="dark"] .btn-premium-action,
[data-coreui-theme="dark"] .btn-premium-action span {
    color: #ffffff !important;
}

[data-theme="dark"] .btn-premium-action.income,
[data-theme="dark"] .btn-premium-action.expense,
[data-coreui-theme="dark"] .btn-premium-action.income,
[data-coreui-theme="dark"] .btn-premium-action.expense {
    color: #ffffff !important;
}

/* Gradient Arka Planlı Tüm Butonlar */
[data-theme="dark"] [style*="background: linear-gradient"][style*="color: white"],
[data-coreui-theme="dark"] [style*="background: linear-gradient"][style*="color: white"] {
    color: #ffffff !important;
}

/* Tüm .btn sınıflarındaki yazılar */
[data-theme="dark"] .btn-success,
[data-theme="dark"] .btn-danger,
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-info,
[data-theme="dark"] .btn-warning,
[data-coreui-theme="dark"] .btn-success,
[data-coreui-theme="dark"] .btn-danger,
[data-coreui-theme="dark"] .btn-primary,
[data-coreui-theme="dark"] .btn-info,
[data-coreui-theme="dark"] .btn-warning {
    color: #ffffff !important;
}

/* Card Header yazıları */
[data-theme="dark"] .card-header h5,
[data-theme="dark"] .card-header h6,
[data-theme="dark"] .card-header .card-title,
[data-coreui-theme="dark"] .card-header h5,
[data-coreui-theme="dark"] .card-header h6,
[data-coreui-theme="dark"] .card-header .card-title {
    color: #f1f5f9 !important;
}

/* Card Body içindeki başlıklar */
[data-theme="dark"] .card-body h1,
[data-theme="dark"] .card-body h2,
[data-theme="dark"] .card-body h3,
[data-theme="dark"] .card-body h4,
[data-theme="dark"] .card-body h5,
[data-theme="dark"] .card-body h6,
[data-coreui-theme="dark"] .card-body h1,
[data-coreui-theme="dark"] .card-body h2,
[data-coreui-theme="dark"] .card-body h3,
[data-coreui-theme="dark"] .card-body h4,
[data-coreui-theme="dark"] .card-body h5,
[data-coreui-theme="dark"] .card-body h6 {
    color: #f1f5f9 !important;
}

/* Form Label'ları */
[data-theme="dark"] .form-label,
[data-theme="dark"] label,
[data-coreui-theme="dark"] .form-label,
[data-coreui-theme="dark"] label {
    color: #cbd5e1 !important;
}

/* Tablo başlıkları ve hücreleri */
[data-theme="dark"] .table th,
[data-coreui-theme="dark"] .table th {
    color: #94a3b8 !important;
}

[data-theme="dark"] .table td,
[data-coreui-theme="dark"] .table td {
    color: #e2e8f0 !important;
}

/* fw-semibold, fw-bold sınıfları */
[data-theme="dark"] .fw-semibold,
[data-theme="dark"] .fw-bold,
[data-theme="dark"] .fw-medium,
[data-coreui-theme="dark"] .fw-semibold,
[data-coreui-theme="dark"] .fw-bold,
[data-coreui-theme="dark"] .fw-medium {
    color: #f1f5f9 !important;
}

/* text-dark override */
[data-theme="dark"] .text-dark,
[data-coreui-theme="dark"] .text-dark {
    color: #f1f5f9 !important;
}

/* text-body override */
[data-theme="dark"] .text-body,
[data-coreui-theme="dark"] .text-body {
    color: #e2e8f0 !important;
}

/* Link renkleri */
[data-theme="dark"] a:not(.btn):not(.nav-link):not([class*="btn-"]),
[data-coreui-theme="dark"] a:not(.btn):not(.nav-link):not([class*="btn-"]) {
    color: #a78bfa;
}

[data-theme="dark"] a:not(.btn):not(.nav-link):not([class*="btn-"]):hover,
[data-coreui-theme="dark"] a:not(.btn):not(.nav-link):not([class*="btn-"]):hover {
    color: #c4b5fd;
}

/* Badge yazıları - beyaz kalmalı */
[data-theme="dark"] .badge,
[data-coreui-theme="dark"] .badge {
    color: #ffffff !important;
}

/* Alert içindeki yazılar */
[data-theme="dark"] .alert,
[data-coreui-theme="dark"] .alert {
    color: #f1f5f9 !important;
}

/* Pagination yazıları */
[data-theme="dark"] .page-link,
[data-coreui-theme="dark"] .page-link {
    color: #cbd5e1 !important;
}

/* Dropdown yazıları */
[data-theme="dark"] .dropdown-item,
[data-coreui-theme="dark"] .dropdown-item {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .dropdown-header,
[data-coreui-theme="dark"] .dropdown-header {
    color: #94a3b8 !important;
}

/* Input placeholder */
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder,
[data-coreui-theme="dark"] input::placeholder,
[data-coreui-theme="dark"] textarea::placeholder {
    color: #64748b !important;
    opacity: 1;
}

/* Select option */
[data-theme="dark"] select option,
[data-coreui-theme="dark"] select option {
    background: #1e293b;
    color: #e2e8f0;
}

/* Inline style color overrides - silik gri tonları */
[data-theme="dark"] [style*="color: #6c757d"],
[data-coreui-theme="dark"] [style*="color: #6c757d"] {
    color: #94a3b8 !important;
}

[data-theme="dark"] [style*="color: #495057"],
[data-coreui-theme="dark"] [style*="color: #495057"] {
    color: #cbd5e1 !important;
}

[data-theme="dark"] [style*="color: #212529"],
[data-coreui-theme="dark"] [style*="color: #212529"] {
    color: #f1f5f9 !important;
}

[data-theme="dark"] [style*="color: #343a40"],
[data-coreui-theme="dark"] [style*="color: #343a40"] {
    color: #e2e8f0 !important;
}

[data-theme="dark"] [style*="color: gray"],
[data-theme="dark"] [style*="color: grey"],
[data-coreui-theme="dark"] [style*="color: gray"],
[data-coreui-theme="dark"] [style*="color: grey"] {
    color: #94a3b8 !important;
}

/* rgba text renkleri */
[data-theme="dark"] [style*="color: rgba(0"],
[data-coreui-theme="dark"] [style*="color: rgba(0"] {
    color: #cbd5e1 !important;
}

/* Özel bileşenler - Premium Card Title */
[data-theme="dark"] .premium-card-title,
[data-theme="dark"] .premium-title,
[data-coreui-theme="dark"] .premium-card-title,
[data-coreui-theme="dark"] .premium-title {
    color: #f1f5f9 !important;
}

/* Empty State yazıları */
[data-theme="dark"] .empty-state p,
[data-theme="dark"] .empty-state h4,
[data-theme="dark"] .empty-state-premium p,
[data-theme="dark"] .empty-state-premium h4,
[data-coreui-theme="dark"] .empty-state p,
[data-coreui-theme="dark"] .empty-state h4,
[data-coreui-theme="dark"] .empty-state-premium p,
[data-coreui-theme="dark"] .empty-state-premium h4 {
    color: #94a3b8 !important;
}

/* Gelir-Gider Sayfası Butonları */
[data-theme="dark"] .btn-gelir,
[data-theme="dark"] .btn-gider,
[data-coreui-theme="dark"] .btn-gelir,
[data-coreui-theme="dark"] .btn-gider {
    color: #ffffff !important;
}

/* Müşteriler Sayfası Filter Buttons */
[data-theme="dark"] .premium-filter-btn.active-all,
[data-theme="dark"] .premium-filter-btn.active-danger,
[data-theme="dark"] .premium-filter-btn.active-success,
[data-theme="dark"] .premium-filter-btn.active-gray,
[data-coreui-theme="dark"] .premium-filter-btn.active-all,
[data-coreui-theme="dark"] .premium-filter-btn.active-danger,
[data-coreui-theme="dark"] .premium-filter-btn.active-success,
[data-coreui-theme="dark"] .premium-filter-btn.active-gray {
    color: #ffffff !important;
}

/* Sayfa Başlıkları */
[data-theme="dark"] .page-title-premium,
[data-theme="dark"] .page-header-premium h4,
[data-coreui-theme="dark"] .page-title-premium,
[data-coreui-theme="dark"] .page-header-premium h4 {
    color: #f1f5f9 !important;
}

/* Tablo row içindeki isimler */
[data-theme="dark"] .table tbody tr td:first-child,
[data-theme="dark"] .table tbody .fw-semibold,
[data-coreui-theme="dark"] .table tbody tr td:first-child,
[data-coreui-theme="dark"] .table tbody .fw-semibold {
    color: #f1f5f9 !important;
}

/* Strong elementleri */
[data-theme="dark"] strong,
[data-coreui-theme="dark"] strong {
    color: #f1f5f9 !important;
}

/* Span elementleri genel override */
[data-theme="dark"] .card span:not(.badge):not([class*="btn"]),
[data-coreui-theme="dark"] .card span:not(.badge):not([class*="btn"]) {
    color: inherit;
}

/* ================================================
   DARK MODE - GELİR-GİDER SAYFASI BUTONLARI
   premium-btn-gelir sınıfları için özel düzeltme
   ================================================ */

/* Premium Gelir/Gider Butonları */
[data-theme="dark"] .premium-btn-gelir,
[data-theme="dark"] .premium-btn-income,
[data-theme="dark"] .premium-btn-expense,
[data-coreui-theme="dark"] .premium-btn-gelir,
[data-coreui-theme="dark"] .premium-btn-income,
[data-coreui-theme="dark"] .premium-btn-expense {
    color: #ffffff !important;
}

[data-theme="dark"] .premium-btn-gelir i,
[data-theme="dark"] .premium-btn-income i,
[data-theme="dark"] .premium-btn-expense i,
[data-coreui-theme="dark"] .premium-btn-gelir i,
[data-coreui-theme="dark"] .premium-btn-income i,
[data-coreui-theme="dark"] .premium-btn-expense i {
    color: #ffffff !important;
}

/* Tarih Filtreleme Butonları */
[data-theme="dark"] .premium-date-btn,
[data-coreui-theme="dark"] .premium-date-btn {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .premium-date-btn:hover,
[data-coreui-theme="dark"] .premium-date-btn:hover {
    color: #a78bfa !important;
}

[data-theme="dark"] .premium-date-btn.active,
[data-coreui-theme="dark"] .premium-date-btn.active {
    color: #ffffff !important;
}

[data-theme="dark"] .premium-date-filter,
[data-coreui-theme="dark"] .premium-date-filter {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

/* Quick Actions Butonları */
[data-theme="dark"] .quick-action-btn,
[data-theme="dark"] .quick-actions-vertical .btn,
[data-coreui-theme="dark"] .quick-action-btn,
[data-coreui-theme="dark"] .quick-actions-vertical .btn {
    color: #ffffff !important;
}

/* Inline Style Buton Override */
[data-theme="dark"] button[style*="color: white"],
[data-theme="dark"] a[style*="color: white"],
[data-theme="dark"] button[style*="color:white"],
[data-theme="dark"] a[style*="color:white"],
[data-coreui-theme="dark"] button[style*="color: white"],
[data-coreui-theme="dark"] a[style*="color: white"],
[data-coreui-theme="dark"] button[style*="color:white"],
[data-coreui-theme="dark"] a[style*="color:white"] {
    color: #ffffff !important;
}

/* Premium Stat Cards - Gelir Gider Sayfası */
[data-theme="dark"] .premium-stat-card-gg,
[data-coreui-theme="dark"] .premium-stat-card-gg {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .premium-stat-card-gg .stat-label,
[data-theme="dark"] .premium-stat-card-gg .small,
[data-coreui-theme="dark"] .premium-stat-card-gg .stat-label,
[data-coreui-theme="dark"] .premium-stat-card-gg .small {
    color: #94a3b8 !important;
}

[data-theme="dark"] .premium-stat-card-gg .stat-value,
[data-theme="dark"] .premium-stat-card-gg h3,
[data-coreui-theme="dark"] .premium-stat-card-gg .stat-value,
[data-coreui-theme="dark"] .premium-stat-card-gg h3 {
    color: #f1f5f9 !important;
}

/* Modal Renk Düzeltmeleri */
[data-theme="dark"] .modal-title,
[data-coreui-theme="dark"] .modal-title {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .modal-body label,
[data-coreui-theme="dark"] .modal-body label {
    color: #cbd5e1 !important;
}

/* Premium Header Actions */
[data-theme="dark"] .premium-header-actions button,
[data-theme="dark"] .premium-header-actions a,
[data-coreui-theme="dark"] .premium-header-actions button,
[data-coreui-theme="dark"] .premium-header-actions a {
    color: #ffffff !important;
}

/* Card Header Premium */
[data-theme="dark"] .premium-card-header,
[data-coreui-theme="dark"] .premium-card-header {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .premium-card-header h5,
[data-theme="dark"] .premium-card-header h6,
[data-coreui-theme="dark"] .premium-card-header h5,
[data-coreui-theme="dark"] .premium-card-header h6 {
    color: #f1f5f9 !important;
}

/* Tüm gradientli arkaplan butonlar için beyaz yazı */
[data-theme="dark"] .btn[style*="linear-gradient"],
[data-theme="dark"] button[style*="linear-gradient"],
[data-theme="dark"] a[style*="linear-gradient"],
[data-coreui-theme="dark"] .btn[style*="linear-gradient"],
[data-coreui-theme="dark"] button[style*="linear-gradient"],
[data-coreui-theme="dark"] a[style*="linear-gradient"] {
    color: #ffffff !important;
}

/* Cari Hesap Premium Butonları */
[data-theme="dark"] .premium-btn-cari,
[data-theme="dark"] .premium-btn-cari-tahsilat,
[data-theme="dark"] .premium-btn-cari-odeme,
[data-coreui-theme="dark"] .premium-btn-cari,
[data-coreui-theme="dark"] .premium-btn-cari-tahsilat,
[data-coreui-theme="dark"] .premium-btn-cari-odeme {
    color: #ffffff !important;
}

/* Excel/PDF Export Butonları */
[data-theme="dark"] .btn-excel-export,
[data-theme="dark"] .btn-pdf-export,
[data-theme="dark"] .premium-btn-excel,
[data-theme="dark"] .premium-btn-pdf,
[data-coreui-theme="dark"] .btn-excel-export,
[data-coreui-theme="dark"] .btn-pdf-export,
[data-coreui-theme="dark"] .premium-btn-excel,
[data-coreui-theme="dark"] .premium-btn-pdf {
    color: #ffffff !important;
}

/* Card Footer Link/Butonları */
[data-theme="dark"] .card-footer a,
[data-theme="dark"] .card-footer button,
[data-coreui-theme="dark"] .card-footer a,
[data-coreui-theme="dark"] .card-footer button {
    color: #a78bfa !important;
}

/* Action Butonları - Tablolarda */
[data-theme="dark"] .table .btn-sm,
[data-theme="dark"] .table .btn-group .btn,
[data-coreui-theme="dark"] .table .btn-sm,
[data-coreui-theme="dark"] .table .btn-group .btn {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .table .btn-outline-primary,
[data-theme="dark"] .table .btn-outline-success,
[data-theme="dark"] .table .btn-outline-danger,
[data-theme="dark"] .table .btn-outline-warning,
[data-theme="dark"] .table .btn-outline-info,
[data-coreui-theme="dark"] .table .btn-outline-primary,
[data-coreui-theme="dark"] .table .btn-outline-success,
[data-coreui-theme="dark"] .table .btn-outline-danger,
[data-coreui-theme="dark"] .table .btn-outline-warning,
[data-coreui-theme="dark"] .table .btn-outline-info {
    border-color: currentColor !important;
}

/* Sayfa İçi Navigasyon Linkleri */
[data-theme="dark"] .nav-pills .nav-link,
[data-coreui-theme="dark"] .nav-pills .nav-link {
    color: #94a3b8 !important;
}

[data-theme="dark"] .nav-pills .nav-link.active,
[data-coreui-theme="dark"] .nav-pills .nav-link.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
}

/* Breadcrumb */
[data-theme="dark"] .breadcrumb-item,
[data-theme="dark"] .breadcrumb-item a,
[data-coreui-theme="dark"] .breadcrumb-item,
[data-coreui-theme="dark"] .breadcrumb-item a {
    color: #94a3b8 !important;
}

[data-theme="dark"] .breadcrumb-item.active,
[data-coreui-theme="dark"] .breadcrumb-item.active {
    color: #f1f5f9 !important;
}

/* List Group Items */
[data-theme="dark"] .list-group-item,
[data-coreui-theme="dark"] .list-group-item {
    background: #1e293b !important;
    color: #e2e8f0 !important;
    border-color: #334155 !important;
}

/* Progress Bar Labels */
[data-theme="dark"] .progress-bar,
[data-coreui-theme="dark"] .progress-bar {
    color: #ffffff !important;
}

/* Accordion */
[data-theme="dark"] .accordion-button,
[data-coreui-theme="dark"] .accordion-button {
    background: #1e293b !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .accordion-body,
[data-coreui-theme="dark"] .accordion-body {
    background: #0f172a !important;
    color: #cbd5e1 !important;
}

/* Tab Content */
[data-theme="dark"] .tab-content,
[data-coreui-theme="dark"] .tab-content {
    color: #e2e8f0 !important;
}

/* Info/Help Text */
[data-theme="dark"] .text-info,
[data-coreui-theme="dark"] .text-info {
    color: #38bdf8 !important;
}

[data-theme="dark"] .text-success,
[data-coreui-theme="dark"] .text-success {
    color: #4ade80 !important;
}

[data-theme="dark"] .text-danger,
[data-coreui-theme="dark"] .text-danger {
    color: #f87171 !important;
}

[data-theme="dark"] .text-warning,
[data-coreui-theme="dark"] .text-warning {
    color: #fbbf24 !important;
}

[data-theme="dark"] .text-primary,
[data-coreui-theme="dark"] .text-primary {
    color: #818cf8 !important;
}

[data-theme="dark"] .text-secondary,
[data-coreui-theme="dark"] .text-secondary {
    color: #a78bfa !important;
}
/* ================================================
   DARK MODE - SAYFA BAZLI ÖZEL DÜZELTMELER
   Takvim, Ürünler, Faturalar vb. sayfalar
   ================================================ */

/* Takvim Sayfası */
[data-theme="dark"] .fc-daygrid-day-number,
[data-theme="dark"] .fc-col-header-cell-cushion,
[data-coreui-theme="dark"] .fc-daygrid-day-number,
[data-coreui-theme="dark"] .fc-col-header-cell-cushion {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .fc-toolbar-title,
[data-coreui-theme="dark"] .fc-toolbar-title {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .fc-button,
[data-coreui-theme="dark"] .fc-button {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .fc-button-primary:not(:disabled).fc-button-active,
[data-coreui-theme="dark"] .fc-button-primary:not(:disabled).fc-button-active {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    color: #ffffff !important;
}

/* Ürünler Sayfası - Filter Butonları */
[data-theme="dark"] .premium-stock-filter-btn,
[data-coreui-theme="dark"] .premium-stock-filter-btn {
    background: #1e293b !important;
    color: #cbd5e1 !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .premium-stock-filter-btn.active,
[data-coreui-theme="dark"] .premium-stock-filter-btn.active {
    color: #ffffff !important;
}

/* Ürün Kartları */
[data-theme="dark"] .product-card-premium,
[data-theme="dark"] .premium-product-card,
[data-coreui-theme="dark"] .product-card-premium,
[data-coreui-theme="dark"] .premium-product-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .product-card-premium .product-name,
[data-theme="dark"] .product-card-premium h6,
[data-coreui-theme="dark"] .product-card-premium .product-name,
[data-coreui-theme="dark"] .product-card-premium h6 {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .product-card-premium .product-code,
[data-theme="dark"] .product-card-premium .text-muted,
[data-coreui-theme="dark"] .product-card-premium .product-code,
[data-coreui-theme="dark"] .product-card-premium .text-muted {
    color: #94a3b8 !important;
}

/* Fatura Görüntüleme */
[data-theme="dark"] .invoice-header,
[data-coreui-theme="dark"] .invoice-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

[data-theme="dark"] .invoice-header h1,
[data-theme="dark"] .invoice-header h2,
[data-theme="dark"] .invoice-header h4,
[data-coreui-theme="dark"] .invoice-header h1,
[data-coreui-theme="dark"] .invoice-header h2,
[data-coreui-theme="dark"] .invoice-header h4 {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .invoice-details td,
[data-theme="dark"] .invoice-details th,
[data-coreui-theme="dark"] .invoice-details td,
[data-coreui-theme="dark"] .invoice-details th {
    color: #e2e8f0 !important;
}

/* Müşteri/Tedarikçi Düzenleme Sayfaları */
[data-theme="dark"] .customer-form-section h5,
[data-theme="dark"] .form-section-title,
[data-coreui-theme="dark"] .customer-form-section h5,
[data-coreui-theme="dark"] .form-section-title {
    color: #f1f5f9 !important;
}

/* Rapor Sayfası */
[data-theme="dark"] .report-card,
[data-coreui-theme="dark"] .report-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

[data-theme="dark"] .report-card h5,
[data-theme="dark"] .report-card h6,
[data-coreui-theme="dark"] .report-card h5,
[data-coreui-theme="dark"] .report-card h6 {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .report-card p,
[data-theme="dark"] .report-card span,
[data-coreui-theme="dark"] .report-card p,
[data-coreui-theme="dark"] .report-card span {
    color: #cbd5e1 !important;
}

/* Ayarlar Sayfası */
[data-theme="dark"] .settings-section,
[data-coreui-theme="dark"] .settings-section {
    background: #1e293b !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .settings-section h5,
[data-theme="dark"] .settings-section h6,
[data-coreui-theme="dark"] .settings-section h5,
[data-coreui-theme="dark"] .settings-section h6 {
    color: #f1f5f9 !important;
}

/* ================================================
   DARK MODE - INLINE STİL OVERRİDE'LARI
   Koyu renkli inline yazılar için
   ================================================ */

/* Koyu mavi/gri tonlar */
[data-theme="dark"] [style*="color: #1e293b"],
[data-theme="dark"] [style*="color:#1e293b"],
[data-coreui-theme="dark"] [style*="color: #1e293b"],
[data-coreui-theme="dark"] [style*="color:#1e293b"] {
    color: #f1f5f9 !important;
}

[data-theme="dark"] [style*="color: #334155"],
[data-theme="dark"] [style*="color:#334155"],
[data-coreui-theme="dark"] [style*="color: #334155"],
[data-coreui-theme="dark"] [style*="color:#334155"] {
    color: #e2e8f0 !important;
}

[data-theme="dark"] [style*="color: #475569"],
[data-theme="dark"] [style*="color:#475569"],
[data-coreui-theme="dark"] [style*="color: #475569"],
[data-coreui-theme="dark"] [style*="color:#475569"] {
    color: #cbd5e1 !important;
}

[data-theme="dark"] [style*="color: #64748b"],
[data-theme="dark"] [style*="color:#64748b"],
[data-coreui-theme="dark"] [style*="color: #64748b"],
[data-coreui-theme="dark"] [style*="color:#64748b"] {
    color: #94a3b8 !important;
}

/* Koyu mor/indigo tonlar */
[data-theme="dark"] [style*="color: #4f46e5"],
[data-theme="dark"] [style*="color:#4f46e5"],
[data-coreui-theme="dark"] [style*="color: #4f46e5"],
[data-coreui-theme="dark"] [style*="color:#4f46e5"] {
    color: #a78bfa !important;
}

[data-theme="dark"] [style*="color: #764ba2"],
[data-theme="dark"] [style*="color:#764ba2"],
[data-coreui-theme="dark"] [style*="color: #764ba2"],
[data-coreui-theme="dark"] [style*="color:#764ba2"] {
    color: #c4b5fd !important;
}

[data-theme="dark"] [style*="color: #4b39bb"],
[data-theme="dark"] [style*="color:#4b39bb"],
[data-coreui-theme="dark"] [style*="color: #4b39bb"],
[data-coreui-theme="dark"] [style*="color:#4b39bb"] {
    color: #a78bfa !important;
}

/* Koyu siyah tonlar */
[data-theme="dark"] [style*="color: #1a1a2e"],
[data-theme="dark"] [style*="color:#1a1a2e"],
[data-coreui-theme="dark"] [style*="color: #1a1a2e"],
[data-coreui-theme="dark"] [style*="color:#1a1a2e"] {
    color: #f1f5f9 !important;
}

/* Koyu yeşil tonlar */
[data-theme="dark"] [style*="color: #047857"],
[data-theme="dark"] [style*="color:#047857"],
[data-coreui-theme="dark"] [style*="color: #047857"],
[data-coreui-theme="dark"] [style*="color:#047857"] {
    color: #4ade80 !important;
}

/* Koyu turuncu/amber */
[data-theme="dark"] [style*="color: #b45309"],
[data-theme="dark"] [style*="color:#b45309"],
[data-coreui-theme="dark"] [style*="color: #b45309"],
[data-coreui-theme="dark"] [style*="color:#b45309"] {
    color: #fbbf24 !important;
}

/* Koyu kırmızı */
[data-theme="dark"] [style*="color: #b91c1c"],
[data-theme="dark"] [style*="color:#b91c1c"],
[data-coreui-theme="dark"] [style*="color: #b91c1c"],
[data-coreui-theme="dark"] [style*="color:#b91c1c"] {
    color: #f87171 !important;
}

/* Koyu mavi */
[data-theme="dark"] [style*="color: #1d4ed8"],
[data-theme="dark"] [style*="color:#1d4ed8"],
[data-coreui-theme="dark"] [style*="color: #1d4ed8"],
[data-coreui-theme="dark"] [style*="color:#1d4ed8"] {
    color: #60a5fa !important;
}

/* Koyu yeşil */
[data-theme="dark"] [style*="color: #059669"],
[data-theme="dark"] [style*="color:#059669"],
[data-coreui-theme="dark"] [style*="color: #059669"],
[data-coreui-theme="dark"] [style*="color:#059669"] {
    color: #34d399 !important;
}

/* Koyu turuncu */
[data-theme="dark"] [style*="color: #d97706"],
[data-theme="dark"] [style*="color:#d97706"],
[data-coreui-theme="dark"] [style*="color: #d97706"],
[data-coreui-theme="dark"] [style*="color:#d97706"] {
    color: #fbbf24 !important;
}

/* ================================================
   DARK MODE - GENEL HTML ELEMENTLERİ
   Tüm metin elementleri için son override
   ================================================ */

[data-theme="dark"] body,
[data-coreui-theme="dark"] body {
    color: #e2e8f0;
}

[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6,
[data-coreui-theme="dark"] h1, [data-coreui-theme="dark"] h2, [data-coreui-theme="dark"] h3,
[data-coreui-theme="dark"] h4, [data-coreui-theme="dark"] h5, [data-coreui-theme="dark"] h6 {
    color: #f1f5f9;
}

[data-theme="dark"] p,
[data-coreui-theme="dark"] p {
    color: #cbd5e1;
}

/* ================================================
   DARK MODE - CARİ HESAP SAYFASI
   ================================================ */

/* Cari Premium Butonları */
[data-theme="dark"] .premium-btn-cari,
[data-theme="dark"] .premium-btn-musteri-link,
[data-theme="dark"] .premium-btn-firma-link,
[data-coreui-theme="dark"] .premium-btn-cari,
[data-coreui-theme="dark"] .premium-btn-musteri-link,
[data-coreui-theme="dark"] .premium-btn-firma-link {
    color: #ffffff !important;
}

/* Cari Özet Kartları */
[data-theme="dark"] .cari-summary-card .small,
[data-coreui-theme="dark"] .cari-summary-card .small {
    color: rgba(255,255,255,0.7) !important;
}

/* Premium Stat Card - Cari */
[data-theme="dark"] .premium-stat-card-cari,
[data-coreui-theme="dark"] .premium-stat-card-cari {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

/* ================================================
   DARK MODE - FATURALAR SAYFASI
   ================================================ */

[data-theme="dark"] .invoice-card,
[data-theme="dark"] .premium-invoice-card,
[data-coreui-theme="dark"] .invoice-card,
[data-coreui-theme="dark"] .premium-invoice-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

[data-theme="dark"] .invoice-card .invoice-number,
[data-theme="dark"] .invoice-card h6,
[data-coreui-theme="dark"] .invoice-card .invoice-number,
[data-coreui-theme="dark"] .invoice-card h6 {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .invoice-card .customer-name,
[data-coreui-theme="dark"] .invoice-card .customer-name {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .invoice-card .invoice-date,
[data-theme="dark"] .invoice-card .text-muted,
[data-coreui-theme="dark"] .invoice-card .invoice-date,
[data-coreui-theme="dark"] .invoice-card .text-muted {
    color: #94a3b8 !important;
}

/* ================================================
   DARK MODE - ÜRÜN EKLEME/DÜZENLEME SAYFALARI
   ================================================ */

[data-theme="dark"] .product-form-section,
[data-theme="dark"] .form-premium-container,
[data-coreui-theme="dark"] .product-form-section,
[data-coreui-theme="dark"] .form-premium-container {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

[data-theme="dark"] .product-form-section h5,
[data-theme="dark"] .product-form-section label,
[data-coreui-theme="dark"] .product-form-section h5,
[data-coreui-theme="dark"] .product-form-section label {
    color: #e2e8f0 !important;
}

/* ================================================
   DARK MODE - LOGIN SAYFASI
   ================================================ */

[data-theme="dark"] .login-card,
[data-coreui-theme="dark"] .login-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

[data-theme="dark"] .login-card h1,
[data-theme="dark"] .login-card h4,
[data-theme="dark"] .login-card label,
[data-coreui-theme="dark"] .login-card h1,
[data-coreui-theme="dark"] .login-card h4,
[data-coreui-theme="dark"] .login-card label {
    color: #f1f5f9 !important;
}

/* ================================================
   DARK MODE - SON KONTROLLER
   Tüm silik yazılar için final override
   ================================================ */

/* rgba ile tanımlı silik renkler */
[data-theme="dark"] [style*="rgba(0, 0, 0"],
[data-theme="dark"] [style*="rgba(0,0,0"],
[data-coreui-theme="dark"] [style*="rgba(0, 0, 0"],
[data-coreui-theme="dark"] [style*="rgba(0,0,0"] {
    color: #cbd5e1 !important;
}

/* Tüm beyaz olmayan buton yazıları */
[data-theme="dark"] .btn:not(.btn-link):not(.btn-outline-primary):not(.btn-outline-secondary):not(.btn-outline-success):not(.btn-outline-danger):not(.btn-outline-warning):not(.btn-outline-info),
[data-coreui-theme="dark"] .btn:not(.btn-link):not(.btn-outline-primary):not(.btn-outline-secondary):not(.btn-outline-success):not(.btn-outline-danger):not(.btn-outline-warning):not(.btn-outline-info) {
    color: #ffffff;
}

/* Tüm .small ve small elementleri */
[data-theme="dark"] .small:not(.badge),
[data-theme="dark"] small:not(.badge),
[data-coreui-theme="dark"] .small:not(.badge),
[data-coreui-theme="dark"] small:not(.badge) {
    color: #94a3b8;
}

/* Tüm card içindeki yazılar */
[data-theme="dark"] .card-body,
[data-coreui-theme="dark"] .card-body {
    color: #e2e8f0;
}

/* İkon renkleri genel */
[data-theme="dark"] i[class*="cil-"],
[data-coreui-theme="dark"] i[class*="cil-"] {
    color: inherit;
}

/* Form-control placeholder */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-coreui-theme="dark"] .form-control,
[data-coreui-theme="dark"] .form-select {
    background-color: #1e293b !important;
    color: #e2e8f0 !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus,
[data-coreui-theme="dark"] .form-control:focus,
[data-coreui-theme="dark"] .form-select:focus {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25) !important;
}
/* ================================================
   DARK MODE - GELİR-GİDER BADGE'LERİ
   Premium Type Badge ve Amount Badge için dark mode
   ================================================ */

/* Premium Type Badge - Dark Mode (GELİR/GİDER) */
[data-theme="dark"] .premium-type-badge,
[data-coreui-theme="dark"] .premium-type-badge {
    font-weight: 700 !important;
}

[data-theme="dark"] .premium-type-badge.income,
[data-coreui-theme="dark"] .premium-type-badge.income {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.35) 100%) !important;
    border: 1px solid rgba(52, 211, 153, 0.5) !important;
    color: #6ee7b7 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .premium-type-badge.expense,
[data-coreui-theme="dark"] .premium-type-badge.expense {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(220, 38, 38, 0.35) 100%) !important;
    border: 1px solid rgba(248, 113, 113, 0.5) !important;
    color: #fca5a5 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Premium Amount Badge - Dark Mode (Tutar) */
[data-theme="dark"] .premium-amount-badge,
[data-coreui-theme="dark"] .premium-amount-badge {
    font-weight: 700 !important;
}

[data-theme="dark"] .premium-amount-badge.income,
[data-coreui-theme="dark"] .premium-amount-badge.income {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.3) 100%) !important;
    border: 1px solid rgba(52, 211, 153, 0.4) !important;
    color: #6ee7b7 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .premium-amount-badge.expense,
[data-coreui-theme="dark"] .premium-amount-badge.expense {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.3) 100%) !important;
    border: 1px solid rgba(248, 113, 113, 0.4) !important;
    color: #fca5a5 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Premium Category Badge - Dark Mode */
[data-theme="dark"] .premium-category-badge,
[data-coreui-theme="dark"] .premium-category-badge {
    font-weight: 600 !important;
}

[data-theme="dark"] .premium-category-badge.income,
[data-coreui-theme="dark"] .premium-category-badge.income {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.2) 100%) !important;
    border: 1px solid rgba(52, 211, 153, 0.35) !important;
    color: #6ee7b7 !important;
}

[data-theme="dark"] .premium-category-badge.expense,
[data-coreui-theme="dark"] .premium-category-badge.expense {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.2) 100%) !important;
    border: 1px solid rgba(248, 113, 113, 0.35) !important;
    color: #fca5a5 !important;
}

/* Premium Date Filter Buttons - Dark Mode */
[data-theme="dark"] .premium-date-filter,
[data-coreui-theme="dark"] .premium-date-filter {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

[data-theme="dark"] .premium-date-btn,
[data-coreui-theme="dark"] .premium-date-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #94a3b8 !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .premium-date-btn:hover,
[data-coreui-theme="dark"] .premium-date-btn:hover {
    background: rgba(139, 92, 246, 0.15) !important;
    color: #e2e8f0 !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
}

[data-theme="dark"] .premium-date-btn.active,
[data-coreui-theme="dark"] .premium-date-btn.active {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

/* Category Badge (Henora, Diğer vs.) - Dark Mode */
[data-theme="dark"] .category-badge,
[data-coreui-theme="dark"] .category-badge {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Premium Button Group - Gelir/Gider Ekleme */
[data-theme="dark"] .premium-btn-group-gelir .premium-btn-gelir,
[data-coreui-theme="dark"] .premium-btn-group-gelir .premium-btn-gelir {
    color: #ffffff !important;
}

/* Table Premium - Dark Mode */
[data-theme="dark"] .table-premium,
[data-coreui-theme="dark"] .table-premium {
    border-spacing: 0 8px;
}

[data-theme="dark"] .table-premium tbody tr,
[data-coreui-theme="dark"] .table-premium tbody tr {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .table-premium tbody tr:hover,
[data-coreui-theme="dark"] .table-premium tbody tr:hover {
    background: linear-gradient(135deg, #334155 0%, #475569 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .table-premium tbody td,
[data-coreui-theme="dark"] .table-premium tbody td {
    border: none !important;
    color: #e2e8f0 !important;
}

/* ================================================
   DARK MODE - GENEL BADGE STİLLERİ
   Tüm proje genelinde tutarlı badge görünümü
   ================================================ */

/* Status Badges - Normal */
[data-theme="dark"] .badge.bg-success,
[data-coreui-theme="dark"] .badge.bg-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(5, 150, 105, 0.4) 100%) !important;
    color: #6ee7b7 !important;
    border: 1px solid rgba(52, 211, 153, 0.4);
}

[data-theme="dark"] .badge.bg-danger,
[data-coreui-theme="dark"] .badge.bg-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3) 0%, rgba(220, 38, 38, 0.4) 100%) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(248, 113, 113, 0.4);
}

[data-theme="dark"] .badge.bg-warning,
[data-coreui-theme="dark"] .badge.bg-warning {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(245, 158, 11, 0.4) 100%) !important;
    color: #fcd34d !important;
    border: 1px solid rgba(252, 211, 77, 0.4);
}

[data-theme="dark"] .badge.bg-info,
[data-coreui-theme="dark"] .badge.bg-info {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3) 0%, rgba(8, 145, 178, 0.4) 100%) !important;
    color: #67e8f9 !important;
    border: 1px solid rgba(103, 232, 249, 0.4);
}

[data-theme="dark"] .badge.bg-primary,
[data-coreui-theme="dark"] .badge.bg-primary {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(79, 70, 229, 0.4) 100%) !important;
    color: #a5b4fc !important;
    border: 1px solid rgba(165, 180, 252, 0.4);
}

[data-theme="dark"] .badge.bg-secondary,
[data-coreui-theme="dark"] .badge.bg-secondary {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.3) 0%, rgba(71, 85, 105, 0.4) 100%) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Subtle Badges - Dark Mode */
[data-theme="dark"] .badge.bg-success-subtle,
[data-theme="dark"] .bg-success-subtle,
[data-coreui-theme="dark"] .badge.bg-success-subtle,
[data-coreui-theme="dark"] .bg-success-subtle {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.25) 100%) !important;
    border: 1px solid rgba(52, 211, 153, 0.4) !important;
}

[data-theme="dark"] .badge.bg-success-subtle.text-success,
[data-theme="dark"] .bg-success-subtle.text-success,
[data-theme="dark"] .text-success,
[data-coreui-theme="dark"] .badge.bg-success-subtle.text-success,
[data-coreui-theme="dark"] .bg-success-subtle.text-success {
    color: #6ee7b7 !important;
}

[data-theme="dark"] .badge.bg-danger-subtle,
[data-theme="dark"] .bg-danger-subtle,
[data-coreui-theme="dark"] .badge.bg-danger-subtle,
[data-coreui-theme="dark"] .bg-danger-subtle {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.25) 100%) !important;
    border: 1px solid rgba(248, 113, 113, 0.4) !important;
}

[data-theme="dark"] .badge.bg-danger-subtle.text-danger,
[data-theme="dark"] .bg-danger-subtle.text-danger,
[data-theme="dark"] .text-danger,
[data-coreui-theme="dark"] .badge.bg-danger-subtle.text-danger,
[data-coreui-theme="dark"] .bg-danger-subtle.text-danger {
    color: #fca5a5 !important;
}

[data-theme="dark"] .badge.bg-warning-subtle,
[data-theme="dark"] .bg-warning-subtle,
[data-coreui-theme="dark"] .badge.bg-warning-subtle,
[data-coreui-theme="dark"] .bg-warning-subtle {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.25) 100%) !important;
    border: 1px solid rgba(252, 211, 77, 0.4) !important;
}

[data-theme="dark"] .badge.bg-warning-subtle.text-warning,
[data-theme="dark"] .bg-warning-subtle.text-warning,
[data-theme="dark"] .text-warning,
[data-coreui-theme="dark"] .badge.bg-warning-subtle.text-warning,
[data-coreui-theme="dark"] .bg-warning-subtle.text-warning {
    color: #fcd34d !important;
}

[data-theme="dark"] .badge.bg-info-subtle,
[data-theme="dark"] .bg-info-subtle,
[data-coreui-theme="dark"] .badge.bg-info-subtle,
[data-coreui-theme="dark"] .bg-info-subtle {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(8, 145, 178, 0.25) 100%) !important;
    border: 1px solid rgba(103, 232, 249, 0.4) !important;
}

[data-theme="dark"] .badge.bg-info-subtle.text-info,
[data-theme="dark"] .bg-info-subtle.text-info,
[data-theme="dark"] .text-info,
[data-coreui-theme="dark"] .badge.bg-info-subtle.text-info,
[data-coreui-theme="dark"] .bg-info-subtle.text-info {
    color: #67e8f9 !important;
}

[data-theme="dark"] .badge.bg-primary-subtle,
[data-theme="dark"] .bg-primary-subtle,
[data-coreui-theme="dark"] .badge.bg-primary-subtle,
[data-coreui-theme="dark"] .bg-primary-subtle {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(79, 70, 229, 0.25) 100%) !important;
    border: 1px solid rgba(165, 180, 252, 0.4) !important;
}

[data-theme="dark"] .badge.bg-primary-subtle.text-primary,
[data-theme="dark"] .bg-primary-subtle.text-primary,
[data-theme="dark"] .text-primary,
[data-coreui-theme="dark"] .badge.bg-primary-subtle.text-primary,
[data-coreui-theme="dark"] .bg-primary-subtle.text-primary {
    color: #a5b4fc !important;
}

[data-theme="dark"] .badge.bg-secondary-subtle,
[data-theme="dark"] .bg-secondary-subtle,
[data-coreui-theme="dark"] .badge.bg-secondary-subtle,
[data-coreui-theme="dark"] .bg-secondary-subtle {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.2) 0%, rgba(71, 85, 105, 0.25) 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.4) !important;
}

[data-theme="dark"] .badge.bg-secondary-subtle.text-secondary,
[data-theme="dark"] .bg-secondary-subtle.text-secondary,
[data-coreui-theme="dark"] .badge.bg-secondary-subtle.text-secondary,
[data-coreui-theme="dark"] .bg-secondary-subtle.text-secondary {
    color: #cbd5e1 !important;
}

/* text-dark override in badges for dark mode */
[data-theme="dark"] .badge .text-dark,
[data-theme="dark"] .badge.text-dark,
[data-coreui-theme="dark"] .badge .text-dark,
[data-coreui-theme="dark"] .badge.text-dark {
    color: #f1f5f9 !important;
}

/* bg-light badges for dark mode */
[data-theme="dark"] .badge.bg-light,
[data-theme="dark"] .bg-light.badge,
[data-coreui-theme="dark"] .badge.bg-light,
[data-coreui-theme="dark"] .bg-light.badge {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.6) 0%, rgba(30, 41, 59, 0.8) 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .badge.bg-light.text-dark,
[data-coreui-theme="dark"] .badge.bg-light.text-dark {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .badge.bg-light.text-muted,
[data-coreui-theme="dark"] .badge.bg-light.text-muted {
    color: #94a3b8 !important;
}

/* bg-warning text-dark override for dark mode */
[data-theme="dark"] .badge.bg-warning.text-dark,
[data-coreui-theme="dark"] .badge.bg-warning.text-dark {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3) 0%, rgba(245, 158, 11, 0.4) 100%) !important;
    color: #fef3c7 !important;
    border: 1px solid rgba(252, 211, 77, 0.4) !important;
}

/* ================================================
   DARK MODE - ÖDEME YÖNTEMİ BADGE'LERİ
   ================================================ */

[data-theme="dark"] .premium-payment-badge.receivable,
[data-coreui-theme="dark"] .premium-payment-badge.receivable {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.25) 100%) !important;
    border: 1px solid rgba(252, 211, 77, 0.4) !important;
    color: #fcd34d !important;
}

/* ================================================
   DARK MODE - DASHBOARD İSTATİSTİK KARTLARI
   ================================================ */

/* Nakit/K.Kartı mini stat kartları */
[data-theme="dark"] .mini-stat-card,
[data-coreui-theme="dark"] .mini-stat-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .mini-stat-card .stat-label,
[data-coreui-theme="dark"] .mini-stat-card .stat-label {
    color: #94a3b8 !important;
}

[data-theme="dark"] .mini-stat-card .stat-value,
[data-coreui-theme="dark"] .mini-stat-card .stat-value {
    color: #f1f5f9 !important;
}

/* ================================================
   DARK MODE - SUMMARY STAT CARDS
   ================================================ */

[data-theme="dark"] .summary-stat-income,
[data-coreui-theme="dark"] .summary-stat-income {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%) !important;
    border: 1px solid rgba(52, 211, 153, 0.3) !important;
}

[data-theme="dark"] .summary-stat-expense,
[data-coreui-theme="dark"] .summary-stat-expense {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.08) 100%) !important;
    border: 1px solid rgba(248, 113, 113, 0.3) !important;
}

[data-theme="dark"] .summary-stat-net,
[data-coreui-theme="dark"] .summary-stat-net {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0.08) 100%) !important;
    border: 1px solid rgba(165, 180, 252, 0.3) !important;
}

/* ================================================
   DARK MODE - MÜŞTERİLER/CARİLER SAYFASI
   Premium Tabs ve Filter elementleri
   ================================================ */

/* Premium Tabs Container */
[data-theme="dark"] .premium-tabs,
[data-coreui-theme="dark"] .premium-tabs {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

[data-theme="dark"] .premium-tab,
[data-coreui-theme="dark"] .premium-tab {
    color: #94a3b8 !important;
    background: transparent !important;
}

[data-theme="dark"] .premium-tab:hover,
[data-coreui-theme="dark"] .premium-tab:hover {
    color: #e2e8f0 !important;
    background: rgba(139, 92, 246, 0.15) !important;
}

/* Premium Stock Filter Container */
[data-theme="dark"] .premium-stock-filter,
[data-coreui-theme="dark"] .premium-stock-filter {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

[data-theme="dark"] .premium-stock-btn,
[data-coreui-theme="dark"] .premium-stock-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #94a3b8 !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .premium-stock-btn:hover,
[data-coreui-theme="dark"] .premium-stock-btn:hover {
    background: rgba(139, 92, 246, 0.15) !important;
    color: #e2e8f0 !important;
}

/* Premium Stat Card - Ürünler Sayfası */
[data-theme="dark"] .premium-stat-card,
[data-coreui-theme="dark"] .premium-stat-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.15) !important;
}

/* ================================================
   DARK MODE - FATURALAR SAYFASI
   Premium Filter ve Header elementleri
   ================================================ */

/* Page Header Premium */
[data-theme="dark"] .page-header-premium,
[data-coreui-theme="dark"] .page-header-premium {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Premium Filter Card */
[data-theme="dark"] .premium-filter-card,
[data-coreui-theme="dark"] .premium-filter-card {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .premium-filter-card .form-label,
[data-coreui-theme="dark"] .premium-filter-card .form-label {
    color: #94a3b8 !important;
}

/* Premium Filter Tabs */
[data-theme="dark"] .premium-filter-tabs,
[data-coreui-theme="dark"] .premium-filter-tabs {
    background: rgba(139, 92, 246, 0.1) !important;
}

[data-theme="dark"] .premium-filter-tab,
[data-coreui-theme="dark"] .premium-filter-tab {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}

[data-theme="dark"] .premium-filter-tab:hover,
[data-coreui-theme="dark"] .premium-filter-tab:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #f1f5f9 !important;
}

/* ================================================
   DARK MODE - TABLOLARDAKI İNLİNE STİLLER
   Açık renkli inline stilleri dark mode için override
   ================================================ */

/* Açık gri arka planlı elementler */
[data-theme="dark"] [style*="background: #f3f4f6"],
[data-theme="dark"] [style*="background:#f3f4f6"],
[data-coreui-theme="dark"] [style*="background: #f3f4f6"],
[data-coreui-theme="dark"] [style*="background:#f3f4f6"] {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

/* Beyaz arka planlı kartlar */
[data-theme="dark"] [style*="background: #fff"],
[data-theme="dark"] [style*="background:#fff"],
[data-theme="dark"] [style*="background: white"],
[data-coreui-theme="dark"] [style*="background: #fff"],
[data-coreui-theme="dark"] [style*="background:#fff"],
[data-coreui-theme="dark"] [style*="background: white"] {
    background: #1e293b !important;
}

/* Açık mavi/gri inline gradientler */
[data-theme="dark"] [style*="linear-gradient(135deg, #f8fafc"],
[data-theme="dark"] [style*="linear-gradient(145deg, #f8fafc"],
[data-theme="dark"] [style*="linear-gradient(135deg, #f1f5f9"],
[data-coreui-theme="dark"] [style*="linear-gradient(135deg, #f8fafc"],
[data-coreui-theme="dark"] [style*="linear-gradient(145deg, #f8fafc"],
[data-coreui-theme="dark"] [style*="linear-gradient(135deg, #f1f5f9"] {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

/* ================================================
   DARK MODE - GÜNDELİK İSTATİSTİKLER
   Nakit/Kredi Kartı özet kartları
   ================================================ */

[data-theme="dark"] .daily-stat-card,
[data-coreui-theme="dark"] .daily-stat-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .daily-stat-card .stat-title,
[data-coreui-theme="dark"] .daily-stat-card .stat-title {
    color: #94a3b8 !important;
}

[data-theme="dark"] .daily-stat-card .stat-amount,
[data-coreui-theme="dark"] .daily-stat-card .stat-amount {
    color: #f1f5f9 !important;
}

/* ================================================
   DARK MODE - ÖZET KARTLARI (Gelir/Gider Sayfası)
   ================================================ */

/* Günlük/Aylık Özet Başlıkları */
[data-theme="dark"] .summary-header,
[data-coreui-theme="dark"] .summary-header {
    color: #94a3b8 !important;
}

[data-theme="dark"] .summary-value,
[data-coreui-theme="dark"] .summary-value {
    color: #f1f5f9 !important;
}

/* Kart içindeki küçük metinler */
[data-theme="dark"] .stat-subtitle,
[data-theme="dark"] .card-subtitle,
[data-coreui-theme="dark"] .stat-subtitle,
[data-coreui-theme="dark"] .card-subtitle {
    color: #64748b !important;
}

/* ================================================
   DARK MODE - TAKVİM SAYFASI
   ================================================ */

[data-theme="dark"] .calendar-container,
[data-coreui-theme="dark"] .calendar-container {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .calendar-day,
[data-coreui-theme="dark"] .calendar-day {
    color: #e2e8f0 !important;
    border-color: rgba(139, 92, 246, 0.1) !important;
}

[data-theme="dark"] .calendar-day:hover,
[data-coreui-theme="dark"] .calendar-day:hover {
    background: rgba(139, 92, 246, 0.15) !important;
}

[data-theme="dark"] .calendar-day.today,
[data-coreui-theme="dark"] .calendar-day.today {
    background: linear-gradient(135deg, #4b39bb 0%, #6366f1 100%) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .calendar-day.other-month,
[data-coreui-theme="dark"] .calendar-day.other-month {
    color: #475569 !important;
}

/* ================================================
   DARK MODE - AYARLAR SAYFASI
   ================================================ */

[data-theme="dark"] .settings-card,
[data-coreui-theme="dark"] .settings-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .settings-section-title,
[data-coreui-theme="dark"] .settings-section-title {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .settings-description,
[data-coreui-theme="dark"] .settings-description {
    color: #94a3b8 !important;
}

/* ================================================
   DARK MODE - RAPORLAR SAYFASI
   ================================================ */

[data-theme="dark"] .report-card,
[data-coreui-theme="dark"] .report-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .report-title,
[data-coreui-theme="dark"] .report-title {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .report-value,
[data-coreui-theme="dark"] .report-value {
    color: #e2e8f0 !important;
}

/* ================================================
   DARK MODE - LIST GROUP & CUSTOM LISTS
   ================================================ */

[data-theme="dark"] .list-group-item,
[data-coreui-theme="dark"] .list-group-item {
    background: #1e293b !important;
    border-color: rgba(139, 92, 246, 0.15) !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .list-group-item:hover,
[data-coreui-theme="dark"] .list-group-item:hover {
    background: #334155 !important;
}

/* ================================================
   DARK MODE - GENEL RENK ÖZELLİKLERİ
   Koyu yazılar için açık renk override
   ================================================ */

/* Koyu gri yazılar */
[data-theme="dark"] .text-gray-700,
[data-theme="dark"] .text-gray-800,
[data-theme="dark"] .text-gray-900,
[data-coreui-theme="dark"] .text-gray-700,
[data-coreui-theme="dark"] .text-gray-800,
[data-coreui-theme="dark"] .text-gray-900 {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .text-gray-500,
[data-theme="dark"] .text-gray-600,
[data-coreui-theme="dark"] .text-gray-500,
[data-coreui-theme="dark"] .text-gray-600 {
    color: #94a3b8 !important;
}

/* ================================================
   DARK MODE - FİNAL GLOBAL OVERRIDES
   Tüm kaçırılabilecek durumlar için
   ================================================ */

/* Siyah yazılar white'a */
[data-theme="dark"] .text-black,
[data-coreui-theme="dark"] .text-black {
    color: #f8fafc !important;
}

/* Link renkleri */
[data-theme="dark"] a.text-dark,
[data-coreui-theme="dark"] a.text-dark {
    color: #e2e8f0 !important;
}

[data-theme="dark"] a.text-dark:hover,
[data-coreui-theme="dark"] a.text-dark:hover {
    color: #a78bfa !important;
}

/* Tablo satır arkaplanları */
[data-theme="dark"] tr[style*="background: #f9fafb"],
[data-theme="dark"] tr[style*="background:#f9fafb"],
[data-coreui-theme="dark"] tr[style*="background: #f9fafb"],
[data-coreui-theme="dark"] tr[style*="background:#f9fafb"] {
    background: #1e293b !important;
}

/* hr elementleri */
[data-theme="dark"] hr[style*="border-color"],
[data-coreui-theme="dark"] hr[style*="border-color"] {
    border-color: rgba(139, 92, 246, 0.2) !important;
}

/* Inline border'lar */
[data-theme="dark"] [style*="border: 1px solid #e5e7eb"],
[data-theme="dark"] [style*="border: 1px solid #e2e8f0"],
[data-theme="dark"] [style*="border: 1px solid #d1d5db"],
[data-coreui-theme="dark"] [style*="border: 1px solid #e5e7eb"],
[data-coreui-theme="dark"] [style*="border: 1px solid #e2e8f0"],
[data-coreui-theme="dark"] [style*="border: 1px solid #d1d5db"] {
    border-color: rgba(139, 92, 246, 0.2) !important;
}

/* rgba(0,0,0) text colors override */
[data-theme="dark"] [style*="color: rgba(0, 0, 0"],
[data-theme="dark"] [style*="color:rgba(0, 0, 0"],
[data-theme="dark"] [style*="color: rgba(0,0,0"],
[data-theme="dark"] [style*="color:rgba(0,0,0"],
[data-coreui-theme="dark"] [style*="color: rgba(0, 0, 0"],
[data-coreui-theme="dark"] [style*="color:rgba(0, 0, 0"],
[data-coreui-theme="dark"] [style*="color: rgba(0,0,0"],
[data-coreui-theme="dark"] [style*="color:rgba(0,0,0"] {
    color: #e2e8f0 !important;
}
/* ================================================
   DARK MODE - AYARLAR SAYFASI (KAPSAMLI)
   Premium Settings Kartları ve Formlar
   ================================================ */

/* Premium Settings Card - Ana kart */
[data-theme="dark"] .premium-settings-card,
[data-coreui-theme="dark"] .premium-settings-card {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3) !important;
}

/* Settings Tabs Wrapper */
[data-theme="dark"] .premium-settings-tabs-wrapper,
[data-coreui-theme="dark"] .premium-settings-tabs-wrapper {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15) !important;
}

/* Settings Tab Buttons */
[data-theme="dark"] .premium-settings-tab,
[data-coreui-theme="dark"] .premium-settings-tab {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #94a3b8 !important;
    border-color: rgba(139, 92, 246, 0.15) !important;
}

[data-theme="dark"] .premium-settings-tab:hover,
[data-coreui-theme="dark"] .premium-settings-tab:hover {
    background: rgba(139, 92, 246, 0.15) !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .premium-settings-tab.active,
[data-coreui-theme="dark"] .premium-settings-tab.active {
    background: linear-gradient(135deg, #4b39bb 0%, #6366f1 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

/* Settings Content Area */
[data-theme="dark"] .settings-content,
[data-coreui-theme="dark"] .settings-content {
    background: transparent !important;
}

/* Settings Form Card */
[data-theme="dark"] .settings-form-card,
[data-coreui-theme="dark"] .settings-form-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

/* Settings Form Card Header */
[data-theme="dark"] .settings-form-card-header,
[data-coreui-theme="dark"] .settings-form-card-header {
    border-bottom-color: rgba(139, 92, 246, 0.15) !important;
}

[data-theme="dark"] .settings-form-card-header h5,
[data-coreui-theme="dark"] .settings-form-card-header h5 {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .settings-form-card-header p,
[data-coreui-theme="dark"] .settings-form-card-header p {
    color: #64748b !important;
}

/* Premium Form Groups */
[data-theme="dark"] .premium-form-group label,
[data-coreui-theme="dark"] .premium-form-group label {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .premium-form-control,
[data-coreui-theme="dark"] .premium-form-control {
    background: #0f172a !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .premium-form-control:focus,
[data-coreui-theme="dark"] .premium-form-control:focus {
    background: #1e293b !important;
    border-color: #6366f1 !important;
    color: #f8fafc !important;
}

[data-theme="dark"] .premium-form-control::placeholder,
[data-coreui-theme="dark"] .premium-form-control::placeholder {
    color: #64748b !important;
}

/* Premium Table - Ayarlar */
[data-theme="dark"] .premium-table,
[data-coreui-theme="dark"] .premium-table {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%) !important;
}

[data-theme="dark"] .premium-table thead,
[data-coreui-theme="dark"] .premium-table thead {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
}

[data-theme="dark"] .premium-table thead th,
[data-coreui-theme="dark"] .premium-table thead th {
    color: #94a3b8 !important;
    border-color: rgba(139, 92, 246, 0.15) !important;
}

[data-theme="dark"] .premium-table tbody tr,
[data-coreui-theme="dark"] .premium-table tbody tr {
    border-color: rgba(139, 92, 246, 0.1) !important;
}

[data-theme="dark"] .premium-table tbody tr:hover,
[data-coreui-theme="dark"] .premium-table tbody tr:hover {
    background: rgba(139, 92, 246, 0.1) !important;
}

[data-theme="dark"] .premium-table tbody td,
[data-coreui-theme="dark"] .premium-table tbody td {
    color: #e2e8f0 !important;
}

/* Premium Alerts */
[data-theme="dark"] .premium-alert.info,
[data-coreui-theme="dark"] .premium-alert.info {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(8, 145, 178, 0.2) 100%) !important;
    color: #67e8f9 !important;
    border: 1px solid rgba(103, 232, 249, 0.3);
}

[data-theme="dark"] .premium-alert.warning,
[data-coreui-theme="dark"] .premium-alert.warning {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.2) 100%) !important;
    color: #fcd34d !important;
    border: 1px solid rgba(252, 211, 77, 0.3);
}

[data-theme="dark"] .premium-alert.danger,
[data-coreui-theme="dark"] .premium-alert.danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.2) 100%) !important;
    color: #fca5a5 !important;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

[data-theme="dark"] .premium-alert.success,
[data-coreui-theme="dark"] .premium-alert.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.2) 100%) !important;
    color: #6ee7b7 !important;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

/* Action Cards */
[data-theme="dark"] .action-card,
[data-coreui-theme="dark"] .action-card {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%) !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .action-card-body,
[data-coreui-theme="dark"] .action-card-body {
    color: #e2e8f0 !important;
}

/* Category Cards */
[data-theme="dark"] .category-card,
[data-coreui-theme="dark"] .category-card {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .category-card-body,
[data-coreui-theme="dark"] .category-card-body {
    background: transparent !important;
}

/* Category Items */
[data-theme="dark"] .category-item,
[data-coreui-theme="dark"] .category-item {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

[data-theme="dark"] .category-item:hover,
[data-coreui-theme="dark"] .category-item:hover {
    background: rgba(139, 92, 246, 0.15) !important;
}

[data-theme="dark"] .category-name,
[data-coreui-theme="dark"] .category-name {
    color: #e2e8f0 !important;
}

/* Category Add Form */
[data-theme="dark"] .category-add-form .input-group,
[data-coreui-theme="dark"] .category-add-form .input-group {
    background: #0f172a !important;
}

/* Premium Empty State */
[data-theme="dark"] .premium-empty-state,
[data-coreui-theme="dark"] .premium-empty-state {
    color: #64748b !important;
}

[data-theme="dark"] .premium-empty-state h4,
[data-coreui-theme="dark"] .premium-empty-state h4 {
    color: #94a3b8 !important;
}

/* Logo Preview */
[data-theme="dark"] .logo-preview,
[data-coreui-theme="dark"] .logo-preview {
    background: #0f172a !important;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Input Group Text */
[data-theme="dark"] .input-group-text,
[data-coreui-theme="dark"] .input-group-text {
    background: #334155 !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
    color: #94a3b8 !important;
}

/* Form Check/Switch Labels */
[data-theme="dark"] .form-check-label,
[data-coreui-theme="dark"] .form-check-label {
    color: #cbd5e1 !important;
}

/* Nav Tabs (for settings page) */
[data-theme="dark"] .nav-tabs,
[data-coreui-theme="dark"] .nav-tabs {
    border-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .nav-tabs .nav-link,
[data-coreui-theme="dark"] .nav-tabs .nav-link {
    color: #94a3b8 !important;
    border-color: transparent !important;
}

[data-theme="dark"] .nav-tabs .nav-link:hover,
[data-coreui-theme="dark"] .nav-tabs .nav-link:hover {
    color: #e2e8f0 !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}

[data-theme="dark"] .nav-tabs .nav-link.active,
[data-coreui-theme="dark"] .nav-tabs .nav-link.active {
    background: #1e293b !important;
    color: #a78bfa !important;
    border-color: rgba(139, 92, 246, 0.3) rgba(139, 92, 246, 0.3) transparent !important;
}

/* Tab Content */
[data-theme="dark"] .tab-content,
[data-coreui-theme="dark"] .tab-content {
    background: transparent !important;
}

[data-theme="dark"] .tab-pane,
[data-coreui-theme="dark"] .tab-pane {
    color: #e2e8f0 !important;
}

/* Card with bg-white inline style */
[data-theme="dark"] .card[style*="background: #fff"],
[data-theme="dark"] .card[style*="background:#fff"],
[data-theme="dark"] .card[style*="background: white"],
[data-coreui-theme="dark"] .card[style*="background: #fff"],
[data-coreui-theme="dark"] .card[style*="background:#fff"],
[data-coreui-theme="dark"] .card[style*="background: white"] {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%) !important;
}

/* Small text in cards */
[data-theme="dark"] .card .small,
[data-theme="dark"] .card small,
[data-coreui-theme="dark"] .card .small,
[data-coreui-theme="dark"] .card small {
    color: #64748b !important;
}

/* Specific color overrides for inline styles in ayarlar */
[data-theme="dark"] [style*="color: #374151"],
[data-coreui-theme="dark"] [style*="color: #374151"] {
    color: #e2e8f0 !important;
}

[data-theme="dark"] [style*="color: #6b7280"],
[data-coreui-theme="dark"] [style*="color: #6b7280"] {
    color: #94a3b8 !important;
}

[data-theme="dark"] [style*="color: #9ca3af"],
[data-coreui-theme="dark"] [style*="color: #9ca3af"] {
    color: #64748b !important;
}

/* Background gradient overrides for fafafa/f5f5f5 */
[data-theme="dark"] [style*="linear-gradient(135deg, #fafafa"],
[data-theme="dark"] [style*="linear-gradient(135deg, #f5f5f5"],
[data-coreui-theme="dark"] [style*="linear-gradient(135deg, #fafafa"],
[data-coreui-theme="dark"] [style*="linear-gradient(135deg, #f5f5f5"] {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

/* Border bottom for section separators */
[data-theme="dark"] [style*="border-bottom: 2px solid rgba(75, 57, 187"],
[data-coreui-theme="dark"] [style*="border-bottom: 2px solid rgba(75, 57, 187"] {
    border-bottom-color: rgba(139, 92, 246, 0.3) !important;
}

/* ================================================
   DARK MODE - GELİR-GİDER KARTLARI
   Günlük Nakit ve Kredi Kartı kartları
   ================================================ */

/* Nakit/Kart Gelir Kartları - Açık yeşil/mavi arka plan */
[data-theme="dark"] [style*="linear-gradient(145deg, #ecfdf5"],
[data-theme="dark"] [style*="linear-gradient(145deg, #d1fae5"],
[data-coreui-theme="dark"] [style*="linear-gradient(145deg, #ecfdf5"],
[data-coreui-theme="dark"] [style*="linear-gradient(145deg, #d1fae5"] {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.2) 100%) !important;
    border-color: rgba(52, 211, 153, 0.3) !important;
}

[data-theme="dark"] [style*="linear-gradient(145deg, #eef2ff"],
[data-theme="dark"] [style*="linear-gradient(145deg, #e0e7ff"],
[data-coreui-theme="dark"] [style*="linear-gradient(145deg, #eef2ff"],
[data-coreui-theme="dark"] [style*="linear-gradient(145deg, #e0e7ff"] {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.15) 0%, rgba(79, 70, 229, 0.2) 100%) !important;
    border-color: rgba(129, 140, 248, 0.3) !important;
}

/* Gider Kartları - Açık kırmızı arka plan */
[data-theme="dark"] [style*="linear-gradient(145deg, #fef2f2"],
[data-theme="dark"] [style*="linear-gradient(145deg, #fecaca"],
[data-theme="dark"] [style*="linear-gradient(145deg, #fee2e2"],
[data-coreui-theme="dark"] [style*="linear-gradient(145deg, #fef2f2"],
[data-coreui-theme="dark"] [style*="linear-gradient(145deg, #fecaca"],
[data-coreui-theme="dark"] [style*="linear-gradient(145deg, #fee2e2"] {
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.2) 100%) !important;
    border-color: rgba(248, 113, 113, 0.3) !important;
}

/* Net Nakit/Kart pozitif */
[data-theme="dark"] [style*="linear-gradient(145deg, #f0fdf4"],
[data-theme="dark"] [style*="linear-gradient(145deg, #dcfce7"],
[data-coreui-theme="dark"] [style*="linear-gradient(145deg, #f0fdf4"],
[data-coreui-theme="dark"] [style*="linear-gradient(145deg, #dcfce7"] {
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.2) 100%) !important;
}

/* Koyu yeşil metin renkleri - dark mode için açık yeşil */
[data-theme="dark"] [style*="color: #065f46"],
[data-theme="dark"] [style*="color: #166534"],
[data-coreui-theme="dark"] [style*="color: #065f46"],
[data-coreui-theme="dark"] [style*="color: #166534"] {
    color: #6ee7b7 !important;
}

[data-theme="dark"] [style*="color: #059669"],
[data-theme="dark"] [style*="color: #16a34a"],
[data-coreui-theme="dark"] [style*="color: #059669"],
[data-coreui-theme="dark"] [style*="color: #16a34a"] {
    color: #34d399 !important;
}

/* Koyu kırmızı metin renkleri - dark mode için açık kırmızı */
[data-theme="dark"] [style*="color: #991b1b"],
[data-theme="dark"] [style*="color: #b91c1c"],
[data-coreui-theme="dark"] [style*="color: #991b1b"],
[data-coreui-theme="dark"] [style*="color: #b91c1c"] {
    color: #fca5a5 !important;
}

[data-theme="dark"] [style*="color: #dc2626"],
[data-coreui-theme="dark"] [style*="color: #dc2626"] {
    color: #f87171 !important;
}

/* Koyu mor/mavi metin renkleri - dark mode için açık mor */
[data-theme="dark"] [style*="color: #3730a3"],
[data-coreui-theme="dark"] [style*="color: #3730a3"] {
    color: #a5b4fc !important;
}

[data-theme="dark"] [style*="color: #4f46e5"],
[data-coreui-theme="dark"] [style*="color: #4f46e5"] {
    color: #818cf8 !important;
}

/* Gri metin renkleri */
[data-theme="dark"] [style*="color: #6b7280"],
[data-coreui-theme="dark"] [style*="color: #6b7280"] {
    color: #9ca3af !important;
}

/* Gelişmiş Filtreler Card */
[data-theme="dark"] [style*="linear-gradient(135deg, #f8fafc 0%, #f1f5f9"],
[data-coreui-theme="dark"] [style*="linear-gradient(135deg, #f8fafc 0%, #f1f5f9"] {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

/* Gelişmiş Filtreler başlık rengi */
[data-theme="dark"] [style*="color: #1e293b"],
[data-coreui-theme="dark"] [style*="color: #1e293b"] {
    color: #f1f5f9 !important;
}

[data-theme="dark"] [style*="color: #64748b"],
[data-coreui-theme="dark"] [style*="color: #64748b"] {
    color: #94a3b8 !important;
}

[data-theme="dark"] [style*="color: #475569"],
[data-coreui-theme="dark"] [style*="color: #475569"] {
    color: #cbd5e1 !important;
}

/* Premium Cashflow Table - Dark Mode */
[data-theme="dark"] .premium-cashflow-table,
[data-coreui-theme="dark"] .premium-cashflow-table {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%) !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .premium-cashflow-table .table,
[data-coreui-theme="dark"] .premium-cashflow-table .table {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .premium-cashflow-table .table thead th,
[data-coreui-theme="dark"] .premium-cashflow-table .table thead th {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
    color: #94a3b8 !important;
    border-bottom-color: rgba(139, 92, 246, 0.3) !important;
}

[data-theme="dark"] .premium-cashflow-table .table tbody td,
[data-coreui-theme="dark"] .premium-cashflow-table .table tbody td {
    color: #e2e8f0 !important;
    border-bottom-color: rgba(139, 92, 246, 0.1) !important;
}

[data-theme="dark"] .premium-cashflow-table .table tbody tr:hover,
[data-coreui-theme="dark"] .premium-cashflow-table .table tbody tr:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(99, 102, 241, 0.08) 100%) !important;
}

[data-theme="dark"] .premium-cashflow-table .card-footer,
[data-coreui-theme="dark"] .premium-cashflow-table .card-footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border-top-color: rgba(139, 92, 246, 0.2) !important;
}

/* Premium Date Badge - Dark Mode */
[data-theme="dark"] .premium-date-card,
[data-coreui-theme="dark"] .premium-date-card {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%) !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}

[data-theme="dark"] .premium-date-card .date-day,
[data-coreui-theme="dark"] .premium-date-card .date-day {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .premium-date-time,
[data-coreui-theme="dark"] .premium-date-time {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.25) 100%) !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
    color: #a5b4fc !important;
}

/* Source Badge - Dark Mode */
[data-theme="dark"] .source-badge,
[data-coreui-theme="dark"] .source-badge {
    color: #e2e8f0 !important;
}

/* Transaction Name - Dark Mode */
[data-theme="dark"] .transaction-name,
[data-coreui-theme="dark"] .transaction-name {
    color: #e2e8f0 !important;
}

/* Card body içindeki tüm small elementleri */
[data-theme="dark"] .card-body small,
[data-coreui-theme="dark"] .card-body small {
    color: #94a3b8 !important;
}

/* Count badge in headers - keep readable */
[data-theme="dark"] .count-badge,
[data-coreui-theme="dark"] .count-badge {
    background: rgba(255, 255, 255, 0.95) !important;
}

/* ================================================
   DARK MODE - PROJE GENELİ İNLİNE RENK OVERRİDE'LARI
   Tüm sayfalarda kullanılan inline style renkler
   ================================================ */

/* Mavi tonları */
[data-theme="dark"] [style*="color: #0284c7"],
[data-coreui-theme="dark"] [style*="color: #0284c7"] {
    color: #38bdf8 !important;
}

[data-theme="dark"] [style*="color: #0369a1"],
[data-coreui-theme="dark"] [style*="color: #0369a1"] {
    color: #7dd3fc !important;
}

[data-theme="dark"] [style*="color: #1d4ed8"],
[data-theme="dark"] [style*="color: #1e40af"],
[data-coreui-theme="dark"] [style*="color: #1d4ed8"],
[data-coreui-theme="dark"] [style*="color: #1e40af"] {
    color: #60a5fa !important;
}

[data-theme="dark"] [style*="color: #15803d"],
[data-coreui-theme="dark"] [style*="color: #15803d"] {
    color: #4ade80 !important;
}

[data-theme="dark"] [style*="color: #047857"],
[data-coreui-theme="dark"] [style*="color: #047857"] {
    color: #34d399 !important;
}

/* Mor tonları */
[data-theme="dark"] [style*="color: #6b21a8"],
[data-coreui-theme="dark"] [style*="color: #6b21a8"] {
    color: #c4b5fd !important;
}

[data-theme="dark"] [style*="color: #7c3aed"],
[data-coreui-theme="dark"] [style*="color: #7c3aed"] {
    color: #a78bfa !important;
}

/* Turuncu tonları */
[data-theme="dark"] [style*="color: #d97706"],
[data-coreui-theme="dark"] [style*="color: #d97706"] {
    color: #fbbf24 !important;
}

/* Gri tablo başlıkları */
[data-theme="dark"] [style*="color: #6c757d"],
[data-coreui-theme="dark"] [style*="color: #6c757d"] {
    color: #9ca3af !important;
}

/* Koyu arka planlar */
[data-theme="dark"] [style*="color: #1a1a2e"],
[data-coreui-theme="dark"] [style*="color: #1a1a2e"] {
    color: #f1f5f9 !important;
}

/* Stat value large - Dashboard kartları */
[data-theme="dark"] .stat-value-large,
[data-coreui-theme="dark"] .stat-value-large {
    color: inherit !important;
}

/* Dashboard mini stat kartları */
[data-theme="dark"] [style*="background: linear-gradient(145deg, #f0fdf4"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(145deg, #f0fdf4"] {
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.2) 100%) !important;
}

[data-theme="dark"] [style*="background: linear-gradient(145deg, #eff6ff"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(145deg, #eff6ff"] {
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.2) 100%) !important;
}

[data-theme="dark"] [style*="background: linear-gradient(145deg, #faf5ff"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(145deg, #faf5ff"] {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.15) 0%, rgba(124, 58, 237, 0.2) 100%) !important;
}

/* Açık mavi/mor/yeşil arka plan kutuları */
[data-theme="dark"] [style*="background: linear-gradient(135deg, #e0e7ff"],
[data-theme="dark"] [style*="background: linear-gradient(135deg, #c7d2fe"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #e0e7ff"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #c7d2fe"] {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.25) 100%) !important;
}

/* Açık sarı/amber arka planlar */
[data-theme="dark"] [style*="background: linear-gradient(135deg, #fef3c7"],
[data-theme="dark"] [style*="background: linear-gradient(135deg, #fde68a"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #fef3c7"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #fde68a"] {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.25) 100%) !important;
}

/* Açık kırmızı arka planlar */
[data-theme="dark"] [style*="background: linear-gradient(135deg, #fee2e2"],
[data-theme="dark"] [style*="background: linear-gradient(135deg, #fecaca"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #fee2e2"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #fecaca"] {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.25) 100%) !important;
}

/* Açık cyan/sky arka planlar */
[data-theme="dark"] [style*="background: linear-gradient(135deg, #e0f2fe"],
[data-theme="dark"] [style*="background: linear-gradient(135deg, #bae6fd"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #e0f2fe"],
[data-coreui-theme="dark"] [style*="background: linear-gradient(135deg, #bae6fd"] {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, rgba(2, 132, 199, 0.25) 100%) !important;
}

/* Form input'lar ve select'ler - dark mode */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-coreui-theme="dark"] .form-control,
[data-coreui-theme="dark"] .form-select {
    background-color: #1e293b !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus,
[data-coreui-theme="dark"] .form-control:focus,
[data-coreui-theme="dark"] .form-select:focus {
    background-color: #1e293b !important;
    border-color: rgba(139, 92, 246, 0.6) !important;
    box-shadow: 0 0 0 0.25rem rgba(139, 92, 246, 0.25) !important;
    color: #f1f5f9 !important;
}

[data-theme="dark"] .form-control::placeholder,
[data-coreui-theme="dark"] .form-control::placeholder {
    color: #64748b !important;
}

/* Form labels */
[data-theme="dark"] .form-label,
[data-coreui-theme="dark"] .form-label {
    color: #cbd5e1 !important;
}

/* Modal dark mode */
[data-theme="dark"] .modal-content,
[data-coreui-theme="dark"] .modal-content {
    background-color: #1e293b !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}

[data-theme="dark"] .modal-header,
[data-coreui-theme="dark"] .modal-header {
    border-bottom-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .modal-footer,
[data-coreui-theme="dark"] .modal-footer {
    border-top-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .modal-title,
[data-coreui-theme="dark"] .modal-title {
    color: #f1f5f9 !important;
}

/* Table genel stilleri - dark mode */
[data-theme="dark"] .table,
[data-coreui-theme="dark"] .table {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .table thead th,
[data-coreui-theme="dark"] .table thead th {
    color: #94a3b8 !important;
    border-bottom-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .table tbody td,
[data-coreui-theme="dark"] .table tbody td {
    border-bottom-color: rgba(139, 92, 246, 0.1) !important;
}

[data-theme="dark"] .table-striped tbody tr:nth-of-type(odd),
[data-coreui-theme="dark"] .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(139, 92, 246, 0.05) !important;
}

/* Card genel stilleri - dark mode */
[data-theme="dark"] .card,
[data-coreui-theme="dark"] .card {
    background-color: #1e293b !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .card-header,
[data-coreui-theme="dark"] .card-header {
    border-bottom-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .card-footer,
[data-coreui-theme="dark"] .card-footer {
    border-top-color: rgba(139, 92, 246, 0.2) !important;
}

/* Text utilities - dark mode */
[data-theme="dark"] .text-muted,
[data-coreui-theme="dark"] .text-muted {
    color: #64748b !important;
}

[data-theme="dark"] .text-dark,
[data-coreui-theme="dark"] .text-dark {
    color: #e2e8f0 !important;
}

/* Dropdown dark mode */
[data-theme="dark"] .dropdown-menu,
[data-coreui-theme="dark"] .dropdown-menu {
    background-color: #1e293b !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
}

[data-theme="dark"] .dropdown-item,
[data-coreui-theme="dark"] .dropdown-item {
    color: #e2e8f0 !important;
}

[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus,
[data-coreui-theme="dark"] .dropdown-item:hover,
[data-coreui-theme="dark"] .dropdown-item:focus {
    background-color: rgba(139, 92, 246, 0.15) !important;
    color: #f1f5f9 !important;
}

/* Pagination dark mode */
[data-theme="dark"] .pagination .page-link,
[data-coreui-theme="dark"] .pagination .page-link {
    background-color: #1e293b !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .pagination .page-item.active .page-link,
[data-coreui-theme="dark"] .pagination .page-item.active .page-link {
    background-color: #8b5cf6 !important;
    border-color: #8b5cf6 !important;
    color: #fff !important;
}

[data-theme="dark"] .pagination .page-link:hover,
[data-coreui-theme="dark"] .pagination .page-link:hover {
    background-color: rgba(139, 92, 246, 0.2) !important;
}

/* Alert dark mode */
[data-theme="dark"] .alert,
[data-coreui-theme="dark"] .alert {
    border-color: rgba(139, 92, 246, 0.2) !important;
}

[data-theme="dark"] .alert-success,
[data-coreui-theme="dark"] .alert-success {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: #6ee7b7 !important;
}

[data-theme="dark"] .alert-danger,
[data-coreui-theme="dark"] .alert-danger {
    background-color: rgba(239, 68, 68, 0.15) !important;
    color: #fca5a5 !important;
}

[data-theme="dark"] .alert-warning,
[data-coreui-theme="dark"] .alert-warning {
    background-color: rgba(251, 191, 36, 0.15) !important;
    color: #fcd34d !important;
}

[data-theme="dark"] .alert-info,
[data-coreui-theme="dark"] .alert-info {
    background-color: rgba(6, 182, 212, 0.15) !important;
    color: #67e8f9 !important;
}

/* List group dark mode */
[data-theme="dark"] .list-group-item,
[data-coreui-theme="dark"] .list-group-item {
    background-color: #1e293b !important;
    border-color: rgba(139, 92, 246, 0.2) !important;
    color: #e2e8f0 !important;
}

/* Nav tabs dark mode */
[data-theme="dark"] .nav-tabs .nav-link,
[data-coreui-theme="dark"] .nav-tabs .nav-link {
    color: #94a3b8 !important;
}

[data-theme="dark"] .nav-tabs .nav-link.active,
[data-coreui-theme="dark"] .nav-tabs .nav-link.active {
    background-color: #1e293b !important;
    border-color: rgba(139, 92, 246, 0.3) !important;
    color: #a78bfa !important;
}

/* Breadcrumb dark mode */
[data-theme="dark"] .breadcrumb,
[data-coreui-theme="dark"] .breadcrumb {
    background-color: transparent !important;
}

[data-theme="dark"] .breadcrumb-item a,
[data-coreui-theme="dark"] .breadcrumb-item a {
    color: #a78bfa !important;
}

[data-theme="dark"] .breadcrumb-item.active,
[data-coreui-theme="dark"] .breadcrumb-item.active {
    color: #94a3b8 !important;
}

/* ================================================
   NOTES TICKER WIDGET - PREMIUM TASARIM
   Dashboard hatırlatma/not ticker bileşeni
   ================================================ */

.notes-ticker-widget {
    height: 100%;
    display: flex;
    align-items: stretch;
}

.notes-ticker-container {
    width: 100%;
    height: 140px;
    background: linear-gradient(165deg, 
        rgba(139, 92, 246, 0.15) 0%, 
        rgba(99, 102, 241, 0.1) 30%,
        rgba(59, 130, 246, 0.08) 60%,
        rgba(139, 92, 246, 0.12) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    border: 1px solid rgba(139, 92, 246, 0.25);
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(139, 92, 246, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 1px 0 rgba(255, 255, 255, 0.1) inset;
    display: flex;
    flex-direction: column;
    position: relative;
    flex-shrink: 0;
}

/* Üst parıltı efekti */
.notes-ticker-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.notes-ticker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 8px 12px;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.4) 0%, 
        rgba(124, 58, 237, 0.35) 50%,
        rgba(99, 102, 241, 0.3) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.notes-ticker-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.notes-ticker-header i {
    font-size: 0.9rem;
    color: #e0e7ff;
    filter: drop-shadow(0 0 4px rgba(139, 92, 246, 0.5));
    animation: bellRing 3s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0deg); }
    5% { transform: rotate(15deg); }
    10% { transform: rotate(-13deg); }
    15% { transform: rotate(10deg); }
    20% { transform: rotate(-8deg); }
    25% { transform: rotate(5deg); }
    30% { transform: rotate(-3deg); }
    35%, 100% { transform: rotate(0deg); }
}

.notes-ticker-header span {
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.notes-ticker-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 9px;
    font-size: 0.55rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.notes-ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 6px 0 4px 0;
}

/* Hover'da scroll aktif */
.notes-ticker-content:hover {
    overflow-y: auto;
}

/* Premium scrollbar */
.notes-ticker-content::-webkit-scrollbar {
    width: 5px;
}

.notes-ticker-content::-webkit-scrollbar-track {
    background: rgba(139, 92, 246, 0.1);
    border-radius: 3px;
    margin: 4px 0;
}

.notes-ticker-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 3px;
    box-shadow: 0 0 6px rgba(139, 92, 246, 0.5);
}

.notes-ticker-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #a78bfa 0%, #8b5cf6 100%);
}

.notes-ticker-track {
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: notesTickerScroll 20s linear infinite;
}

/* Hover'da animasyonu durdur */
.notes-ticker-content:hover .notes-ticker-track {
    animation-play-state: paused;
}

@keyframes notesTickerScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.notes-ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    margin: 0 6px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(255, 255, 255, 0.03) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Hover parıltı efekti */
.notes-ticker-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    transition: left 0.5s ease;
}

.notes-ticker-item:hover::before {
    left: 100%;
}

.notes-ticker-item:hover {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.2) 0%, 
        rgba(99, 102, 241, 0.15) 100%);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(4px) scale(1.02);
    box-shadow: 
        0 4px 15px rgba(139, 92, 246, 0.2),
        0 0 0 1px rgba(139, 92, 246, 0.1) inset;
}

.notes-ticker-item .ticker-icon {
    font-size: 1rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.notes-ticker-item .ticker-date {
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    padding: 3px 6px;
    border-radius: 5px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.3);
    letter-spacing: 0.3px;
}

.notes-ticker-item .ticker-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
    letter-spacing: 0.2px;
}

/* Not tiplerine göre border renkleri */
.notes-ticker-item[style*="border-left-color: #ef4444"] { border-left-color: #ef4444 !important; }
.notes-ticker-item[style*="border-left-color: #f59e0b"] { border-left-color: #f59e0b !important; }
.notes-ticker-item[style*="border-left-color: #10b981"] { border-left-color: #10b981 !important; }
.notes-ticker-item[style*="border-left-color: #3b82f6"] { border-left-color: #3b82f6 !important; }
.notes-ticker-item[style*="border-left-color: #8b5cf6"] { border-left-color: #8b5cf6 !important; }

/* Empty state - Premium */
.notes-ticker-empty {
    width: 100%;
    height: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(165deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        rgba(99, 102, 241, 0.08) 50%,
        rgba(139, 92, 246, 0.1) 100%);
    backdrop-filter: blur(20px);
    border-radius: 14px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.notes-add-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 35px;
    background: linear-gradient(145deg, 
        rgba(139, 92, 246, 0.15) 0%, 
        rgba(99, 102, 241, 0.1) 100%);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 2px dashed rgba(139, 92, 246, 0.4);
    color: #c4b5fd;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.notes-add-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.notes-add-btn:hover::before {
    opacity: 1;
}

.notes-add-btn:hover {
    background: linear-gradient(145deg, 
        rgba(139, 92, 246, 0.25) 0%, 
        rgba(124, 58, 237, 0.2) 100%);
    border-color: rgba(139, 92, 246, 0.6);
    border-style: solid;
    color: #e0e7ff;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 
        0 10px 30px rgba(139, 92, 246, 0.3),
        0 0 20px rgba(139, 92, 246, 0.2);
}

.notes-add-btn i {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.4));
}

.notes-add-btn span {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Light Mode - Hatırlatmalar Dark Mode görünümü korunuyor */
/* Notes ticker widget her iki modda da aynı görünüme sahip */