.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000; /* 提高z-index，确保显示在设置模态框之上 */
}

.modal-content {
  background-color: #333; /* 灰黑色背景 */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* 更深的阴影 */
  text-align: center;
  max-width: 400px;
  width: 90%;
  color: #eee; /* 文本颜色调整为浅色 */
}

.modal-content p {
  margin-bottom: 20px;
  font-size: 16px;
  color: #ccc; /* 段落文本颜色调整为浅色 */
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 10px; /* 按钮之间的间距 */
  margin-top: 20px;
}

.modal-content button {
  background-color: #28a745; /* 绿色按钮 */
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease; /* 添加过渡效果 */
}

.modal-content button:hover {
  background-color: #218838; /* 鼠标悬停时的深绿色 */
}

.modal-content button.focused {
  outline: 2px solid #66ccff; /* 焦点时的蓝色边框 */
  box-shadow: 0 0 0 3px rgba(102, 204, 255, 0.5);
}