.sln-input-message {
  .sln-uploader-wallpaper {
    width: 40px;
    height: 40px;
    background-color: var(--PRIMARY) !important;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    label {
      margin-bottom: 0px;
      font-weight: 400;
      cursor: pointer;
      line-height: 0;
      img {
        width: 20px;
        height: 20px;
        margin-left: 0;
        cursor: pointer;
      }
    }
  }
}
.sln-chat-pos-uploader-button {
  display: flex;
}
.sln-context-menu {
  margin: 0 10px;
  background: none;
  border: 1px solid var(--PRIMARY);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 0;
}
.sln-foot-sent-message .sellan-chat-input-text {
  border: none;
}
// chat-avatar
.sln-editable-icon-block {
  position: relative;

  .sln-editable-icon {
    background: var(--PRIMARY);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

    &.sln-editable-icon-avatar {
      height: 40px;
      width: 40px;
    }
    &.sln-editable-icon-color {
      height: 30px;
      width: 30px;
    }
    &.sln-editable-icon-remove {
      background: var(--DANGER);
      height: 30px;
      width: 30px;
    }
  }
}
.sln-block-user-icon {
  display: flex;
  justify-content: flex-start;
  padding: 2px 20px 5px 15px;
  flex-wrap: wrap;
  width: 100%;
  flex-direction: row;
  .sln-user-badges {
    flex: 1 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .sln-editable-icon-block {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    .core-user-icon {
      position: relative;
    }
    .sln-editable-icon-avatar {
      position: absolute;
      bottom: -3px;
      right: -5px;
      cursor: pointer;
      border: 1px solid #abb1c2;
      background: var(--WHITE);
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      img {
        width: 25px;
      }
    }
    .sln-editable-icon-color {
      position: absolute;
      right: -3px;
      cursor: pointer;
      top: -1px;
      border: 1px solid #abb1c2;
      background: var(--WHITE);
      display: flex;
      align-items: center;
      justify-content: center;
      img {
        width: 20px;
        height: 20px;
      }
    }
    .sln-editable-icon-remove {
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid #abb1c2;
      background: var(--WHITE);
      position: absolute;
      top: 40px;
      right: -13px;
      .sln-common-action-delete-position {
        background-size: 14px;
      }
    }
  }
}

// animation
.sln-chat-fade-in {
  animation: slnFadeIn 500ms ease-out both;
}

@keyframes slnFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
