.drawer {
  :global {
    .@{antPrefix}-drawer-content-wrapper {
      max-width: 500px;
    }
  }
}

.dialogueList {
  :global {
    .@{antPrefix}-input-affix-wrapper {
      background-color: transparent;
    }
  }

  .messageRowWrap {
    width: 100%;
    height: 100%;

    .sessionGroup {
      margin: 12px 0;
      // &:first-child {
      //   margin-top: 0;
      // }
      // &:last-child {
      //   margin-bottom: 0;
      // }

      .sessionGroupTitle {
        font-size: 14px;
        color: #7a8799;
        margin-bottom: 6px;
      }
    }
  }

  .searchInput {
    // border-radius: 8px;
    // border: 1px solid var(--grey-grey-0515, #d8dee5);
    // margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    & > input:first-child {
      flex: 1 0 auto;
    }
  }
}

.spin {
  flex: 1;
  :global {
    .@{antPrefix}-spin-container {
      display: flex;
      flex-direction: column;
      height: 100%;
    }
  }
}

.listWrapper {
  position: relative;
  // padding: 16px 0;

  &::before,
  &::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 24px;
    pointer-events: none;
    z-index: 1;
  }

  &::before {
    top: -1px;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
  }

  &::after {
    bottom: -1px;
    background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
  }
}

.userName {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  text-align: center;
  line-height: 32px;
  font-size: 12px;
  background: var(~'--@{antPrefix}-color-primary');
}
