.FunctionalArea>.edit>.eredit>.list>.entitEdity {
  width: 100%;
  height: 100%;
  overflow: auto;
  overflow-x: hidden;
}

.FunctionalArea>.edit>.eredit>.list>.entitEdity .entity-item {
  margin: 1vh auto;
  width: 98%;
  border-radius: 1vh;
  border: 1px solid #ccc;
  background-color: #FAFAFA;
  overflow: hidden;
}

.FunctionalArea>.edit>.eredit>.list>.entitEdity .entity-header {
  padding: 0.5vh 1vh;
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* 输入框 */
.FunctionalArea>.edit>.eredit>.list>.entitEdity .entity-header input {
  flex: 1;
  border: #ccc 1px solid;
  min-width: 0;
  border-radius: 0.5vh;
  padding: 0.8vh;
  margin: 0 1vh;

  font-size: large;
  color: #303030;
}

/* 两个按钮的效果 */
.FunctionalArea>.edit>.eredit>.list>.entitEdity .entity-header button {
  font-family: Inter;
  font-size: 2.5vh;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  transform: translateY(-0.2vh);
  margin: 0 0.5vh;
  white-space: nowrap;
  /* 添加浮动特效 */
  transition: all 0.3s ease;
}

.FunctionalArea>.edit>.eredit>.list>.entitEdity .entity-header button:hover {
  transform: translateY(-0.4vh) scale(1.02);
}

.FunctionalArea>.edit>.eredit>.list>.entitEdity .entity-header button:active {
  transform: translateY(-0.1vh) scale(0.98);
}

.FunctionalArea>.edit>.eredit>.list>.entitEdity .entity-header .addattr {
  color: #0080FF;
}

.FunctionalArea>.edit>.eredit>.list>.entitEdity .entity-header .remove {
  color: #B70000;
}

/* 三角形图标样式 */
.entitEdity .entity-header span:first-child {
  color: #A7A7A7;
  font-size: 2.3vh;
  margin-left: 0.5vh;
  display: inline-block;
  transition: transform 0.3s ease;
  transform: rotate(-90deg);
  transform-origin: center;
}

/* 展开时三角形旋转 */
.entitEdity .entity-item.open .entity-header span:first-child {
  transform: rotate(0deg);
}

/* 抽屉展开动画 */
.entitEdity .entity-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.entitEdity .entity-item.open .entity-content {
  max-height: 2000px;
}

.entitEdity .entity-content .content-wrapper {
  padding: 1vh;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
  /* 延迟显示内容 */
}

.entitEdity .entity-item.open .entity-content .content-wrapper {
  opacity: 1;
}

.entitEdity .entity-item .entity-content .attr {
  display: flex;
  align-items: center;
  margin-bottom: 1vh;
}

.entitEdity .entity-item .entity-content input {
  flex: 1;
  min-width: 0;
  border: #ccc 1px solid;
  border-radius: 0.5vh;
  padding: 0.8vh;
  margin-right: 1vh;

  font-size: large;
  color: #303030;
}

.entitEdity .entity-item .entity-content .primary {
  color: #FD0;
  font-size: 2.5vh;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-right: 0.6vh;
  transform: translateY(-0.3vh);
  cursor: pointer;
}

.entitEdity .entity-item .entity-content .noprimary {
  color: rgb(99, 99, 99);
  font-size: 2.5vh;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-right: 0.6vh;
  transform: translateY(-0.3vh);
  cursor: pointer;
}

/* 垃圾桶 */
.entitEdity .entity-item .entity-content .icon-empty {
  font-size: 3vh;
  color: #CB494B;
  transform: translateY(-0.1vh);
  /* 添加浮动特效 */
  transition: all 0.3s ease;
}

.entitEdity .entity-item .entity-content .icon-empty:hover {
  transform: translateY(-0.3vh) scale(1.02);
  cursor: pointer;
}

.entitEdity .entity-item .entity-content .icon-empty:active {
  transform: translateY(0) scale(0.98);
}

/* 加号 */
.entitEdity .addentity {
  font-size: 3vh;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.4vh auto;
  width: fit-content;
  color: #A7A7A7;
}