.metadata-from-item-wrap {
  .metadata-title {
    display: flex;
    gap: 4px;
    padding: 0;
    li {
      width: calc(50% - 20px);
      font-size: 13px;
      list-style: none;
      .anticon {
        margin-left: 4px;
        font-size: 14px;
      }
      & > span {
        color: rgba(0, 0, 0, 0.65);
        &:first-child {
          padding-right: 2px;
          color: #ff1a2e;
        }
      }
    }
  }
  .metadata-list {
    max-height: 442px;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .metadata-item {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    .ant-form-item {
      width: calc(50% - 20px);
      margin-bottom: 0;
    }
    .ant-btn-text {
      color: #ff1a2e;
      &:hover,
      &:focus {
        background: none;
      }
    }
    .ant-btn-icon-only > * {
      font-size: 20px;
    }
  }
  .metadata-add-btn {
    width: calc(100% - 36px);
  }
  &.taints-wrap {
    .metadata-title {
      li {
        width: calc(33.33% - 12px);
      }
    }
    .metadata-item {
      .ant-form-item {
        width: calc(33.33% - 12px);
      }
    }
  }
}

.metadata-check-tips-popover {
  &.ant-popover {
    max-width: 500px;
    .ant-popover-inner-content {
      h5 {
        color: rgba(0, 0, 0, 0.85);
        font-weight: 400;
        font-size: 13px;
      }
      p {
        display: flex;
        align-items: flex-start;
        margin: 4px 0;
        color: rgba(0, 0, 0, 0.3);
        line-height: 160%;
        & > span:first-child {
          padding-right: 4px;
          font-size: 16px;
        }
        &.pass {
          color: rgba(0, 0, 0, 0.65);
        }
        &.error {
          color: #ff1a2e;
        }
        &.title {
          margin: 12px 0 8px 0;
          color: rgba(0, 0, 0, 0.65);
        }
      }
    }
  }
}

ul.metadata-tips-popover-content {
  max-width: 400px;
  margin: 0;
  padding: 0 0 0 16px;
  li {
    margin: 0;
    padding: 0;
    color: rgba(0, 0, 0, 0.65);
    line-height: 150%;
  }
}
