header {
  background-color: #333;
  color: #fff;
  padding: 10px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  height: 40px;
  /* 调整高度以适应设计 */
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
}

.nav-links a:hover {
  background-color: #555;
  border-radius: 5px;
}

.auth-module {
  display: flex;
  gap: 10px;
}

.auth-module a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 5px;
}

.auth-module span {
  color: #fdfdfd;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 5px;
}

.auth-module a:hover {
  background-color: #555;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .nav-links li {
    margin-left: 0;
    margin-bottom: 10px;
  }

  .auth-module {
    flex-direction: column;
    text-align: center;
    margin-top: 10px;
  }

  .auth-module a {
    width: 100%;
  }
}


.carousel {
  position: relative;
  max-width: 1200px;
  margin: 20px auto;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  transition: transform 3s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-item img {
  width: 100%;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  color: #fff;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.carousel-control-prev {
  left: 10px;
}

.carousel-control-next {
  right: 10px;
}

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.carousel-indicators li {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #fff;
  border-radius: 50%;
  opacity: 0.5;
}

.carousel-indicators li.active {
  opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .carousel-caption {
    font-size: 0.875em;
    /* 调整字体大小以适应小屏幕 */
  }
}


.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 10px;
}

.feature-item {
  flex: 1 1 calc(33.333% - 20px);
  /* 每个单元占据大约三分之一的宽度，减去间距 */
  box-sizing: border-box;
  margin-bottom: 20px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.feature-item img {
  width: 100%;
  display: block;
  border-radius: 8px 8px 0 0;
}

.feature-item h3 {
  margin-top: 10px;
  font-size: 1.25em;
}

.feature-item p {
  margin-top: 5px;
  color: #555;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .feature-item {
    flex: 1 1 calc(50% - 20px);
    /* 每个单元占据大约一半的宽度 */
  }
}

@media (max-width: 480px) {
  .feature-item {
    flex: 1 1 100%;
    /* 每个单元占据全部宽度 */
  }
}



.main-content {
  display: flex;
  flex: 1;
  flex-direction: row;
}

.sidebar {
  width: 250px;
  /* 左侧导航栏宽度 */
  background-color: #f8f9fa;
  padding: 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar ul {
  list-style-type: none;
  padding: 0;
}

.sidebar li {
  margin-bottom: 10px;
  text-align: center;
}

.sidebar a {
  text-decoration: none;
  color: #343a40;
  display: block;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.sidebar a:hover,
.sidebar a.active {
  background-color: #e9ecef;
}

.content-area {  
  flex: 1;  
  padding: 20px;  
  background-color: #fff;  
  overflow-y: auto; /* 如果内容过多，允许滚动 */  
  align-content: center;
}  

.content-page {  
  display: none; /* 默认隐藏所有内容页 */  
}  

.content-page.active {  
  display: block; /* 显示当前激活的内容页 */  
}  

/* 响应式设计（如果需要的话，可以根据实际情况调整） */  
@media (max-width: 768px) {  
  .sidebar {  
    flex: 1 1 100%;
  }  

  .content-area {  
        
      flex: 1 1 100%;
  }  
}

.title-table{
  border-collapse: collapse;  
  width: 80%;  
  max-width: 1200px;  
  margin: auto;  
  height: 30px;
}
  

.project-table {  
  border-collapse: collapse;  
  width: 80%;  
  max-width: 1200px;  
  margin: auto;  
  background-color: #fff;  
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);  
}  
.project-table th,  
.project-table td {  
  padding: 6px;  
  border: 1px solid #ddd;  
  text-align: center;  
}  


.project-table th {  
  background-color: #f2f2f2;    
}  

.project-table .action {  
  text-align: right;  
}  



.button {
  display: inline-block;
  width: 100px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  font-size: 16px;
  color: #333;
  background-color: #e0e0e0;
  border: none;
  border-radius: 1px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s;
  margin: 0px;
}

.button:hover:not(.disabled) {
  background-color: #d0d0d0;
  transform: scale(1.05);
}

.button.disabled {
  background-color: #f5f5f5;
  color: #aaa;
  cursor: not-allowed;
  pointer-events: none;
  /* 禁用点击事件 */
  transform: none;
  /* 禁用动画效果 */
  transition: none;
  /* 禁用过渡效果 */
}



