/* Internal CSS */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #f4f7fa;
    color: #333;
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: #2c3e50;
    color: #fff;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 15px 0;
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.sidebar ul li a:hover {
    background: #34495e;
}

.sidebar ul li a i {
    margin-right: 10px;
    font-size: 18px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 28px;
    color: #2c3e50;
}

.header .subtitle {
    font-size: 16px;
    color: #7f8c8d;
}

.header .filter {
    display: flex;
    align-items: center;
}

.header .filter select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    margin-left: 10px;
}

/* KPI Cards */
.kpi-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.kpi-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.kpi-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.kpi-card p {
    font-size: 24px;
    font-weight: bold;
    color: #3498db;
}

.kpi-card i {
    font-size: 30px;
    color: #3498db;
    margin-bottom: 10px;
}

/* Charts */
.charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.chart {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.chart h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #2c3e50;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 30px;
    padding: 10px;
    background: #2c3e50;
    color: #fff;
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .main-content {
        margin-left: 0;
        padding: 10px;
    }

    .kpi-cards {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}