#app {
  width: 100%;
  height: 100%;

  .kg-list {
    li {
      display: flex;

      .index {
        flex: 0 0 50px;
      }

      .name {
        flex: 0 0 100px;
      }

      .op {
        flex: 0 0 50px;
      }
    }
  }

  .top-op {
    padding: 10px 20px 0px;
  }

  .graph-card {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    .knowledgeCard {
      margin: 20px;
      width: 300px;
      height: 200px;
      text-align: center;
      line-height: 200px;
      background-color: #f9f9f9;
      border: 1px solid #ccc;
      border-radius: 5px;
      padding: 10px;
      position: relative;

      &:hover {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      }
    }
  }

  .back {
    position: absolute;
    top: 10px;
    left: 130px;
    z-index: 1000;
    color: #40a1ff;
    background-color: #eef6ff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;

    &:hover {
      background-color: #40a1ff;
      color: #fff;
    }

  }

  .selection {
    width: 1em;
    height: 1em;
    // padding: ;
    border: 1px solid #DCDFE6;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    line-height: 1em;


    &:is(.selected) {
      background-color: #409EFF;
      border-color: #409EFF;
    }

    position: absolute;
    top: 5px;
    right: 5px;
  }
}