.directive-chat-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}

.directive-chat-list .search-bar-wrapper {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
}

.directive-chat-list .search-bar-wrapper button {
  margin-top: 0;
  margin-bottom: 0;
}

.directive-chat-list md-list {
  display: flex;
  /* flex: 1; */
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: var(--default-radius-large);
  background-color: rgba(var(--background-content));
  padding: 0;
}

.directive-chat-list md-list md-list-item .md-button, .directive-chat-list md-list md-list-item button {
  border-radius: var(--default-radius-large);
}

.directive-chat-list md-list md-list-item .md-list-item-text p {
  max-height: 24px;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-all;
}

.directive-chat-list md-list md-list-item i {
  background: rgba(var(--primary-color));
  border-radius: 24px;
  min-width: 24px;
  max-width: 24px;
  height: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  color: rgba(var(--font-color-invert));
  font-style: normal;
  font-size: 9pt;
  padding: 6px;
  overflow: hidden;
  box-sizing: border-box;
}

.directive-chat-list .message-text {
  font-weight: normal !important;
}

.directive-chat-list .unread-message-text {
  font-weight: bold !important
}

.directive-chat-list md-list md-list-item i.unread-message {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.directive-chat-list md-list md-list-item .md-avatar, .directive-chat-list md-list md-list-item .md-avatar-icon {
  border: 3px solid rgba(var(--primary-color));
  padding: 1px;
  width: 46px;
  min-width: 46px;
  height: 46px;
  margin: 0 6px;
  margin-top: 0 !important;
  box-sizing: border-box;
  background-color: transparent;
  color: rgba(var(--color-alpha-grey));
}

.directive-chat-list md-list md-list-item .md-avatar-icon svg {
  width: 100%;
  height: 100%;
}

.directive-chat-list .directive-chat-list-no-chats {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.directive-chat-list .directive-chat-list-no-chats md-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  color: rgba(var(--primary-color));
  margin: 0;
}

.directive-chat-list .directive-chat-list-no-chats span {
  text-transform: uppercase;
  color: rgba(var(--primary-color));
}