.modal {
  display: none;  /* 隐藏模态窗 */
  position: fixed; /* 固定定位，防止滚动 */
  z-index: 1; /* 设置层级，显示在上层 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* 设置滚动 */
  background-color: rgba(0,0,0,0.4); /* 添加背景色和透明度 */
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
}

/* 受理条件的弹窗 */
.conditions-modal-content {
  position: absolute; /* 绝对定位 */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 居中显示 */
  max-height: 80%; /* 内容区域最大高度为 80% */
  width: 600px;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 5px #666;
  overflow: auto; /* 设置滚动条 */
}


/* 关闭按钮样式 */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

/* 鼠标移入关闭按钮时改变样式 */
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}