.bx-imol-list-recent__content {
	--imol-list-recent__background-color: var(--ui-color-palette-gray-20);
	--imol-list-recent__color_work: var(--ui-color-palette-blue-50);
	--imol-list-recent__color_new: var(--ui-color-palette-red-50);
	--imol-list-recent__color_answered: var(--ui-color-palette-green-70);
	--imol-list-recent__color_emty-text: #606162;
	--imol-list-recent__color_hover: #888888;

	height: 100%;
	display: flex;
	flex-direction: column;
}

.bx-imol-list-recent__item:hover {
	color: var(--imol-list-recent__color_hover);
}

.bx-imol-list-recent__group_name {
	position: relative;
	display: inline-block;
	padding: 0 8px 10px 10px;
}

.bx-imol-list-recent__group_name::after {
	content: '';
	position: absolute;
	height: 1px;
	width: 400px;
	margin-left: 10px;
	margin-top: 9px;
	background-color: var(--imol-list-recent__background-color);
}

.bx-imol-list-recent__group_name_work {
	color: var(--imol-list-recent__color_work);
}

.bx-imol-list-recent__group_name_work::after {
	background-color: var(--imol-list-recent__color_work);
}

.bx-imol-list-recent__group_name_new {
	color: var(--imol-list-recent__color_new);
}

.bx-imol-list-recent__group_name_new::after {
	background-color: var(--imol-list-recent__color_new);
}

.bx-imol-list-recent__group_name_answered {
	color: var(--imol-list-recent__color_answered);
}

.bx-imol-list-recent__group_name_answered::after {
	background-color: var(--imol-list-recent__color_answered);
}

.bx-imol-list-recent-empty-state__container {
	padding: 127px 30px 0;
	text-align: center;
	font: 13px / 20px var(--ui-font-family-primary, var(--ui-font-family-system));
	color: var(--imol-list-recent__color_emty-text);
}

.bx-imol-list-recent__scroll-container {
	flex-grow: 1;
	overflow: hidden;
	overflow-y: scroll;
}

.bx-imol-list-recent__item {
	--imol-list-recent__color_item-content: var(--ui-color-palette-gray-40);
	--imol-list-recent__color_hover: rgba(var(--ui-color-palette-white-base-rgb), 0.7);
	--imol-list-recent__color_item-message: #c8cfd1;
	--imol-list-recent__color_counter: rgba(var(--ui-color-palette-white-base-rgb));
	--imol-list-recent__color_text: var(--ui-color-palette-white-base);
	--imol-list-recent__color_selected: #00ace3;
	--imol-list-recent__background-color_counter: rgba(var(--ui-color-palette-white-base-rgb));
	--imol-list-recent__background-color_counter: #00ade3;
	--imol-list-recent-item__background-color_hover: #f1f4f6;
	--imol-list-recent__background-color_selected: #00ace3;
	--imol-list-recent__background-color_separator: rgba(82,92,105,0.08);
	--imol-list-recent__background-color_counter-text: var(--ui-color-palette-white-base);
	--imol-list-recent__font-weight_counter: 500;
	--imol-list-recent__font-weight_message: 400;

	position: relative;
	transition: background-color .1s;
	background-color: rgba(var(--imol-list-recent__background-color_counter));
	border-radius: 8px;
}

.bx-imol-list-recent__item::before {
	content: '';
	position: absolute;
	width: calc(100% - 10px);
	height: 1px;
	background-color: var(--imol-list-recent__background-color_separator);
	margin-left: 5px;
	opacity: 1;
	transition: opacity .3s;
}

.bx-imol-list-recent__item:first-child {
	margin-top: 4px;
}

.bx-imol-list-recent__item:hover {
	background-color: var(--imol-list-recent-item__background-color_hover);
}

.bx-imol-list-recent__item:hover + .bx-imol-list-recent__item:before,
.bx-imol-list-recent__item.--selected + .bx-imol-list-recent__item:before,
.bx-imol-list-recent__item:hover:before,
.bx-imol-list-recent__item:first-child:before {
	opacity: 0;
}

.bx-imol-list-recent__item.--selected {
	background-color: var(--imol-list-recent__background-color_selected);
}

.bx-imol-list-recent__item.--selected .bx-im-chat-title__text {
	color: var(--imol-list-recent__color_text);
}

.bx-imol-list-recent__item.--selected .bx-imol-list-recent-item__message {
	color: var(--imol-list-recent__color_text);
}

.bx-imol-list-recent__item.--selected .bx-imol-list-recent-item__content_date {
	color: var(--imol-list-recent__color_hover);
}

.bx-imol-list-recent__item.--selected .bx-imol-list-recent-item__counter_number {
	background-color: var(--imol-list-recent__background-color_counter-text);
	color: var(--imol-list-recent__color_selected);
}

.bx-imol-list-recent-item__avatar_container {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	margin-right: 13px;
}

.bx-imol-list-recent-item__message {
	display: flex;
	font: 14px/19px var(--ui-font-family-primary, var(--ui-font-family-system));
	font-weight: var(--imol-list-recent__font-weight_message);
	color: var(--ui-color-palette-gray-60);
}

.bx-imol-list-recent-item__content_right {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1;
	min-width: 0;
	height: 70px;
	padding-right: 3px;
}

.bx-imol-list-recent-item__main_content {
	display: flex;
	height: 70px;
	padding: 0 8px 0 10px;
	transition: background .3s;
	cursor: pointer;
}

.bx-imol-list-recent-item__content_header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 3px;
}

.bx-imol-list-recent-item__content_title {
	display: flex;
	align-items: center;
	min-width: 0;
	max-width: 100%;
	margin-bottom: 3px;
}

.bx-imol-list-recent-item__content_bottom {
	display: flex;
	justify-content: space-between;
	height: 38px;
}

.bx-imol-list-recent-item__content_date {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: right;
	height: 18px;
	margin-left: 3px;
	font: 12px / 1.2 var(--ui-font-family-primary, var(--ui-font-family-system));
	color: var(--imol-list-recent__color_item-content);
}

.bx-imol-list-recent-item__message_text-container {
	display: -webkit-box;
	text-overflow: ellipsis;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	word-break: break-word;
}

.bx-imol-list-recent-item__counter_wrap {
	display: flex;
	align-self: center;
	justify-content: right;
	align-items: center;
	width: 27px;
	min-width: 27px;
	height: 20px;
	margin-left: 8px;
}

.bx-imol-list-recent-item__counter_container {
	display: flex;
	align-items: center;
}

.bx-imol-list-recent-item__counter_number {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 18px;
	min-width: 18px;
	padding: 0 5px;
	border-radius: 30px;
	transform-style: preserve-3d;
	color: var(--imol-list-recent__color_counter);
	font: 12px / 14px var(--ui-font-family-primary, var(--ui-font-family-system));
	font-weight: var(--imol-list-recent__font-weight_counter);
	background-color: var(--imol-list-recent__background-color_counter);
}

.bx-imol-list-recent__group-item_container {
	padding: 4px 4px 6px 4px;
}

.bx-imol-list-recent__group-item_container:first-child {
	padding-top: 16px;
}

.bx-imol-list-recent__group-item_container .bx-imol-list-recent__item:first-of-type::before {
	content: none;
}

.bx-imol-list-recent-item__message_author-icon.--user {
	display: inline-block;
	margin-right: 4px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	filter: saturate(70%);
	background-size: cover;
	background-repeat: no-repeat;
	vertical-align: text-bottom;
	margin-bottom: 1px;
}

.bx-imol-list-recent-item__message_author-icon.--user.--default {
	background-image: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20viewBox%3D%220%200%2018%2020%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M16.79%2015.354c0-.77-1.026-1.65-3.047-2.163a6.926%206.926%200%200%201-1.929-.862c-.13-.072-.11-.745-.11-.745l-.65-.097c0-.055-.056-.862-.056-.862.779-.257.698-1.772.698-1.772.495.27.817-.93.817-.93.585-1.665-.291-1.564-.291-1.564.153-1.017.153-2.05%200-3.067-.39-3.373-6.254-2.457-5.559-1.356-1.713-.31-1.322%203.518-1.322%203.518l.371.991c-.73.465-.222%201.027-.197%201.674.036.955.632.757.632.757.036%201.577.828%201.782.828%201.782.149.99.056.822.056.822l-.705.083a2.7%202.7%200%200%201-.055.672c-.829.362-1.007.575-1.83.93-1.592.684-3.321%201.574-3.629%202.772C.505%2017.136.22%2019.746.22%2019.746h17.433l-.862-4.392z%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22evenodd%22/%3E%3C/svg%3E);
	background-position: 3px 2px;
	background-color: #adaaaa;
	background-size: 8px;
}
