body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* 允许页面整体纵向滚动，只隐藏横向滚动条 */
  overflow-x: hidden;
}

/* 调整容器内的元素布局 */
.container {
  display: flex;
  flex-direction: column; /* 将元素横向排列 */
  flex-wrap: wrap; /* 允许元素换行 */
  flex: 1;
  /* 这里不强制隐藏溢出，让右侧区域自己控制滚动 */
}
/* .content-section 样式 */
.content-section {
    display: flex;
    flex: 1;
    flex-direction: row; /* 将 .left-section 和 .right-section 水平排列 */
}
/* Top section styles */
.top-section {
  background-color: #007bff;
  color: #fff;
  padding: 10px;
  max-height: 10vh;
}

.top-section h1 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.top-section p {
  font-size: 16px;
  line-height: 0.2;
}
.top-section user-info{
    text-align: right;
    font-weight: bold;
}

/* Left section styles */
.left-section {
  background-color: #f2f2f2;
  width: 10%;
  padding: 20px;
  max-height: 87vh;
}

.left-section h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.left-section ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 10px;
  text-align: center;
}

/* 修改 .list-unstyled 样式 */
.left-section list-unstyled {
  width: 100%; /* 或者适当的百分比值，使其适应容器 */
  /* 其他样式属性... */
}

/* 添加 word-wrap 和 overflow 样式到 li 元素 */
.left-section list-unstyled li {
  list-style-type: none;
  margin-bottom: 10px;
  width: 100%;
}


.right-section {
    background-color: #f9f9f9;
    flex: 1;
    padding: 20px;
    position: relative;
    display: flex; /* 将 .right-section 设置为 Flex 容器 */
    flex-direction: column; /* 元素在垂直方向上排列 */
    max-height: 87vh;
    overflow-y: auto;  /* 右侧内容超过高度时可以滚动查看 */
}




/* Bottom section styles */
.bottom-section {
  background-color: #333;
  color: #fff;
  text-align: center;
  max-height: 3vh;
  overflow: hidden;
}

.bottom-section p {
    font-size: 12px;
}


