.layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
    background-color: #f9fafb;
}

.sidebar {
    width: 16rem;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 1rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: #2563eb;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #4b5563;
}

.sidebar-menu a.active,
.sidebar-menu a:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.main-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.header {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content h1 {
    font-size: 1.5rem;
    color: #1f2937;
}

.user-menu button {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
}

.user-menu img {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 3rem;
    background: white;
    border-radius: 0.375rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.stats {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
}

.stat-card {
    background: #2563eb;
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    flex: 1;
    display: flex;
    align-items: center;
}

.stat-card i {
    font-size: 2rem;
    margin-right: 1rem;
}

.chart-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.activities-table {
    overflow-x: auto;
    padding: 1.5rem;
}
