$header-color-divider: var(--color-divider);
$header-container-height: 64px;
.dialog-list-header{
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.0015em;

  border-bottom: 1px solid var(--color-divider);
  border-right: 1px solid var(--color-divider);

  // border-right: 1px solid $header-color-divider;
  height: $header-container-height;
  &__icons{
    width: 24px;
    height: 24px;
    cursor: pointer;
    fill: var(--color-icon);

    &--disable {
      cursor: default;
      fill: var(--disabled-elements);
    }

    svg path {
      fill: var(--color-icon);
    }
  }
}
.dialog-list {
  min-width: var(--max-width-dialog-list);
  width: 100%;
  border: 1px solid var(--divider);

  &__loader-container{
    display: flex;
    flexDirection: row;
    alignItems: center;
    justifyContent: center;
  }

  &__loader{
    fill: var(--color-background-info);

    svg path {
      fill: var(--color-background-info);
    }
  }
}

@media only screen and (max-width: var(--min-width-screen-desktop)) {
  .dialog-list {
    width: 100%;
    border: 1px solid var(--divider);
  }
}

.scroll-box{
  scrollbar-width: none !important;
  overflow-y: scroll;
  overflow-x: hidden;
  border-right: 1px solid var(--color-divider);
  &::-webkit-scrollbar {
    width: 0px;
    background: transparent;
  }

  &::-webkit-scrollbar-thumb {
    width: 0px;
    background: transparent;
  }

  &.scroll-box.border {
    padding-bottom: 12px;
    margin-bottom: 23px;
    border-bottom: 2px solid rgba($color: #2c80e2, $alpha: 0.08);
  }
}
.scroll-box:hover{
  overflow-y: auto !important;
  overflow-x: hidden;
  scrollbar-width: none !important;
}
.scroll-dialogs-container{
  flex: 1 1 200px;
  width: 100%;
  max-height: 200px;

  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-end;

}
.search-dialog-text-field{
  width: 90%;
  margin: 16px;
  padding: 8px;

  background-color: var(--main-background);
  color: var(--secondary-text);

  input {
    color: var(--secondary-text);
    background-color: var(--main-background);
    margin-left: 6px;
    margin-right: 6px;

    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;

    display: flex;
    align-items: center;
    letter-spacing: 0.15px;

    border: none;
    outline: none;
  }

  &__icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    fill: var(--tertiary-elements);

    svg path {
      fill: var(--tertiary-elements);
    }
  }

}
.dialog-list-new-dialog-mobile-container{
  width: 300px;
  background-color: var(--main-background);
}
.dialog-list-new-dialog-desktop-container{
  width: 380px;
  background-color: var(--main-background);
}

.dialog-empty-chat-placeholder {
  justify-content: center;
  height: 100%;
  white-space: pre-line;
}

