.change-options__icon.change-options__icon--make {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}
.change-options__icon.change-options__icon--make img {
  width: 100%;
  height: 100%;
}
.change-options__body.change-options__body--md {
  padding: 16px 20px;
}

.messages {
  display: flex;
  height: 600px;
  box-shadow: 0px 8px 36px 0px rgba(91, 104, 113, 0.1),
    0px 0px 1px 0px rgba(26, 32, 36, 0.32);
}
.messages-sidebar {
  display: flex;
  flex-direction: column;
  width: 475px;
  flex: 0 0 475px;
}
.messages-sidebar__header {
  padding: 12px 16px;
}
.search-form {
  width: 100%;
}
.search-input-wrapper {
  display: flex;
  align-items: center;
  background-color: var(--light-gray-2);
}
.search-input {
  padding: 13px 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  background-color: transparent;
}
.messages-sidebar__body {
  height: 100%;
  overflow: auto;
}
.chat--current {
  background-color: var(--primary);
  color: var(--white);
}
.chat--current .chat__message {
  color: var(--white);
}
/* .messages-sidebar__body {
  display: flex;
  flex-direction: column;
} */
.chat__message {
  color: var(--secondary);
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.chatlist {
  overflow: auto;
  height: 100%;
}
.chat {
  display: flex;
  padding: 12px 16px;
  border-top: 1px solid var(--light-gray-1);
}
.chat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
}
.chat__title {
  font-weight: 600;
  font-size: 16px;
}
/* .chat__date {
} */
.chat__body {
  flex: auto;
  display: flex;
  flex-direction: column;
  width: calc(100% - 56px);
}
.chat__tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -4px;
  margin-left: -2px;
  margin-right: -2px;
}
.chat__tag {
  display: flex;
  font-size: 10px;
  font-weight: 500;
  line-height: 16px;
  padding: 0px 5px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background-color: var(--defaultTextColor);
  color: var(--white);
  margin-left: 2px;
  margin-right: 2px;
  margin-bottom: 4px;
}

.message-avatar {
  --size: 40px;
  width: var(--size);
  height: var(--size);
  min-width: var(--size);
  border-radius: 300px;
  overflow: hidden;
}
.message-avatar img {
  width: 100%;
  height: 100%;
}
.messages-chat {
  display: flex;
  flex-direction: column;
  flex: auto;
  background: var(--light-gray-2);
}
.messages-chat__body {
  display: flex;
  flex-direction: column-reverse;
  flex: auto;
  padding: 24px;
  overflow: auto;
  height: 100%;
  overflow: auto;
}
.message {
  display: flex;
}
.message + .message {
  margin-right: 16px;
}
.message--incoming {
  justify-content: end;

} 
.message--outgoing {
}
.message__body {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

.message__container {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  border-radius: 6px;
  border: 1px solid var(--light-gray-1);
  background: var(--white);
  padding: 6px 12px;
}
.message__date {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
}
.message__container + .message__date {
  margin-top: 8px;
}

.message--outgoing .message__container {
  background-color: var(--defaultTextColor);
  color: var(--white);
}
.message--outgoing .message__date {
  margin-left: auto;
}
.messages-chat__footer {
  padding: 12px 16px;
}

.chatlist::-webkit-scrollbar,
.messages-chat__input::-webkit-scrollbar,
.messages-chat__body::-webkit-scrollbar {
  width: 5px;
}

.chatlist::-webkit-scrollbar-track,
.messages-chat__input::-webkit-scrollbar-track,
.messages-chat__body::-webkit-scrollbar-track {
  background: var(--light-gray-2);
}

.chatlist::-webkit-scrollbar-thumb,
.messages-chat__input::-webkit-scrollbar-thumb,
.messages-chat__body::-webkit-scrollbar-thumb {
  background: var(--primary);
}

.chatlist::-webkit-scrollbar-thumb:hover,
.messages-chat__input::-webkit-scrollbar-thumb:hover,
.messages-chat__body::-webkit-scrollbar-thumb:hover {
  background: var(--danger);
}

.messages-chat__form {
  width: 100%;
  display: flex;
  align-items: end;
}
.messages-chat__input {
  border: 1px solid var(--light-gray-1);
  background: var(--white);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  flex: auto;
  padding: 8px 10px;
  min-height: 36px;
  margin-right: 10px;
  resize: none;
  max-height: 100px;
}
.messages-chat__button {
  height: 36px;
  width: 36px;
}
.profile {
  display: flex;
}
.profile__info {
  flex: auto;
}
.tabs {
  width: 100%;
}
.tabs-head {
  width: 100%;
  overflow: auto;
}
.tabs__list {
  display: flex;
  align-items: center;
}
.tabs-head__item {
}
.tabs-item {
  display: none;
}
.tabs-item.active {
  display: block;
}

.tab-button {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  color: var(--secondary);
  padding: 0 16px;
  height: 46px;
  border-radius: 4px 4px 0px 0px;
  border-bottom: 1px solid var(--light-gray-1);
  white-space: nowrap;
}
.tab-button.active {
  color: var(--primary);
  border-top: 1px solid var(--light-gray-1);
  border-right: 1px solid var(--light-gray-1);
  border-left: 1px solid var(--light-gray-1);
  border-bottom: none;
}

.input-label {
  display: flex;
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  margin-bottom: 8px;
}

.input.input-secondary {
  border-radius: 4px;
  border: 1px solid var(--light-gray-1);
  background-color: var(--white);
  padding: 9px 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.g-15 {
  --bs-gutter-x: 15px;
  --bs-gutter-y: 15px;
}
