 /* General Styles */
 body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #141e30, #243b55);
    color: #fff;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 80px; /* Minimal width for sidebar */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center; /* Center icons */
    padding: 20px 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    padding-top: 70px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 60px;
}

.sidebar ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.sidebar ul li a:hover {
    background: linear-gradient(135deg, #00bcd4, #0097a7); /* Gradient hover effect */
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.sidebar-footer {
    writing-mode: vertical-rl; /* Vertical text for minimal design */
    transform: rotate(180deg); /* Rotate text for better readability */
    letter-spacing: 2px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 150px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #00bcd4, #0097a7); /* Gradient background */
    padding: 25px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%; /* Full width header */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    

}

.header h1 {
    font-size: 24px;
    color: #fff;
    margin: 0;
}

.header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.header button {
    background: #fff;
    border: none;
    color: #00bcd4;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.header button:hover {
    background: #00bcd4;
    color: #fff;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 80px 20px 20px; /* Adjust padding for fixed header */
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    margin-top: 60px;
}

/* KPI Cards */
.kpi-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.kpi-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
}

.kpi-card i {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: #00bcd4;
}

.kpi-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.kpi-card p {
    font-size: 20px;
    font-weight: bold;
    color: #00bcd4;
}

/* Charts */
.charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.chart-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

canvas {
    max-height: 300px;
}

/* Slicer */
.slicer-container {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    bottom: 20px; /* Sticky at the bottom */
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
}

.slicer-container label {
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff;
}

.slicer-container select {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #999999;
    transition: all 0.3s ease;
}

.slicer-container select:focus {
    outline: none;
    border-color: #00bcd4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 60px; /* Even smaller on mobile */
    }

    .sidebar ul li a {
        width: 35px;
        height: 35px;
    }
}