body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.container {
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

h1 {
    font-size: 2em;
    color: #333;
}

p {
    font-size: 1.2em;
    color: #666;
}

.main-container {
    display: flex;
    width: 100%;
    opacity: 0.99; /* Adjust this value to make the background more visible */
}

.sidebar {
    width: 250px;
    background-color: #f8f9fa;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.logo img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.nav ul {
    list-style-type: none;
    padding: 0;
}

.nav ul li {
    margin-bottom: 15px;
}

.nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px; /* Adjusted font size */
    white-space: nowrap; /* Prevents text from wrapping */
}

.main-content {
    flex-grow: 1;
    padding: 20px;
    background-color: #ffffff;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header h1 {
    margin: 0;
}

.header-options {
    display: flex;
    align-items: center;
}

.header-options button {
    margin-right: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.user-info a {
    margin-right: 20px;
    text-decoration: none;
    color: #007bff;
}

.notification {
    background-color: #fff3cd;
    border-left: 5px solid #ffeeba;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stat-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    flex-grow: 1;
    margin-right: 20px;
}

.stat-item:last-child {
    margin-right: 0;
}

.charts {
    display: flex;
    justify-content: space-between;
}

.chart {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    flex-grow: 1;
    margin-right: 20px;
    max-height: 300px; /* Ensure chart container does not exceed 300px */
}

.chart canvas {
    max-height: 100%; /* Ensure canvas does not exceed the container height */
}

.chart:last-child {
    margin-right: 0;
}