body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  .container {
    flex: 1;
    width: 95%;
    max-width: 1200px;
    margin: 20px auto;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
  }
  
  h1 {
    background-color: #3498db;
    color: #fff;
    padding: 20px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .buttons {
    display: flex;
    gap: 10px;
  }
  
  .btn {
    padding: 10px 20px;
    background-color: #2980b9;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
  }
  
  .btn:hover {
    background-color: #1f5f87;
  }
  
  .table-container {
    width: 100%;
    overflow-x: auto;
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
    table-layout: auto;
  }
  
  th, td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    white-space: nowrap;
    text-align: center;
  }
  
  th {
    background-color: #f2f2f2;
    font-weight: bold;
  }
  
  
  .status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #2ecc71;
  }
  
  .progress-bar {
    width: 100%;
    min-width: 100px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
  }
  
  .progress {
    height: 20px;
    background-color: #3498db;
  }
  
 
 
 
  /* ========== 模态框样式开始 ========== */

/* 模态框的总体样式 */
.modal {
  display: none; /* 初始状态下隐藏模态框 */
  position: fixed; /* 模态框固定在页面，不随滚动条滚动 */
  z-index: 1000; /* 确保模态框始终显示在最上层 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 背景变暗 */
  pointer-events: none; /* 禁止点击模态框外部 */
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  position: relative; /* 设置相对定位 */
  pointer-events: auto; /* 允许点击模态框内部 */
}

/* 表单样式 */
form {
  display: flex;
  flex-direction: column; /* 将表单内容垂直排列 */
}

label {
  margin-bottom: 8px; /* 给标签和输入框之间添加间距 */
}

input, select {
  margin-bottom: 16px; /* 每个输入框和下拉框之间的间距 */
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px; /* 圆角边框 */
  transition: border-color 0.3s; /* 添加边框颜色变化过渡效果 */
}

input.error, select.error {
  border-color: red; /* 未填写时的红色边框 */
}

button {
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

/* 关闭按钮 */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

/* ========== 模态框样式结束 ========== */
/* ========== 密码验证样式开始 ========== */
#password-protection {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.password-container {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  width: 90%;
  max-width: 400px;
}
.password-container h2 {
  color: #4a4a4a;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}
.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}
#password-input {
  box-sizing: border-box;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.3s;
  
}
#password-input:focus {
  outline: none;
  border-color: #667eea;
}
#password-input::placeholder {
  color: #aaa;
}
#submit-password {
  width: 30%;
  padding: 0.75rem;
  background-color: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  display: block; /* 将按钮设置为块级元素 */
  margin: 0 auto; /* 水平居中 */
}
#submit-password:hover {
  background-color: #5a6fd6;
}
.password-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  cursor: pointer;
}
/* ========== 密码验证样式结束 ========== */