@import "./basicTitle.less";

.btn-warning {
  color: white;
  background-color: #F2B776;
  border-color: #F2B776;
}

.btn-success {
  color: white;
  background-color: #6FC080;
  border-color: #6FC080;
  margin-right: 3px;
}

.modalTitle {
  text-align: center;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  margin: 0 auto;
  justify-items: center;
  align-items: center;
  width: 300px;
  padding: 10px;

  div {
    span {
      color: red;
    }
  }
}

.modalContent {
  display: grid;
  grid-template-columns: 3fr 3fr 3fr 2fr;
  column-gap: 10px;
  height: 60vh;

  .one {
    border: 1px solid #e4e4e4;
    overflow-y: auto;

    .options {
      display: flex;
      justify-content: space-between;
      margin: 16px 0;

      .search {
        flex: 1;
        color: #fff;
        background: #6164C1;
        border-radius: 5px;
        margin-right: 10px;
      }

      .clear {
        flex: 1;
        color: #fff;
        background: rgb(163, 47, 47);
        border-radius: 5px;
      }
    }

    .search_option {
      margin-bottom: 6px;
    }

    .result {
      margin-top: 20px;

      .search {
        border: 1px solid #e4e4e4;
        height: auto;
        min-height: ~'calc(60vh - 185px)';
        overflow-y: auto;
        cursor: pointer;

        .search_no_result {
          height: 100%;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 20px;
          color: #c3c3c3;
        }
      }
    }

    .college_name {
      height: 30px;
      line-height: 30px;
      padding-left: 20px;
      cursor: pointer;
    }

    .search_result {
      > div {
        height: 32px;
        padding: 0 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 900;

        & span:last-child {
          background-color: #6164C1;
          padding: 0 5px;
          color: #fff;
          border-radius: 20px;
          font-weight: 100;
        }
      }

      .selectSg {
        width: 96%;
        height: 30px;
        margin: 10px auto;
        line-height: 30px;
        padding-left: 10px;
        background-color: rgb(202, 198, 46);
        color: #fff;
      }
    }

    .search_result_list {
      height: 32px;
      padding: 0 16px;
      line-height: 32px;
      font-weight: 900;

      .dormCode {
        margin-left: 24px;
      }

      & span:last-child {
        background-color: #6164C1;
        padding: 0 5px;
        color: #fff;
        border-radius: 20px;

      }
    }

    .one_title {
      height: 30px;
      line-height: 30px;
      background-color: #F5F7FA;
      padding-left: 10px;
      border-bottom: 1px solid #e4e4e4;
    }

    .list_content {
      height: 56vh;
      overflow-y: auto;
      cursor: pointer;
    }

    .no_result {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      color: #c3c3c3;
      // height: calc(60vh - 32px);
      height: 56vh;
    }

  }
}

.distribution {
  :global {
    .ant-btn-round {
      border-radius: 0;
      border: none;
      background-color: grey;
      color: #fff;
    }

    .ant-btn-primary {
      background-color: skyblue !important;
    }
  }
}

@color1: #d43d52;
@color2: #2196F3;

.man {
  color: @color2;
}

.woman {
  color: @color1;
}

.treeDiv {
  :global {
    .ant-tree-node-content-wrapper {
      width: 85%;
    }
  }
}

.bgPurple {
  background-color: #6164C1;
  padding: 0 5px;
  color: #fff;
  border-radius: 20px;
  font-weight: 100;
}

.oneSelectedInfo {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
