/* 页面整体布局 */
body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #f5f5f5;
    color: #333;

    /* 背景图设置 */
    background: url("/static/images/bg.png") no-repeat center center fixed;
    background-size: cover;   /* 拉伸铺满 */
    background-attachment: fixed; /* 固定背景，内容滚动时背景不动 */
}
/*!* 网站整体背景图 *!*/
/*body {*/
/*  margin: 0;*/
/*  padding: 0;*/
/*  font-family: Arial, sans-serif;*/
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7); /* 白色半透明 */
  z-index: -1; /* 不遮挡页面内容 */
}


/*}*/


/* 主容器：左侧导航 + 右侧内容 */
.container {
    display: flex;
    min-height: 100vh;
}

/* 左侧导航栏 */
.sidebar {
    width: 200px;
    background-color: #2c3e50;
    display: flex;
    flex-direction: column;
    padding: 20px 10px;
    box-sizing: border-box;
}

.sidebar button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: none;
    border-radius: 6px;
    background-color: #34495e;
    color: #ecf0f1;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar button:hover {
    background-color: #3d566e;
}

.sidebar button.active {
    background-color: #1abc9c;
    font-weight: bold;
}

/* 右侧内容区 */
.content {
    flex-grow: 1;
    padding: 20px;
    background: transparent; /* 原来是 #fff */
    box-sizing: border-box;
}

/* 公共 section 样式（比如 ghost 页面里的输入区） */
.section {
    margin-bottom: 15px;
}

/* 按钮组 */
.button-group {
    display: flex;
    gap: 10px;
}

.button-group button {
    flex: 1;
}

/* 提交按钮/主要操作按钮 */
.submit-btn,
.primary-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    background-color: #1abc9c;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.submit-btn:hover,
.primary-btn:hover {
    background-color: #16a085;
}


/* 功能改进记录整体 */
.updates-section {
  margin: 30px 0;
}

.updates-section h2 {
  font-size: 22px;
  margin-bottom: 15px;
  border-left: 4px solid #4cafef;
  padding-left: 8px;
}

/* 容器：横向排版，自动换行 */
.updates-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* 单个卡片 */
.update-card {
  flex: 1 1 400px;  /* 最小 400px 宽度，自适应扩展 */
  max-width: 500px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 20px;
}

.update-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}

.update-list h4 {
  margin: 10px 0 5px;
  font-size: 15px;
  color: #4cafef;
}

.update-list ul {
  padding-left: 20px;
  margin: 0 0 10px;
}

.update-list ul li {
  list-style: disc;
  margin: 4px 0;
  font-size: 14px;
  line-height: 1.5;
}

.update-list p {
  font-size: 13px;
  color: #888;
  margin: 6px 0;
}


