/**
 * ==========================================
 * GRAFİKLER
 * Grafik stilleri ve varyasyonları
 * ==========================================
 */

/* ============================================================
   ANA GRAFİK - TÜM GRAFİKLER İÇİN ORTAK STİLLER
   ============================================================ */

/* Temel grafik container */
.ana-chart {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
    border-left: 5px solid #0d6efd;
    display: flex;
    flex-direction: column;
    min-height: calc(50vh - 50px);
}

/* Grafik header */
.ana-chart .chart-header {
    background: #f8f9fa;
    color: #2c3e50;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    flex-shrink: 0;
}

.ana-chart .chart-header h5 {
    margin: 0;
    font-weight: 500;
    color: #2c3e50;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.ana-chart .chart-header h5 i {
    margin-right: 8px;
    color: #0d6efd;
}

/* Grafik wrapper */
.ana-chart .chart-wrapper {
    padding: 10px 15px;
    position: relative;
    flex: 1;
    min-height: calc(50vh - 100px);
    height: auto;
}

/* Grafik metrikleri */
.ana-chart .chart-metrics {
    background: #f8f9fa;
    padding: 15px;
    border-top: 1px solid #e9ecef;
    flex-shrink: 0;
}

/* Metrik satırları */
.ana-chart .metrics-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.ana-chart .metrics-row:last-child {
    margin-bottom: 0;
}

/* Metrik item */
.ana-chart .metric-item {
    flex: 1;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-left: 4px solid;
}

/* Responsive */
@media (max-width: 768px) {
    .ana-chart {
        min-height: auto;
    }
    
    .ana-chart .chart-header {
        padding: 10px 12px;
    }
    
    .ana-chart .chart-header h5 {
        font-size: 14px;
    }
    
    .ana-chart .chart-wrapper {
        min-height: 250px;
        padding: 8px 10px;
    }
    
    .ana-chart .metrics-row {
        flex-direction: column;
        gap: 10px;
    }
}


/* ============================================================
   SAYFA BAZLI GRAFİK ÖZELLEŞTİRMELERİ
   (Sadece o sayfaya özel farklar eklenir)
   ============================================================ */

/* ---------- ÖZET SAYFASI ---------- */
.ana-chart.ozet-chart:first-of-type {
    min-height: calc(60vh - 80px);
}

.ana-chart.ozet-chart:first-of-type .chart-wrapper {
    min-height: calc(60vh - 150px);
}


/* ---------- DASHBOARD ---------- */
/* .ana-chart.dashboard-chart { } */


/* ---------- RAPORLAR ---------- */
/* .ana-chart.reports-chart { } */


/* ---------- GELİRLER ---------- */
/* .ana-chart.income-chart { } */


/* ---------- GİDERLER ---------- */
/* .ana-chart.expense-chart { } */


/* ---------- TAHSİLATLAR ---------- */
/* .ana-chart.payment-chart { } */


/* ---------- BORÇLANDIRMALAR ---------- */
/* .ana-chart.dept-chart { } */


/* ---------- ZİRAAT BANKASI ---------- */
/* .ana-chart.ziraat-chart { } */


/* ---------- KASALAR ---------- */
/* .ana-chart.cash-chart { } */

