.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles moved to style.css */

/* Main Content */
.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 */
.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);
    transition: transform 0.3s;
}
.kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.15); /* Orange hint */
}

.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);
}

/* Charts Grid */
.charts-grid-sales {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 columns for flexibility */
    gap: 20px;
}

.chart-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    grid-column: span 2; /* Default to 1/3 width */
}

.chart-card.wide {
    grid-column: span 3; /* Spans half */
}

.chart-card h3 {
    color: var(--text-white);
    margin-bottom: 20px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.chart-container {
    position: relative;
    height: 300px; 
    width: 100%;
}


/* Responsive */
@media (max-width: 1200px) {
    .charts-grid-sales {
        display: flex;
        flex-direction: column;
    }
}

/* The End */ 



