.imChat {
  background: #fff;
  width: 1100Px;
  height: 830Px;
}

#preloadedImages {
  background: linear-gradient(135deg, #f1f4f7 0%, #edf5ff 100%) no-repeat;
  background-size: cover;
  background-image: url('https://web.sdk.qcloud.com/im/assets/images/background-zip.png');
}

.icon {
  display: inline-block;
  width: 20Px;
  height: 20Px;
  margin: 0;
}

.icon-global {
  background: url('./assets/icon/global.png') no-repeat;
  background-size: contain;
}

.icon-arrow-down {
  width: 10Px !important;
  height: 10Px !important;
  background: url('./assets/icon/arrow-down.png') no-repeat;
  background-size: contain;
}

.icon-menu {
  background: url('./assets/icon/menu.png') no-repeat;
  background-size: contain;
}

.icon-message-selected {
  background: url('./assets/icon/message-selected.svg') no-repeat;
  background-size: contain;
}

.icon-message {
  background: url('./assets/icon/message.svg') no-repeat;
  background-size: contain;
}

.icon-message-real {
  background: url('./assets/icon/message-real.svg') no-repeat;
  background-size: contain;
}

.icon-group {
  background: url('https://web.sdk.qcloud.com/component/TUIKit/assets/group_avatar.png') no-repeat;
  background-size: contain;
}

.icon-setting {
  background: url('./assets/icon/setting.png') no-repeat;
  background-size: contain;
}

.icon-relation {
  background: url('./assets/icon/relation.svg') no-repeat;
  background-size: contain;
}

.icon-relation-real {
  background: url('./assets/icon/relation-real.svg') no-repeat;
  background-size: contain;
}

.icon-relation-selected {
  background: url('./assets/icon/relation-selected.svg') no-repeat;
  background-size: contain;
}

.icon-profile {
  background: url('./assets/icon/profile.svg') no-repeat;
  background-size: contain;
}

.icon-profile-real {
  background: url('./assets/icon/profile.svg') no-repeat;
  background-size: contain;
}

.icon-profile-selected {
  background: url('./assets/icon/profile-selected.svg') no-repeat;
  background-size: contain;
}

.icon-adv-arrow {
  width: 24Px;
  height: 24Px;
  background: url('./assets/icon/adv-arrow.svg') no-repeat;
  background-size: contain;
}

.icon-warn {
  width: 65Px;
  height: 65Px;
  background: url('./assets/icon/warn.svg') no-repeat;
  background-size: contain;
}

.home {
  position: relative;

  &-header {
    .menu {
      font-family: PingFangSC-Medium;
      font-weight: 500;
      color: #333333;
      letter-spacing: 0;
    }
  }

  &-menu {
    .logo {
      border-bottom: 1Px solid #eaecf2;

      &-name {
        font-weight: 500;
        color: #000000;
      }

      p {
        font-weight: 500;
        color: #000000;

        &::before {
          background: #dddddd;
        }
      }
    }

    .menu-main {
      &-title {
        font-family: PingFangSC-Medium;
        font-weight: 500;
        color: #000000;
      }

      .menu-main-list {
        &-item {
          font-family: PingFangSC-Regular;
          font-weight: 400;

          label {
            color: #b5b5b5;
          }

          .step {
            background: rgba(81, 94, 136, 0.04);
            border: 1Px solid #d2d6dc;
            color: #93989f;
          }

          a {
            color: #147aff;
          }
        }

        .complete {
          label {
            color: #333333;
          }

          span {
            background: #147aff;
          }
        }
      }
    }

    .menu-footer {
      &-list {
        &-item {
          a {
            span {
              background: #147aff;
              box-shadow: 0 0.19rem 0.25rem 0 rgba(255, 255, 255, 0.7),
                0 0.13rem 0.38rem 0 rgba(20, 122, 255, 0.55);

              text {
                font-family: PingFangSC-Regular;
                font-weight: 400;
                color: #ffffff;
                letter-spacing: 0;
              }
            }

            aside {
              h1 {
                font-family: PingFangSC-Regular;
                color: #000000;
                letter-spacing: 0;
              }
            }
          }
        }
      }
    }
  }

  &-TUIKit {
    background: #ffffff;
    box-shadow: 0 11Px 20Px 0 rgba(0, 0, 0, 0.3);

    .setting {
      background: #e8e8e9;

      &-main {
        .userInfo {
          &-main {
            background: #ffffff;
            box-shadow: 0 1Px 10Px 0 rgba(2, 16, 43, 0.15);
          }

          .TUIProfile {
            background: rgba(0, 0, 0, 0.3);

            main {
              background: #ffffff;
            }
          }
        }

        &-list {
          .selected {
            background: #dddddd;
          }
        }
      }
    }

    &-main {
      .conversation {
        border-right: 1Px solid #f4f5f9;

        .TUI-search {
          border-bottom: 1Px solid #f4f5f9;
        }
      }

      .chat {
        &-default {
          h1 {
            font-family: PingFangSC-Medium;
            font-weight: 500;
            color: #000000;
            letter-spacing: 0;
          }

          p {
            font-family: PingFangSC-Regular;
            font-weight: 400;
            color: #666666;
            letter-spacing: 0;
          }
        }
      }
    }
  }
}

.status {
  background: #cfd7e0;
}

.status text {
  font-family: PingFangSC-Regular;
  font-weight: 400;
  color: #ffffff;
}

.showmore {
  background: #ffffff;
  box-shadow: 0 1Px 10Px 0 rgba(2, 16, 43, 0.15);
}

.show-profile span {
  font-family: PingFangSC-Regular;
  font-weight: 400;
  color: #000000;
  letter-spacing: 0;
}

.show-about span {
  font-family: PingFangSC-Regular;
  font-weight: 400;
  color: #000000;
  letter-spacing: 0;
}

.show-cut {
  border: 1Px solid #e8e8e9;
}

.show-quit span {
  font-family: PingFangSC-Regular;
  font-weight: 400;
  color: #000000;
  letter-spacing: 0;
}

.show-about-box {
  background: #ffffff;

  main {
    header {
      h1 {
        font-family: PingFangSC-Medium;
        font-weight: 500;
        color: #000000;
        letter-spacing: 0;
      }
    }

    .sub {
      font-family: PingFangSC-Regular;
      font-weight: 400;
      color: #999999;
      letter-spacing: 0;
    }
  }

  footer {
    a {
      font-family: PingFangSC-Regular;
      font-weight: 400;
      color: #006eff;
      letter-spacing: 0;
    }

    p {
      font-family: PingFangSC-Regular;
      font-weight: 400;
      color: #999999;
      letter-spacing: 0;
    }
  }
}

.cancellation-box {
  background: #ffffff;

  main {
    font-family: PingFangSC-Regular;
    font-weight: 400;
    color: #000000;
    letter-spacing: 0;

    text {
      color: #006eff;
    }
  }
}

.dialog {
  background: rgba(0, 0, 0, 0.3);

  .title {
    h1 {
      font-family: PingFangSC-Medium;
      font-weight: 500;
      color: #000000;
      letter-spacing: 0;
    }
  }

  .btn {
    background: none;
    font-family: PingFangSC-Regular;
    font-weight: 400;
    letter-spacing: 0;

    &-submit {
      border: 1Px solid #e54545;
      color: #e54545;
    }

    &-default {
      background: #006eff;
      border: 1Px solid #006eff;
      color: #ffffff;
    }
  }
}

.disclaimer-box {
  background: #ffffff;

  main {
    font-family: PingFangSC-Regular;
    font-weight: 400;
    color: #000000;
    letter-spacing: 0;
  }
}

.home-h5 {
  .dialog {
    .btn {
      &-default {
        background: none;
        color: #006eff;
      }
    }
  }
}

// 公共样式
.bottom-line {
  border-bottom: 1Px solid #eaecf2;
}

.btn-text {
  cursor: pointer;
  font-family: PingFangSC-Regular;
  font-weight: 400;
  color: #006eff;
  letter-spacing: 0;
}

#preloadedImages {
  background: linear-gradient(135deg, #f1f4f7 0%, #edf5ff 100%) no-repeat;
  background-size: cover;
  background-image: url('https://web.sdk.qcloud.com/im/assets/images/background-zip.png');
}

.home {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  background-size: contain;

  &-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 10;

    .dropdown {
      display: flex;
      align-items: center;

      label {
        padding: 0 8Px;
      }
    }

    .menu {
      display: flex;
      align-items: center;
      font-size: 14Px;

      label {
        padding: 0 18Px;
      }
    }
  }

  &-menu {
    position: fixed;
    z-index: 11;
    top: 0;
    left: 0;
    width: 300Px;
    height: 100%;
    box-sizing: border-box;
    padding: 30Px;
    padding-top: 0;
    overflow-y: auto;

    .logo {
      display: flex;
      align-items: center;
      padding: 20Px 0;

      img {
        width: 30Px;
        margin-right: 7Px;
      }

      &-name {
        font-size: 16Px;
      }

      p {
        position: relative;
        padding-left: 40Px;
        font-size: 14Px;

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

        label {
          padding: 0 3Px;
        }
      }

      .txc-logo {
        width: 80Px;
      }

      .im-logo {
        width: 30Px;
      }
    }

    .menu-main {
      flex: 1;

      &-title {
        padding: 20Px 0;
        font-size: 16Px;
      }

      .menu-main-list {
        padding-bottom: 14Px;

        &-item {
          display: flex;
          align-items: center;
          padding-bottom: 16Px;
          font-size: 14Px;

          .step {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 20Px;
            height: 20Px;
            border-radius: 50%;
            font-size: 11.67Px;
          }

          a {
            margin: 0 12Px;
            font-size: 14Px;
            line-height: 22Px;
          }
        }
      }
    }

    .menu-footer {
      &-list {
        &-item {
          min-height: 72Px;
          background-size: cover;
          border: 1Px solid #96c3ff;
          border-radius: 4Px;
          padding-bottom: 15Px;
          display: flex;
          background: url('./assets/image/h5/adv-more.svg') no-repeat;
          background-size: contain;

          &:last-child {
            background: url('./assets/image/h5/adv-im.svg') no-repeat;
            background-size: contain;
            margin: 0;
          }

          a {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-radius: 4Px;
            font-size: 14Px;
            box-sizing: border-box;
            background-size: cover;

            span {
              padding: 1Px 7Px;
              border-radius: 0.88rem;
              display: flex;
              align-items: center;
              justify-content: center;
              margin-right: 10Px;

              text {
                font-size: 0.75rem;
              }
            }

            aside {
              margin-left: 10Px;

              h1 {
                font-size: 14Px;
              }

              .sub {
                align-self: flex-end;
              }
            }
          }
        }
      }
    }
  }

  &-main {
    flex: 1;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;

    &-box {
      flex: 1;
      box-sizing: border-box;
      height: 100%;
      min-width: 968Px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }

  &-TUIKit {
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    min-height: 640Px;
    flex: 1;
    border-radius: 12Px;
    display: flex;

    .setting {
      box-sizing: border-box;
      width: 60Px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      padding: 56Px 0 17Px;
      border-top-left-radius: 12Px;
      border-bottom-left-radius: 12Px;

      &-main {
        position: relative;
        display: flex;
        flex-direction: column;

        .userInfo {
          position: relative;
          padding: 0 12Px;

          .avatar {
            width: 36Px;
            height: 36Px;
            border-radius: 5Px;
          }

          &:hover {
            .userInfo-main {
              display: block;
            }
          }

          &-main {
            display: none;
            min-width: 165Px;
            max-width: 200Px;
            position: absolute;
            top: 0;
            left: 99.9%;
            z-index: 5;
            padding: 14Px 20Px;
            border-radius: 0 4Px 4Px 0;
          }

          .TUIProfile {
            position: fixed;
            width: 100vw;
            height: 100vh;
            max-width: none !important;
            top: 0;
            left: 0;
            z-index: 10;
            display: flex !important;
            justify-content: center;
            align-items: center;

            main {
              width: 550Px;
              border-radius: 10Px;
              padding: 20Px;
            }
          }
        }

        &-list {
          padding: 13Px 0;

          &-item {
            padding: 13Px 0;
            text-align: center;
            line-height: 100%;

            .icon {
              width: 24Px;
              height: 24Px;
            }
          }
        }
      }

      &-footer {
        position: relative;
      }
    }

    &-main {
      flex: 1;
      display: flex;

      .conversation {
        min-width: 285Px;
        flex: 0 0 24%;
        display: flex;
        flex-direction: column;

        .TUI-search {
          padding: 12Px;
        }
      }

      .chat {
        flex: 1;
        height: 100%;
        position: relative;

        &-default {
          width: 100%;
          height: 100%;
          box-sizing: border-box;
          padding-left: 40Px;
          padding-top: 40Px;
          display: flex;
          flex-direction: column;
          background: url('./assets/image/login-background.png') no-repeat;
          background-size: cover;
          background-position-x: -17Px;
          background-position-y: 173Px;

          h1 {
            font-size: 1.75rem;
            display: flex;
            align-items: center;

            img {
              width: 2.5rem;
              height: 1.63rem;
              padding-left: 0.98rem;
              padding-right: 0.98rem;
            }
          }

          p {
            padding-top: 1.88rem;
            max-width: 393Px;
            font-size: 16Px;
            line-height: 24Px;
          }

          .logo-mask {
            display: flex;
            justify-content: flex-end;

            .logo {
              width: 50%;
              opacity: 0.1;
            }
          }
        }

        .home-TUIKit-chat {
          position: absolute;
        }
      }
    }
  }
}

.icon-choosed {
  width: 24Px;
  height: 24Px;
}

.status {
  border-radius: 2Px;
}

.status text {
  font-size: 14Px;
  text-align: right;
  padding: 0 5Px;
}

.setting-more {
  position: relative;
}

.showmore {
  min-width: 11.25rem;
  border-radius: 0 4Px 4Px 0;
  position: absolute;
  bottom: 10Px;
  left: 202%;
  z-index: 2;
  white-space: nowrap;
}

.setting-more-li {
  position: relative;
}

.setting-more-item {
  height: 40Px;
  padding-left: 14Px;
  padding-right: 8Px;
  display: flex;
  line-height: 40Px;
  text-align: center;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;

  span {
    display: inline-block;
    font-size: 14Px;
  }

  &-next {
    position: absolute;
    left: 100%;
    top: 0;
    width: 11.25rem;
    height: 80Px;
    border-radius: 0 4Px 4Px 0;
    bottom: 10Px;
    z-index: 2;
    background: #ffffff;
    box-shadow: 2Px 1Px 6Px 0Px rgba(2, 16, 43, 0.15);
  }
}

.setting-more-item:hover {
  background-color: rgba(0, 110, 255, 0.1);
}

.show-profile:hover,
.show-about:hover,
.show-receipt:hover,
.show-online-status:hover,
.show-quit:hover {
  background-color: rgba(0, 110, 255, 0.1);
}

.show-profile {
  height: 40Px;
  padding-left: 14Px;
  display: flex;
  line-height: 40Px;
  text-align: center;
  align-items: center;
}

.show-profile span {
  cursor: pointer;
  display: inline-block;
  font-size: 14Px;
}

.show-about,
.show-receipt,
.show-online-status {
  cursor: pointer;
  height: 40Px;
  padding-left: 14Px;
  padding-right: 8Px;
  line-height: 40Px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.show-about span,
.show-receipt span,
.show-online-status span {
  height: 24Px;
  font-size: 14Px;
  line-height: 24Px;
}

.receipt-select {
  position: absolute;
  left: 100%;
  top: 0;
  width: 11.25rem;
  height: 80Px;
  border-radius: 0 4Px 4Px 0;
  bottom: 10Px;
  z-index: 2;
  background: #ffffff;
  box-shadow: 2Px 1Px 6Px 0Px rgba(2, 16, 43, 0.15);
}

.online-status-select {
  position: absolute;
  left: 100%;
  top: 40Px;
  width: 11.25rem;
  height: 80Px;
  border-radius: 0 4Px 4Px 0;
  bottom: 10Px;
  z-index: 2;
  background: #ffffff;
  box-shadow: 2Px 1Px 6Px 0Px rgba(2, 16, 43, 0.15);
}

.show-cut-box {
  display: flex;
  padding-left: 14Px;
}

.show-cut {
  width: calc(100% - 10Px);
  border: none;
  border-bottom: 1Px solid #e8e8e9;
}

.show-quit {
  height: 40Px;
  padding-left: 14Px;
  display: flex;
}

.show-quit span {
  cursor: pointer;
  display: inline-block;
  padding-top: 6Px;
  height: 24Px;
  font-size: 14Px;
  line-height: 24Px;
}

.show-about-box {
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100Px 180Px;
  padding-bottom: 0;

  main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 126Px;

    header {
      display: flex;
      align-items: center;
      padding-bottom: 28Px;

      img {
        width: 110Px;
      }

      h1 {
        font-size: 40Px;
      }
    }
  }

  footer {
    display: flex;

    .list {
      display: flex;
      flex-direction: column;

      .line {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 10Px;

        a {
          position: relative;
          font-size: 16Px;
          padding: 0 10Px;

          &::after {
            content: '';
            position: absolute;
            width: 2Px;
            height: 80%;
            background: #eeeeee;
            right: 0;
            top: 0;
            bottom: 0;
            margin: auto 0;
          }

          &:last-child:after {
            display: none;
          }
        }

        p {
          font-size: 14Px;
          padding: 25Px 0;
        }
      }
    }
  }
}

.cancellation-box {
  display: flex;
  flex-direction: column;
  padding: 55Px 42Px;
  max-width: 566Px;
  border-radius: 8Px;

  main {
    display: flex;
    flex-direction: column;
    align-items: center;

    .icon {
      width: 65Px;
      height: 65Px;
    }

    span {
      padding-top: 16Px;
      font-family: PingFangSC-Regular;
      font-weight: 400;
      font-size: 16Px;
      color: #444444;
      letter-spacing: 0;
      text-align: center;
      line-height: 25Px;
    }
  }

  footer {
    box-sizing: border-box;
    width: 100%;
    padding: 46Px 23Px 0;
    display: flex;
  }
}

.dialog {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;

  .btn {
    flex: 1;
    border-radius: 5Px;
    margin-top: 14Px;
    padding: 13Px 0;
    margin-right: 20Px;

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

.disclaimer-box {
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;

  main {
    width: 33rem;
    font-size: 1rem;
    padding: 3.5rem 4rem 3.5rem;

    header {
      font-size: 1.5rem;
      line-height: 1.5rem;
      padding: 4rem 0 1rem;
    }
  }

  footer {
    box-sizing: border-box;
    width: 100%;
    padding: 46Px 23Px;
    display: flex;
  }
}

// 公共样式
.flex-justify-between {
  justify-content: space-between;
}

.moreMask {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  right: 0;
  z-index: 1;
}

.btn-text {
  cursor: pointer;
  font-size: 18Px;
  line-height: 27Px;
}

.language-intl {
  color: inherit;
}

// /deep/ .n-tabs .n-tabs-bar {
//   height: 4Px;
//   border-radius: 3px;
// }

// /deep/ .n-tabs.n-tabs--top .n-tab-pane {
//   padding: 10Px 0 0;
// }

.closeModal {
  position: absolute;
  right: 21Px;
  top: 14Px;
  content: ' ';
  width: 20Px;
  height: 20Px;
  background: url('./assets/icon-close.png') no-repeat center;
  background-size: contain;
  z-index: 99;
  cursor: pointer;
}