#message_bar {
    display: flex;
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    align-items: center;
    background: var(--background-color);
}

#message_bar .side {
    width: 60px;
    display: flex;
}

#message_bar .center {
    flex-grow: 1;
}

#message-content {
    background: white;
    border-radius: 4px;
    margin: 5px;
    max-height: 25vh;
    padding: 8px;
    overflow: auto;
}


#thread-window {
    display: flex;
    flex-direction: column;
}

.thread-message {
    display: flex;
    align-items: flex-end;
    margin-top: 20px;
    max-width: 70%;
}

.thread-message.me {
    flex-direction: row-reverse;
    align-self: flex-end;
}

.thread-message .message {
    border-radius: 4px;
    color: white;
    padding: 7px;
}

.thread-message.other .message {
    background: blue;
}

.thread-message.me .message {
    background: green;
}

.thread-message .from {
    color: gray;
    font-size: 0.8em;
}


.thread-message.me .from {
    text-align: right;
}


.thread-message img.chat-icon {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 1px solid black;
    border-radius: 8px;
    margin: 0px 10px;
}