/* Inherit reuse structure */
.dashboard-container { display: flex; min-height: 100vh; }
/* Sidebar Styles moved to style.css */

.main-content { flex: 1; margin-left: var(--sidebar-width); padding: 30px; background: var(--bg-dark); }
.top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.top-bar h2 { color: var(--text-white); }
.user-profile { display: flex; align-items: center; gap: 15px; }
.user-profile img { width: 40px; height: 40px; border-radius: 50%; }
.user-info { text-align: right; }
.user-info span { display: block; font-weight: 600; }
.user-info small { color: var(--text-gray); }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.kpi-card { background: var(--bg-card); padding: 20px; border-radius: 12px; display: flex; align-items: center; gap: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.kpi-icon { font-size: 2rem; color: var(--primary-color); }
.kpi-data small { color: var(--text-gray); display: block; margin-bottom: 5px; }
.kpi-data h3 { font-size: 1.5rem; color: var(--text-white); }

/* Customers Grid */
/* 
Row 1: Trend (Wide), Gender (Small), Type (Small) -> Wait. Trend is wide.
Screenshot shows: Trend (Wide Bar?), Gender (Donut), Type (Pie).
Actually, Trend is wide?
Checking image 1 again:
"Monthly Customers Trend" (Bar) - Takes up left half.
"Customers by Gender" (Donut) - Center.
"Customers by Type" (Pie) - Right.
Row 1: 3 columns? Or 2-1-1?
Let's make Trend 2/4 cols, Gender 1/4, Type 1/4.

Row 2: "Customers by Country" (Bar), "City" (Bar), "Age Group" (Bar).
3 Cols equal.
*/

.charts-grid-cust {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.chart-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.chart-card h3 { color: var(--text-white); margin-bottom: 20px; font-size: 1.1rem; }
.chart-container { height: 250px; width: 100%; position: relative; }

.wide {
    /* is wide relative to others? In grid-template-columns 2fr 1fr 1fr, the first cell IS wide naturally. */
}

@media (max-width: 1400px) {
    .charts-grid-cust {
        grid-template-columns: 1fr 1fr;
    }
    .wide { grid-column: span 2; }
}
