/* Global Styles */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
}

.dashboard-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

.sidebar {
    width: 250px;
    background-color: #360374;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.sidebar-header {
    margin-bottom: 30px;
    text-align: center;
}

.logo {
    width: 150px;
}

.nav-menu {
    list-style: none;
    width: 100%;
}

.nav-item {
    width: 100%;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-item a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-item:hover {
    background-color: #5348c8;
}

.nav-item i {
    margin-right: 10px;
}

.main-content {
    flex-grow: 1;
    padding: 40px;
    background-color: #f0f0f0;
    position: relative;
    width: calc(100% - 250px);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.search-bar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 300px;
    outline: none;
}

.search-bar i {
    margin-left: -30px;
    color: #ccc;
    cursor: pointer;
}

.dashboard-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.stat-card h3 {
    color: #360374;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 24px;
    color: #5348c8;
}

.charts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.chart {
    flex: 1 1 calc(50% - 20px);
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}
