.TUI-contact {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  padding: 12Px 0;

  &-left {
    position: relative;
    flex: 1;
    min-width: 285Px;
    flex: 0 0 24%;
    overflow-y: auto;

    &-header {
      position: sticky;
      top: 0;
      z-index: 1;
      padding: 0 12Px 12Px;
      display: flex;
      justify-content: space-between;
      align-items: center;

      input {
        flex: 1;
        margin-right: 20Px;
      }
    }
  }

  &-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;

    &-item {
      .num {
        width: 14Px;
        height: 14Px;
        border-radius: 100%;
        font-size: 12Px;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      header {
        display: flex;
        align-items: center;
        padding: 10Px 15Px;

        main {
          flex: 1;
          padding-left: 6Px;
          display: flex;
          justify-content: space-between;
          font-size: 14Px;
          line-height: 14Px;
        }
      }
    }
  }

  &-main {
    flex: 1;
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;

    &-info {
      flex: 1;
      padding: 2rem 3rem;
      display: flex;
      flex-direction: column;

      &-header {
        display: flex;
        justify-content: space-between;
        padding-bottom: 15Px;

        .list {
          h1 {
            font-size: 24Px;
            padding-bottom: 10Px;
          }

          li {
            font-size: 16Px;
            padding: 6Px 0;
          }
        }

        .avatar {
          width: 5rem;
          height: 5rem;
        }
      }

      &-main {
        padding-top: 1.25rem;
        display: flex;
        flex-direction: column;

        label {
          font-size: 0.88rem;
          line-height: 1.25rem;
          padding-bottom: 0.63rem;
        }

        textarea {
          resize: none;
          width: 100%;
          box-sizing: border-box;
          height: 5rem;
          padding: 0.69rem 0.88rem;
          font-size: 0.88rem;
          line-height: 1.25rem;
        }
      }

      &-footer {
        padding-top: 1.25rem;
        display: flex;
        justify-content: center;

        .btn {
          margin: 0 20Px;

          &:first-child {
            margin-left: 0;
          }

          &:last-child {
            margin-right: 0;
          }
        }
      }
    }

    &-created {
      li {
        display: flex;
        align-items: center;

        input {
          margin-right: 20Px;
        }
      }
    }
  }

  &-system {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: absolute;
    overflow-y: auto;

    &-header {
      padding: 20Px;
      display: flex;
      justify-content: space-between;
      align-items: center;

      h1 {
        font-size: 16Px;
        line-height: 24Px;
      }
    }
  }
}

.TUI-contact-list {
  flex: 1;
  width: 100%;
  list-style: none;

  &-item {
    padding: 12Px 15Px;
    position: relative;
    display: flex;
    align-items: center;

    label {
      font-size: 14Px;
    }

    &:hover {
      .icon-close {
        display: inline-block;
      }
    }

    .left {
      position: relative;
      width: 36Px;
      height: 36Px;

      .num {
        position: absolute;
        display: inline-block;
        right: -8Px;
        top: -8Px;
        width: 20Px;
        height: 20Px;
        font-size: 10Px;
        text-align: center;
        line-height: 20Px;
        border-radius: 50%;
      }

      .avatar {
        width: 100%;
        border-radius: 5Px;
      }

      .online-status {
        box-sizing: border-box;
        position: absolute;
        width: 11Px;
        height: 11Px;
        // left: 24Px;
        // top: 22Px;
        right: 0px;
        bottom: 3px;
        border: 2Px solid #ffffff;
        box-shadow: 0Px 0Px 4Px rgba(0, 0, 0, 0.102606);
        border-radius: 50%;

        &-online {
          background: #29cc85;
        }

        &-offline {
          background: #a4a4a4;
        }
      }
    }

    .content {
      flex: 1;
      padding-left: 8Px;
      display: flex;
      justify-content: space-between;
      align-items: center;

      ul {
        flex: 1;
        display: flex;
        flex-direction: column;

        li {
          flex: 1;
          display: flex;
          align-items: center;
          font-size: 14Px;
          line-height: 16Px;

          span {
            flex: 1;
            width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }
        }

        .name {
          padding-bottom: 2Px;
        }
      }

      .type {
        padding: 0 4Px;
        line-height: 14Px;
        font-size: 12Px;
        border-radius: 1Px;
      }
    }
  }

  .not-aside {
    padding-left: 40Px;
    display: flex;
    justify-content: space-between;
  }
}

.reduce {
  position: relative;
  display: inline-block;
  width: 36Px;
  height: 36Px;

  &::before {
    position: absolute;
    content: '';
    width: 50%;
    height: 1Px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }
}

.center {
  display: flex;
  justify-content: center;
}

.btn {
  padding: 8Px 20Px;
  border-radius: 4Px;
  border: none;
  font-size: 14Px;
  text-align: center;
  line-height: 20Px;
}

input {
  box-sizing: border-box;
  border-radius: 5Px;
  padding: 10Px;
}

.search {
  flex: 1;
  display: flex;

  &-box {
    flex: 1;
    display: flex;
    align-items: center;

    h1 {
      padding: 2Px 8Px;
      font-size: 14Px;
    }

    .input-box {
      display: flex;
      position: relative;
      flex: 1;

      input {
        flex: 1;
        margin-right: 0;
      }

      .icon {
        position: absolute;
        right: 10Px;
        top: 0;
        bottom: 0;
        margin: auto 0;
      }
    }

    .search-cancel {
      padding-left: 10Px;
      font-size: 12Px;
      line-height: 18Px;
    }
  }
}