body {
  margin: 0;
  overflow: scroll;
  color: #333;
  padding-left: 20px;
  .header-bar {
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding-top: 20px;
    position: relative;
    width: 100%;
    height: 90px;

    .logo-text {
      text-align: left;
      font-weight: 700;
      font-size: 24px;
      position: absolute;
    }
    .logo-name {
      color: #222;
      font-size: 36px;
      width: 100%;
      text-align: center;
    }
  }
  .nav-bar {
    display: flex;
    list-style: none;
    justify-content: space-between;
    width: 100%;
  }
  .nav-bar li {
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    color: #333;
  }
  .nav-bar li.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 2px;
    background-color: #222;
  }

  .tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    margin-top: 10px;
    border-radius: 20px;
  }

  .tab-content.active {
    display: block;
  }
  .side-list-container ul {
    list-style: none;
  }
}

.main-container {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.side-list-container {
  width: 230px;
  background-color: #f3f4fa;
  padding-left: 12px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.side-list-container ul li {
  margin-bottom: 10px;
  cursor: pointer;
}

.article-wrapper {
  width: 80%;
  flex-grow: 1;
  padding-left: 20px;
  overflow-y: scroll; /* 允许滚动 */
}
/* 隐藏滚动条 */
.article-wrapper::-webkit-scrollbar {
  width: 0px; /* 隐藏垂直滚动条 */
  height: 0px; /* 隐藏水平滚动条 */
}

.article-wrapper::-webkit-scrollbar-thumb {
  background-color: transparent; /* 透明滚动条 */
}

.article-wrapper::-webkit-scrollbar-track {
  background: transparent; /* 透明滚动条轨道 */
}

.section {
  margin-bottom: 50px;
}

.side-list-ul li {
  margin-bottom: 10px;
  cursor: pointer;
  padding: 5px;
  transition: all 0.3s ease;
}

.side-list-ul li.active {
  color: #222;
}

/* 可以添加悬停时的样式 */
.side-list-ul li:hover {
  color: #222;
}

/* Tab 样式 */
.tab-buttons {
  display: flex;
  border-bottom: 2px solid #ccc;
}

.tab-button {
  flex: 1;
  padding: 10px 20px;
  text-align: center;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  font-size: 16px;
  transition: background-color 0.3s;
}

.tab-button.active {
  font-weight: bold;
  border-bottom: 2px solid #222;
  color: #222;
}

.tab-content-container {
  margin-top: 20px;
}

.tab--button-content {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.tab--button-content.active {
  display: block;
  opacity: 1;
}
p {
  font-size: 14px;
}
.tab4-img {
  height: 350px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.error {
  color: red;
  font-size: 12px;
  margin-left: 10px;
}

.form-container {
  width: 450px;
  padding: 20px;
  border-radius: 20px;
  background-color: #f3f4fa;
  position: relative;
}
.form-group {
  margin: 20px 10px;
}
label {
  display: block;
  margin-bottom: 5px;
}
input {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #cdcdcd;
  border-radius: 8px;
}
button {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.submit {
  width: 95%;
  margin: 40px 10px;
  border-radius: 20px;
  color: #fff;
  background-color: #5c35f0;
}

.toast {
  position: absolute;
  width: 75%;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #868686;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.toast.show {
  opacity: 1;
  visibility: visible;
}

.select-box {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #cdcdcd;
  border-radius: 8px;
}
