/* 大纲 */
.outline-box {
  width: 90%;
  margin: 50px auto;
}

.outline-title {
  text-align: center;
  font-size: 29px;
  font-weight: 500;
  text-align: center;
  margin-top: 20px;
}

.outline-summary {
  background-color: #f9fafe;
  margin: 10px 0;
}

.outline-summary .h-l-1 {
  background: #f3f0ff;
  font-size: 22px;
  font-weight: bold;
  margin-top: 20px;
}

/* 折叠容器 */
.collapse-container {
  margin: 20px auto;
  border-radius: 8px;
  /* overflow-y: hidden; */
  font-size: 16px;
  position: relative;
}

.collapse-item {
  margin-bottom: 20px;
}

/* 折叠标题栏 */
.collapse-header {
  background-color: #f3f0ff;
  padding: 10px 8px;
  cursor: pointer;
  /* display: flex;
  justify-content: space-between;
  align-items: center; */
  transition: background-color 0.3s;
}

/* .collapse-header:hover {
  padding: 20px px;
  transition: padding 0.3s;
} */
.col-l {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.col-func {
  display: flex;
  align-items: center;
  gap: 7px;
}
.col-func .icon-charudaima,
.col-func .icon-biaodanzujian-biaoge,
.col-func .icon-gongzuoliuchengtu,
.col-func .icon-fx {
  color: #9e9e9e;
  cursor: pointer;
}

.col-func.active .icon-charudaima,
.col-func.active .icon-biaodanzujian-biaoge,
.col-func.active .icon-gongzuoliuchengtu,
.col-func.active .icon-fx {
  color: #2196f3;
}

.icon-plus {
  color: #2196f3;
  cursor: pointer;
}
.icon-shanchu {
  color: #e57373;
  cursor: pointer;
}

.collapse-title {
  font-size: 18px;
  font-weight: bold;
  color: #000;
}
.collapse-icon {
  font-weight: bold;
  font-size: 18px;
}
/* 展开状态图标旋转 */
.collapse-header.active .collapse-icon {
  transform: rotate(180deg);
}

/* 折叠内容区域 */
.collapse-content {
  background-color: #fff;
  padding: 0;
  max-height: 0;
  /* overflow-y: hidden; */
  transition: max-height 0.5s ease;
}

/* 展开状态内容样式 */
.collapse-content.active {
  max-height: 1500px;
}

.collapse-content-container {
  padding: 8px 10px;
}

.collapse-content-container .content-small-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.collapse-content-container .content-small-title h3 {
  padding: 10px 0;
}

.out-desc {
  font-size: 16px;
}

.out-refresh {
  color: #0079ff;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  display: none;
}

.dialog-pop {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  transition: all 0.8s ease;
  display: none;
}

.show-pop {
  display: block;
  transition: all 0.8s ease;
}

.dialog-pop .pop-container {
  width: 50%;
  height: auto;
  background: #ffffff;
  border-radius: 10px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  padding: 20px;
}

.pop-container .container-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  color: #333;
  line-height: 50px;
}

.pop-container .container-title .icon-bianji {
  color: #0079ff;
}
.pop-container .container-title > span:last-child {
  cursor: pointer;
  color: rgb(158, 158, 158, 0.7);
}

.container-content {
  color: #666666;
  font-size: 16px;
  margin: 20px 0;
}
.container-content .con-t span {
  display: inline-block;
  cursor: pointer;
  padding: 10px 20px;
  border: 1px solid rgb(158, 158, 158, 0.2);
}

.container-content .con-t span:first-child {
  border-right: 0;
}

.container-content .con-t span:last-child {
  border-left: 0;
}

.container-content .con-t {
  margin-bottom: 20px;
  margin-top: 5px;
}

.container-content .con-b > input,
.container-content .con-b textarea {
  border: 1px solid rgb(158, 158, 158, 0.2);
  width: 100%;
  line-height: 50px;
  text-indent: 10px;
  margin-top: 5px;
}

.container-content .con-b > input:hover,
.container-content .con-b textarea:hover {
  border: 1px solid rgb(0, 121, 255, 0.5);
}

.container-content .con-footer {
  margin-top: 20px;
  text-align: right;
}
.container-content .con-footer button {
  padding: 5px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.container-content .con-footer button:first-child {
  background-color: #0079ff;
  color: #ffffff;
}

.suc-container {
  width: 350px !important;
}

.suc-content .suc-btn {
  padding: 10px 20px;
  display: inline-block;
  border-radius: 5px;
  margin: 30px 0;
}

.pop-container .suc-header {
  text-align: right;
  color: rgb(158, 158, 158, 0.6);
}

.pop-container .suc-content {
  text-align: center;
}

.editable {
  padding: 8px;
  border: 1px solid transparent;
}

.editable:hover {
  border-color: #cdc4f5;
  background-color: #f3f0ff;
}

[contenteditable="true"]:focus {
  outline: none; /* 移除默认的蓝色轮廓 */
  border: 1px solid #cdc4f5;
  background-color: #f3f0ff;
}

.t-active,
.suc-content .suc-btn,
.send-btn > button {
  background-color: #0079ff;
  color: #ffffff;
}
.color9e9e9e {
  color: #9e9e9e;
}

/* 统计数据 */
.statistics-box {
  /* width: 100px;
  height: 100vh; */
  position: fixed;
  right: 20px;
  top: 10%;
  z-index: 10;
}

.statistics-box .statistics-item {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: linear-gradient(to bottom, #fafaff, #efeffe);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.statistics-box .statistics-item span:nth-child(1) {
  font-size: 20px;
  font-weight: bold;
}

.statistics-box .statistics-item span:nth-child(2) {
  font-size: 12px;
}

.hover-target {
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}
/* 提示框：默认隐藏，hover 时显示 */
.hover-target:hover::before {
  content: attr(data-tooltip);
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 8px 6px;
  background: #333;
  color: white;
  border-radius: 4px;
  font-size: 14px;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
/* 小三角 */
.hover-target:hover::after {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0 8px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

.hover-target-r {
  cursor: pointer;
  position: relative;
}
.hover-target-r:hover::before {
  content: attr(data-tooltip);
  position: absolute;
  left: -90px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: 8px 6px;
  background: #333;
  color: white;
  border-radius: 4px;
  font-size: 14px;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hover-target-r:hover::after {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px 0px 8px 8px;
  border-style: solid;
  border-color: transparent transparent transparent #333;
}
.lwchoose1 {
  text-align: center;
}
#sendBtn1 {
  display: none;
}

.isShow {
  display: block;
}

.outline-tip {
  width: 100%;
  line-height: 20px;
  font-size: 14px;
  color: #666666;
}

.outline-tip-box {
  width: 150px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0px 0px 16px 0px rgba(58, 120, 255, 0.25);
  padding: 10px;
  font-size: 13px;
  position: absolute;
  right: -160px;
  top: 0;
  /* display: none; */
}
.tip-close {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: 16px;
}

/* 历史大纲 */
.history-outline {
  width: 100%;
  margin: 30px auto;
  /* border: 1px solid #0c599512; */
  padding: 10px;
  border-radius: 10px;
}

.his-item {
  background-color: #f7f8ff;
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  width: 100%;
  font-size: 13px;
  position: relative;
}

.his-title .his-title-t {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: #333;
}

.his-title .his-title-b {
  font-size: 14px;
  color: #9e9e9e;
}
.his-buttons {
  margin: 20px 0 10px 0;
}
.his-buttons .button {
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 5px;
}

.his-buttons .button:nth-child(1) {
  background: #0079ff;
  color: #ffffff;
}

.his-buttons .button:nth-child(2) {
  background-color: #ffffff;
  color: #333;
  border: 1px solid #919191;
}

.icon-dituweizhixinxi_chahao {
  cursor: pointer;
}

.orange {
  color: orange;
}

.color692bf5 {
  color: #692bf5;
}

.color32a500 {
  color: #32a500;
}

.color3b72ff {
  color: #3b72ff;
}

.color2196f3 {
  color: #2196f3 !important;
}

.color9e9e9e {
  color: #9e9e9e;
}

@media screen and (max-width: 1120px) {
  .dialog-pop .pop-container {
    width: 60%;
  }
}

@media screen and (max-width: 780px) {
  .dialog-pop .pop-container {
    width: 80%;
  }
}

@media screen and (max-width: 550px) {
  .dialog-pop .pop-container {
    width: 90%;
  }
}

@media screen and (max-width: 480px) {
  .outline-title {
    font-size: 20px;
  }
  .outline-summary .h-l-1 {
    font-size: 18px;
  }
  .out-desc,
  .collapse-container,
  .out-refresh {
    font-size: 14px;
  }
}
