.container {
    display: flex;
    height: 100vh;
    /* Fixed height to viewport */
    overflow: hidden;
    /* Prevent body scroll, handle inside components */
    background-color: var(--bg-primary);
}

.main {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: margin-left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.main.collapsed {
    margin-left: var(--sidebar-collapsed-width);
}

.header {
    height: var(--header-height);
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    color: var(--text-primary);
}

.header h1 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.05em;
    color: var(--accent-primary);
}

.userProfile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 32px;
    height: 32px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    color: white;
}

.content {
    padding: 2rem;
    flex: 1;
    overflow-y: auto;
}