/* 弹窗容器样式 */
.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: 15% auto; /* 15%从顶部和底部边距，并居中 */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* 宽度 */
  max-width: 600px; /* 最大宽度 */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* 添加动画 */
@keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

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

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

/* 按钮样式 */
.modal-btn {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* 确定按钮样式 */
.confirm-btn {
  background-color: #4CAF50;
  color: white;
}

/* 取消按钮样式 */
.cancel-btn {
  background-color: #f44336;
  color: white;
}
.modal-content-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  p {
    margin-top: 30px;
    font-size: 16px;
    font-weight: bold;
  }
}
.modal-content img {
  width: 383px;
  height: 502px;
  display: block;
  margin: 20px auto;
}