.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: none;
}

.popup.show {
  display: flex;
  pointer-events: auto;
}

.popup-content {
  background-color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  max-width: 400px;
  min-width: 300px;
  min-height: 160px;
  text-align: center;
}

.popup-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.popup-message {
  font-size: 16px;
  margin-bottom: 40px;
  padding-top: 36px;
}

.popup-close {
  background-color: #2196f3;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.popup-close:hover {
  background-color: #0d8bf5;
}

/* 弹窗样式 */
.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 500px;
  border-radius: 5px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#modalTitle {
  text-align: center;
  padding: 10px 0;
  font-size: 16px;
}

.modal-content p {
  text-align: center;
  padding: 10px 0;
  line-height: 26px;
  font-size: 16px;
}

.modal-buttons {
  padding-top: 20px;
  text-align: center;
}

/* 按钮样式 */
.modal-buttons button {
  margin-left: 10px;
  background-color: #2196f3;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#button1 {
  background-color: #999;
}

#button2 {
  background-color: #2196f3;
}
