.kcmp-ant-tooltip {
  .kcmp-ant-tooltip-content {
    position: relative;
    right: 8px;
  }
}

.TokenUpdateModal {
  .kcmp-ant-modal-content {
    background: linear-gradient(180deg, #e8f1fc 0%, #ffffff 100%) !important;

    .kcmp-ant-modal-body {
      background-image: url('../../../public/images/tokenUpdateModalbg.png') !important;
      background-size: 320px 180px !important;
      background-repeat: no-repeat !important;
      background-position: right top !important;

      .content {
        height: 300px;

        .title {
          font-weight: 500;
          font-size: 16px;
          color: #17181a;
          margin-bottom: 14px;
        }

        .form {
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;

          .avatar {
            position: relative;
            width: 64px;
            height: 64px;
            margin-bottom: 8px;

            .avatarImg {
              width: 100%;
              height: 100%;
            }

            .suoding {
              position: absolute;
              bottom: 0;
              right: 0;
              width: 24px;
              height: 24px;
            }
          }

          .name {
            font-weight: 400;
            font-size: 20px;
            height: 20px;
            line-height: 20px;
            color: #17181a;
            margin-bottom: 24px;
          }

          .input {
            width: 240px;
            height: 32px;
            background: #ffffff;
            border-radius: 4px;
            margin-bottom: 24px;
          }

          .updateBtn {
            cursor: pointer;
            width: 240px;
            height: 32px;
            line-height: 32px;
            background: #3377ff;
            border-radius: 4px;
            text-align: center;
            font-weight: 400;
            font-size: 14px;
            color: #ffffff;
            margin-bottom: 16px;
          }
        }
      }
    }
  }
}

.userPannel {
  width: 100px;
  background-color: white;

  .userPannelTab {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 30px;
    font-size: 14px;
    font-family: SourceHanSansCN-Normal, SourceHanSansCN;
    font-weight: 400;
    color: #17181a;
    cursor: pointer;
    padding-left: 12px;
    border-radius: 2px;

    & > span {
      &:last-child {
        margin-left: 8px;
      }
    }

    &:hover {
      background-color: #f5f7fa;
    }

    &:last-child {
      border-bottom: none;
    }
  }
}

.kcmp-ant-tooltip {
  padding-top: 0 !important;

  .kcmp-ant-tooltip-content {
    .kcmp-ant-tooltip-arrow {
      display: none;
    }

    .kcmp-ant-tooltip-inner {
      border-radius: 4px;
    }
  }
}

.topBar {
  position: relative;
  z-index: 999;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-width: 1280px;
  height: 48px;
  padding-left: 16px;
  background: #3377ff;

  * {
    line-height: normal;
  }

  .logoWrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 400px;

    .logo {
      // width: 120px;
      height: 40px;
    }

    .systemTitle {
      cursor: pointer;
      font-size: 16px;
      font-family: SourceHanSansCN-Medium, SourceHanSansCN;
      font-weight: 500;
      color: #ffffff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .menu {
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 32px;
      height: 32px;
      border-radius: 4px;
      margin-right: 8px;
      transition: all 0.3s ease-in;
      background: rgba(254, 255, 255, 0);

      & > img {
        width: 16px;
        height: 16px;
      }

      &.active {
        background: rgba(254, 255, 255, 0.1);
      }

      &:hover {
        background: rgba(254, 255, 255, 0.1);
      }
    }

    & > span {
      font-size: 14px;
      font-family: SourceHanSansCN-Medium, SourceHanSansCN;
      font-weight: 500;
      color: #ffffff;
    }
  }

  .userRelaInfoWrap {
    display: flex;
    width: 55%;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;

    .tabWrap {
      display: flex;
      width: 60%;
      flex-direction: row;
      justify-content: flex-end;
      align-items: center;
      margin-right: 8px;

      .tab {
        display: flex;
        max-width: 180px;
        height: 32px;
        line-height: 32px;
        text-align: center;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 2%;
        border-radius: 4px;
        opacity: 0.8;
        margin-right: 1%;
        cursor: pointer;
        box-sizing: border-box;

        .tabText {
          width: 100%;
          font-size: 14px;
          font-family: SourceHanSansCN-Medium, SourceHanSansCN;
          font-weight: 500;
          color: #ffffff;
          white-space: nowrap;
          overflow-x: hidden;
          text-overflow: ellipsis;
        }

        .closeIconWrap {
          display: none;
          justify-content: center;
          align-items: center;
          padding: 0px 9px;

          img {
            width: 8px;
            height: 8px;
          }
        }

        &:hover {
          background: #5387ee;
        }

        &.on {
          opacity: 1;
          background: #1963fa;
        }

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

    .tabMore {
      position: relative;
      z-index: 999;
      cursor: pointer;
      width: 32px;
      height: 32px;
      border-radius: 4px;
      margin-right: 8px;

      .morePannel {
        position: absolute;
        z-index: 999;
        top: 40px;
        width: 130px;
        background: #f5f7fa;
        box-shadow: 0px 10px 20px 0px rgba(31, 71, 153, 0.2);
        border-radius: 0px 0px 8px 8px;
        opacity: 0.98;
        padding: 8px;

        .moreItem {
          display: flex;
          justify-content: flex-start;
          align-items: center;
          height: 32px;
          background: #ffffff;
          border-radius: 4px;
          padding: 8px;

          span {
            font-size: 12px;
            font-family: SourceHanSansCN-Normal, SourceHanSansCN;
            font-weight: 400;
            color: #17181a;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
          }

          &:hover {
            background: #3376fe;

            span {
              color: #ffffff;
            }
          }
        }
      }

      &::after {
        position: relative;
        // top: 3px;
        // left: 6px;
        display: inline-block;
        content: '';
        width: 32px;
        height: 32px;
        background: url('../../../public/images/threePoint_white_more.png');
        background-size: 24px 24px;
        background-position: center center;
        background-repeat: no-repeat;
      }

      &.active {
        background: rgba(249, 248, 248, 0.1);
      }
    }

    .notification {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      margin-right: 8px;
      cursor: pointer;
      width: 32px;
      height: 32px;
      border-radius: 4px;

      .notificationIcon {
        width: 16px;
        height: 16px;
      }

      &:hover {
        background: rgba(249, 248, 248, 0.1);
      }
    }

    .group {
      position: relative;

      .group-switcher {
        display: flex;
        cursor: pointer;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
        border-radius: 4px;
        margin-right: 8px;

        & > img {
          width: 24px;
          height: 24px;
        }

        &:hover {
          background: rgba(249, 248, 248, 0.1);
        }
      }

      .group-list-wrapper {
        position: absolute;
        padding: 4px;
        top: 40px;
        background: #ffffff;
        border-radius: 4px;
        box-shadow: 0px 8px 16px 0px rgba(64, 85, 128, 0.1);
        .group-list {
          width: 152px;
          height: 32px;
          text-align: left;
          border-radius: 2px;
          font-weight: 400;
          font-size: 14px;
          color: #17181a;
          line-height: 32px;
          padding-left: 8px;
          cursor: pointer;
          &.actived {
            font-weight: bold;
            color: #17181a;
            background: rgba(51, 119, 255, 0.08);
          }
          &:hover {
            font-weight: bold;
            color: #17181a;
            background: rgba(51, 119, 255, 0.08);
          }
        }
      }
    }

    .user {
      cursor: pointer;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      //margin-left: 16px;
      height: 48px;
      padding-right: 16px;
      padding-left: 8px;
      background: linear-gradient(90deg, #66a6ff 0%, #3366ff 100%);
      border-radius: 24px 0px 0px 24px;

      .avator {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
        margin-right: 8px;
        border-radius: 50%;
        background: #ffffff;
        overflow: hidden;
        border: 1px solid #ffffff;

        img {
          width: 32px;
          height: 32px;
        }
      }

      .info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        .hospName {
          height: 13px;
          line-height: 13px;
          font-size: 12px;
          font-family: SourceHanSansCN-Normal, SourceHanSansCN;
          font-weight: 400;
          color: #ffffff;
          margin-bottom: 7px;
          opacity: 0.9;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }

        .name {
          height: 13px;
          line-height: 13px;
          font-size: 12px;
          font-family: SourceHanSansCN-Medium, SourceHanSansCN;
          font-weight: 500;
          color: #ffffff;
        }
      }

      .arrow {
        width: 11px;
        height: 7px;
        transition: all 0.3s ease-in;

        &.on {
          transform: rotate(180deg);
        }
      }
    }
  }

  .panel {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    position: absolute;
    top: 48px;
    left: 170px;
    min-height: 140px;
    width: 980px;
    background: #f5f7fa;
    box-shadow: 0px 10px 20px 0px rgba(31, 71, 153, 0.2);
    border-radius: 0px 0px 8px 8px;
    opacity: 0.98;
    overflow: hidden;

    .left {
      width: 140px;
      padding-top: 16px;
      padding-bottom: 16px;
      background-color: #ffffff;

      .typeBlock {
        display: flex;
        cursor: pointer;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 108px;
        height: 108px;
        margin: 0 auto;
        border-radius: 4px;

        .typeBlockIcon {
          width: 40px;
          height: 40px;
          margin-bottom: 8px;
        }

        & > span {
          font-size: 12px;
          font-family: SourceHanSansCN-Normal, SourceHanSansCN;
          font-weight: 400;
          color: #515866;
        }

        .typeBlockIcon1 {
          background: url('../../../public/images/jingyiyiliao_gray.png');
          background-size: contain;
        }

        .typeBlockIcon2 {
          background: url('../../../public/images/HBI_gray.png');
          background-size: contain;
        }

        .typeBlockIcon3 {
          background: url('../../../public/images/zhongtaiguanli_gray.png');
          background-size: contain;
        }

        .typeBlockIcon4 {
          background: url('../../../public/images/guanlizhongxin_gray.png');
          background-size: contain;
        }

        .typeBlockIcon5 {
          background: url('../../../public/images/feiyi_gray.png');
          background-size: contain;
        }
        .typeBlockIcon6 {
          background: url('../../../public/images/pcbankuaiguanli_gray.png');
          background-size: contain;
        }
        .typeBlockIcon7 {
          background: url('../../../public/images/appbankuaiguanli_gray.png');
          background-size: contain;
        }

        &.active {
          background: #f2f7ff;

          .typeBlockIcon1 {
            background: url('../../../public/images/jingyiyiliao.png');
            background-size: contain;
          }

          .typeBlockIcon2 {
            background: url('../../../public/images/HBI.png');
            background-size: contain;
          }

          .typeBlockIcon3 {
            background: url('../../../public/images/zhongtaiguanli.png');
            background-size: contain;
          }

          .typeBlockIcon4 {
            background: url('../../../public/images/guanlizhongxin.png');
            background-size: contain;
          }

          .typeBlockIcon5 {
            background: url('../../../public/images/feiyi.png');
            background-size: contain;
          }
          .typeBlockIcon6 {
            background: url('../../../public/images/pcbankuaiguanli.png');
            background-size: contain;
          }
          .typeBlockIcon7 {
            background: url('../../../public/images/appbankuaiguanli.png');
            background-size: contain;
          }

          & > span {
            color: #3376fe;
          }
        }

        &:hover {
          // background: #F5F7FA;
          .typeBlockIcon1 {
            background: url('../../../public/images/jingyiyiliao.png');
            background-size: contain;
          }

          .typeBlockIcon2 {
            background: url('../../../public/images/HBI.png');
            background-size: contain;
          }

          .typeBlockIcon3 {
            background: url('../../../public/images/zhongtaiguanli.png');
            background-size: contain;
          }

          .typeBlockIcon4 {
            background: url('../../../public/images/guanlizhongxin.png');
            background-size: contain;
          }

          .typeBlockIcon5 {
            background: url('../../../public/images/feiyi.png');
            background-size: contain;
          }
          .typeBlockIcon6 {
            background: url('../../../public/images/pcbankuaiguanli.png');
            background-size: contain;
          }
          .typeBlockIcon7 {
            background: url('../../../public/images/appbankuaiguanli.png');
            background-size: contain;
          }

          & > span {
            color: #3376fe;
          }
        }

        // &:nth-child(2) {

        //   .typeBlockIcon2 {
        //     background: url('../../../public/images/HBI_gray.png');
        //     background-size: contain;
        //   }

        //   &.active {
        //     background: #F2F7FF;

        //     .typeBlockIcon2 {
        //       background: url('../../../public/images/HBI.png');
        //       background-size: contain;
        //     }

        //     &>span {
        //       color: #3376FE;
        //     }
        //   }

        //   &:hover {
        //     .typeBlockIcon2 {
        //       background: url('../../../public/images/HBI.png');
        //       background-size: contain;
        //     }

        //     &>span {
        //       color: #3376FE;
        //     }
        //   }
        // }

        // &:nth-child(3) {

        //   .typeBlockIcon3 {
        //     background: url('../../../public/images/zhongtaiguanli_gray.png');
        //     background-size: contain;
        //   }

        //   &.active {
        //     background: #F2F7FF;

        //     .typeBlockIcon3 {
        //       background: url('../../../public/images/zhongtaiguanli.png');
        //       background-size: contain;
        //     }

        //     &>span {
        //       color: #3376FE;
        //     }
        //   }

        //   &:hover {
        //     .typeBlockIcon3 {
        //       background: url('../../../public/images/zhongtaiguanli.png');
        //       background-size: contain;
        //     }

        //     &>span {
        //       color: #3376FE;
        //     }
        //   }
        // }

        // &:nth-child(4) {

        //   .typeBlockIcon4 {
        //     background: url('../../../public/images/guanlizhongxin_gray.png');
        //     background-size: contain;
        //   }

        //   &.active {
        //     background: #F2F7FF;

        //     .typeBlockIcon4 {
        //       background: url('../../../public/images/guanlizhongxin.png');
        //       background-size: contain;
        //     }

        //     &>span {
        //       color: #3376FE;
        //     }
        //   }

        //   &:hover {
        //     .typeBlockIcon4 {
        //       background: url('../../../public/images/guanlizhongxin.png');
        //       background-size: contain;
        //     }

        //     &>span {
        //       color: #3376FE;
        //     }
        //   }
        // }
      }
    }

    .right {
      position: relative;
      width: calc(100% - 140px);
      height: 100%;
      max-height: 572px;
      padding: 2% 2.5%;
      overflow: scroll;

      .panelCloseBtn {
        position: absolute;
        width: 12px;
        height: 12px;
        cursor: pointer;
        top: 16px;
        right: 16px;
        background: url('../../../public/images/close.png');
        background-size: contain;
      }

      .row {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        margin-bottom: 16px;

        .channelIcon {
          width: 24px;
          height: 24px;
          margin-right: 17px;
        }

        .rowDetail {
          width: 100%;

          .channelName {
            display: inline-block;
            font-size: 14px;
            font-family: SourceHanSansCN-Normal, SourceHanSansCN;
            font-weight: 400;
            color: #7a8599;
            margin-bottom: 8px;
            cursor: pointer;
            transition: all 0.3s ease-in;

            &:hover {
              color: #3376fe;
            }
          }

          .channelList {
            display: flex;
            width: 100%;
            min-height: 30px;
            flex-direction: row;
            flex-wrap: wrap;
            align-items: center;

            .systemTab {
              width: 180px;
              height: 32px;
              line-height: 32px;
              background: #ffffff;
              border-radius: 4px;
              font-size: 12px;
              font-family: SourceHanSansCN-Normal, SourceHanSansCN;
              font-weight: 400;
              color: #17181a;
              padding-left: 8px;
              margin-right: 0.85%;
              cursor: pointer;
              transition: all 0.3 ease-in;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
              margin-bottom: 8px;

              &.on {
                color: white;
                background: linear-gradient(90deg, #3376fe 0%, #66a6ff 100%);
              }

              &:hover {
                color: white;
                background: linear-gradient(90deg, #3376fe 0%, #66a6ff 100%);
              }
            }
          }
        }

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