/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #121212, #1E1E1E); /* Dark Gradient Background */
    color: #FFFFFF; /* White Text */
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: linear-gradient(135deg, #2c3e50, #1a2530); /* Dark Gradient for Sidebar */
    color: #FFFFFF;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}
.sidebar h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #e2e2e2; /* Gold Accent */
}
.sidebar ul {
    list-style: none;
    padding: 0;
}
.sidebar ul li {
    margin: 15px 0;
}
.sidebar ul li a {
    color: #FFFFFF;
    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; /* Slightly Lighter Blue */
}
.sidebar ul li a i {
    margin-right: 10px;
    font-size: 18px;
    color: #e2e2e2; /* Gold Accent */
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05); /* Subtle Transparency for Dark Mode */
    backdrop-filter: blur(10px); /* Glassmorphism Effect */
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.header h1 {
    font-size: 28px;
    color: #e2e2e2; /* Gold Accent */
}
.header .subtitle {
    font-size: 16px;
    color: #CCCCCC;
}
.header .filter {
    display: flex;
    align-items: center;
}
.header .filter select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05); /* Subtle Transparency for Dark Mode */
    color: #FFFFFF;
    font-size: 14px;
    margin-left: 10px;
    transition: all 0.3s ease;
}
.header .filter select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

/* KPI Cards */
.kpi-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.kpi-card {
    background: rgba(255, 255, 255, 0.05); /* Subtle Transparency for Dark Mode */
    backdrop-filter: blur(10px); /* Glassmorphism Effect */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
}
.kpi-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #FFFFFF;
}
.kpi-card p {
    font-size: 24px;
    font-weight: bold;
    color: #6bc4ff; /* Gold Accent */
}
.kpi-card i {
    font-size: 30px;
    color: #6bc4ff; /* Gold Accent */
    margin-bottom: 10px;
}

/* Charts */
.charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.chart {
    background: rgba(255, 255, 255, 0.05); /* Subtle Transparency for Dark Mode */
    backdrop-filter: blur(10px); /* Glassmorphism Effect */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.chart:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
}
.chart h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #e2e2e2; /* Gold Accent */
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 30px;
    padding: 10px;
    background: linear-gradient(135deg, #2c3e50, #1a2530); /* Dark Gradient for Footer */
    color: #FFFFFF;
    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));
    }
}