.message-chat {
  position: relative;
  min-width: 1100px;
  box-sizing: border-box;
  align-items: flex-start !important;

  &-role{
    position: relative;
    width: 58px;
    box-sizing: border-box;
    overflow: hidden;
    transform: translateX(-6px);
    transition: all 168ms ease-in-out;
    min-height: 84vh;
    background: #F6F6F6;
    border-radius: 8px;
    &:hover {
      width: 160px;
    }
    .role-item{
      position: relative;
      box-sizing: border-box;
      padding: 10px;
      border-radius: 8px;
      cursor: pointer;
      flex-wrap: nowrap;
      transition: all 100ms ease-in-out;
      &:hover {
        background: rgba(233, 240, 254, 0.5);
      }
      .image {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: fill;
        margin-right: 8px;
      }
      .content{
        position: relative;
        box-sizing: border-box;
        width: 86px;
        flex-direction: column;
        align-items: flex-start;
        .title{
          width: 86px;
          color: #000000;
          font-weight: bold;
          margin-bottom: 8px;
        }
        .role{
          position: relative;
          box-sizing: border-box;
          height: 16px;
          background: linear-gradient(270deg, #fff1ec 0%, #ffffff 54%, #ffe5db 100%);
          border-radius: 4px;
          border: 1px solid #ffb099;
          padding: 0 4px;
          line-height: 14px;
          text-align: center;
          font-weight: 500;
          font-size: 10px;
          color: #ff521e;
        }
      }
    }
    .item-active{
      background: #E9F0FE;
      &:hover {
        background: #E9F0FE;
      }
    }
  }

  &-list {
    position: relative;
    width: 300px;
    height: 82vh;
    //background: lightcoral;
    box-sizing: border-box;
    padding: 0 5px;
    overflow-y: scroll;
    overflow-x: hidden;

    .list-item {
      position: relative;
      width: 100%;
      box-sizing: border-box;
      padding: 10px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 100ms ease-in-out;

      &:hover {
        background: rgba(233, 240, 254, 0.35);
      }

      .item-image {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        margin-right: 8px;
        object-fit: contain;
        background: #fff;
      }

      .item-content {
        position: relative;
        width: 200px;

        .title {
          width: 100%;
          color: #000000;
          font-weight: bold;
          margin-bottom: 8px;
          .text{
            width: auto;
            max-width: 110px;
          }
        }

        .text {
          position: relative;
          width: 100%;
          box-sizing: border-box;
          color: #666666;
          font-size: 11px;

          .text{
            width: 150px;
            color: #666666;
            font-size: 11px;
          }
          .tag{
            background: #FF2741;
            border-radius: 20px;
            text-align: center;
            line-height: 16px;
            box-sizing: border-box;
            padding: 0 6px;
            font-size: 12px;
            font-weight: 500;
            color: #FFFFFF;
            transform: scale(0.8) translateX(20px);
          }
        }

        .label {
          position: relative;
          box-sizing: border-box;
          height: 16px;
          background: linear-gradient(270deg, #fff1ec 0%, #ffffff 54%, #ffe5db 100%);
          border-radius: 4px;
          border: 1px solid #ffb099;
          padding: 0 4px;
          line-height: 14px;
          text-align: center;
          font-weight: 500;
          font-size: 10px;
          color: #ff521e;
          margin-left: 8px;
        }
      }

      .item-time {
        position: absolute;
        top: 18px;
        right: 10px;
        text-align: right;
        color: #666666;
        font-size: 11px;
      }
    }

    .item-active {
      background: #E9F0FE;

      &:hover {
        background: #E9F0FE;
      }
    }
  }

  &-content {
    position: relative;
    width: 70rem;
    min-height: 80vh;
    background: #F6F6F6;
    box-sizing: border-box;
    margin: 0 10px 0 5px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 100ms ease-in-out;

    &-view {
      position: relative;
      width: 100%;
      box-sizing: border-box;

      .content-head {
        position: relative;
        box-sizing: border-box;
        padding: 10px 10px;
        border-bottom: 0.5px #CBCBCB solid;

        .image {
          width: 40px;
          height: 40px;
          border-radius: 50%;
          margin-right: 10px;
          object-fit: contain;
          background: #fff;
        }

        .title {
          color: #000000;
          font-weight: bold;
        }
      }

      .content-scroll {
        position: relative;
        width: 100%;
        height: 53vh;
        box-sizing: border-box;
        //background: lightsalmon;
        overflow-y: scroll;
        overflow-x: hidden;
        border-bottom: 0.5px #CBCBCB solid;

        .content-list {
          position: relative;
          width: 100%;
          box-sizing: border-box;
          //background: lightblue;
          padding: 20px 0;

          .list-item {
            position: relative;
            width: 100%;
            box-sizing: border-box;
            flex-direction: column;

            .item-date {
              font-weight: 400;
              font-size: 12px;
              color: #999999;
              margin-bottom: 16px;
            }

            .item-content {
              position: relative;
              width: 100%;
              box-sizing: border-box;
              margin-bottom: 16px;
              padding: 0 12px;

              .detail {
                position: relative;
                box-sizing: border-box;
                max-width: 400px;
                width: auto;
                background: #E8E8E9;
                border-radius: 4px;
                padding: 8px 12px;
                font-size: 14px;
                color: #333333;
                line-height: 16px;
                .text{
                  img{
                    max-width: 100% !important;
                  }
                }
              }
            }
          }
        }
      }
    }
  }

  &-action {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 6px 10px;
    .action-head{
      position: relative;
      width: 100%;
      box-sizing: border-box;
      font-size: 20px;
      color: #777777;
    }
    .action-input{
      position: relative;
      width: 100%;
      box-sizing: border-box;
      margin-bottom: 20px;
    }
  }

  &-qrcode {
    position: relative;
    width: 200px;
    box-sizing: border-box;
    padding: 30px 0 0 0;
    .qrcode-view{
      position: relative;
      width: 128px;
      box-sizing: border-box;
      margin: 0 auto;
    }
    .qrcode-text{
      width: 100%;
      font-weight: 400;
      font-size: 13px;
      color: #666666;
      text-align: center;
      margin-top: 30px;
    }
  }
}
