.messengers {
    padding-top: 60px;
}

.messengers__content {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.messengers__content__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.messengers__content__header__icon {
    font-size: 1.5rem;
    cursor: pointer;
}

.messengers__filter {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.messengers__filter__title {
    font-weight: bold;
}

.messengers__filter__messengers {
    width: 100%;
    overflow-x: auto;
    display: flex;
    gap: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.messengers__filter__messenger {
    min-width: 85px;
    min-height: 85px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 10px;
    background: var(--content-bg-color);
    cursor: pointer;
}

.messengers__filter__messenger p {
    font-size: 0.875rem;
}

.messengers__filter__messenger.selected {
    background-color: var(--primary-color);
    color: var(--on-text-color);
}

.messengers__filter__dates {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.messengers__filter__date label {
    margin-right: 0.5rem;
    font-weight: bold;
}

.messenger__chats__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 50vh;
    overflow-y: auto;
    margin: 0.5rem 0;
}

.messenger__chats__item {
    padding: 1rem;
    border-radius: 10px;
    background: var(--content-bg-color);
    cursor: pointer;
}

.messengers__info__text {
    margin-bottom: 0.5rem;
}