.hide {
  display: none !important;
}
#aiDialog {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  z-index: 3;
}
.ai-markdown-dialog {
  width: 40%;
  min-width: 150px;
  height: 300px;
  float: right;
  margin: 50px;
  padding: 10px;
  border-radius: 5px;
  background-color: #ffffff; /* 更改为白色 */
  box-shadow: 0px 5px 5px #e3dfdf;
  text-align: center;
}
.ai-dialog-title {
  width: 100%;
  height: 40px;
  line-height: 40px;
  color: #333333; /* 文字颜色调整为深色 */
}
.ai-content-box {
  position: relative; 
}
.ai-dialog-content {
  width: 100%;
  height: 200px;
  resize: none;
  outline: none;
  border-radius: 5px;
  border-color: #dcdcdc; /* 边框颜色调整为浅灰色 */
  box-sizing: border-box;
}
.ai-outline-choose {
  width: 100%;
  height: 200px;
  padding: 20px;
  margin: 10px 0;
  background-color: #ffffff; /* 背景颜色调整为白色 */
  border: 1px solid #dcdcdc; /* 边框颜色调整为浅灰色 */
  border-radius: 5px;
  box-sizing: border-box;
}
.ai-outline-choose select,
.ai-outline-choose input {
  display: inline-block;
  width: 80%;
  height: 30px;
  padding: 0 10px;
  margin: 10px 0;
  appearance: none;
  background-color: #ffffff; /* 背景颜色调整为白色 */
  background-image: none;
  border-radius: 4px;
  border: 1px solid #dcdcdc; /* 边框颜色调整为浅灰色 */
  box-sizing: border-box;
  color: #333333; /* 文字颜色调整为深色 */
  line-height: 27px;
  outline: none;
}
.ai-mask {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 200px;
  background-color: rgba(255, 255, 255, 0.8); /* 背景颜色调整为半透明白色 */
}
#aiLoader {
  width: 32px;
  height: 32px;
  background-image: url('./loader.svg');
  animation: rotate 2s linear infinite;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.ai-dialog-button {
  min-width: 55px; /* 减小最小宽度 */
  padding: 5px 8px; /* 减少内边距 */
  margin:0 5px;
  border: 1px solid #0078d4; /* 边框颜色调整为蓝色 */
  border-radius: 4px; /* 边角稍微圆润一些 */
  background: linear-gradient(145deg, #ffffff, #f0f8ff); /* 更亮的渐变背景 */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* 更柔和的阴影 */
  font-size: 14px; /* 调整字体大小 */
  color: #333333; /* 文字颜色调整为深色 */
  cursor: pointer;
}

.ai-dialog-button:hover {
  background: linear-gradient(145deg, #f0f8ff, #e6f3ff); /* 悬停时的更亮渐变背景 */
}


/* 模态对话框的基本样式 */
.modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(255, 255, 255, 0.8); /* 背景颜色调整为半透明白色 */
}

/* 模态对话框的内容区域 */
.modal-content {
  background-color: #ffffff; /* 背景颜色调整为白色 */
  margin: 15% auto;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 60%;
  max-width: 500px;
  border: none;
}

/* 关闭按钮 */
.modal-close {
  color: #333333; /* 文字颜色调整为深色 */
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  margin-top: -10px;
  margin-right: -10px;
}

.modal-close:hover,
.modal-close:focus {
  color: #000000; /* 鼠标悬停时文字颜色调整为黑色 */
  text-decoration: none;
}

/* 按钮通用样式 */
.modal-button-group {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  /* 添加一定的顶部间距 */
}

.modal-button {
  padding: 10px 30px;
  margin: 0;
  /* 移除外边距 */
  cursor: pointer;
  border: none;
  border-radius: 8px;
  /* 较大的圆角 */
  font-size: 16px;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* 添加轻微的阴影 */
}


/* 确定按钮 */
.modal-button-ok {
  border: 1px solid #0078d4; /* 边框颜色调整为蓝色 */
  border-radius: 4px; /* 边角稍微圆润一些 */
  background: linear-gradient(145deg, #ffffff, #f0f8ff); /* 更亮的渐变背景 */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* 更柔和的阴影 */
  font-size: 14px; /* 调整字体大小 */
  color: #333333; /* 文字颜色调整为深色 */
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.2s, transform 0.2s; /* 平滑过渡效果 */
}

.modal-button-ok:hover {
  background: linear-gradient(145deg, #f0f8ff, #e6f3ff); /* 悬停时的更亮渐变背景 */
}

/* 取消按钮 */
.modal-button-cancel {
  background-color: #e53935; /* 背景颜色保持不变 */
  color: #ffffff; /* 文字颜色调整为白色 */
}

.modal-button-cancel:hover {
  background-color: #c62828; /* 鼠标悬停时背景颜色调整为深红色 */
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* 加深阴影 */
}

/* 标题样式 */
#modal-title {
  font-size: 18px;
  color: #333333; /* 文字颜色调整为深色 */
  margin-bottom: 10px;
}

/* 内容样式 */
#modal-content {
  font-size: 16px;
  color: #333333; /* 文字颜色调整为深色 */
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  line-height: 1.5;
}