.chat-message {
    margin: 6px;
    border: 1px solid;
    border-radius: 10px;
    padding: 6px;

    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    align-content: stretch;
}

.chat-author {
    font-weight: bold;
    flex: 1;
}

.chat-reply-action {
    cursor: pointer;
    margin-left: 4px;
}

.chat-reply {
    display: flex;
}

.chat-reply-content {
    border-left: 2px solid;
    padding-left: 4px;
    margin-left: 4px;
    border-color: blue;
    cursor: pointer;
    flex: 1;
}

.chat-reply-author {
    color: grey
}

.chat-reply-text {
    white-space: nowrap;
    max-height: 100px;
    overflow: clip;
}
.chat-reply-text>p {
    margin-block-start: 0px;
    margin-block-end: 0px;
}

.chat-reply-remove {
    justify-content: flex-end;
    align-items: center;
    display: flex;
    cursor: pointer;
    margin-right: 10px;
}

.chat-attachments {
    display: flex;
}

a.chat-message-attachment {
    margin-left: 4px;
    margin-left: 2px;
    align-self: center;
    cursor: pointer;
}

.chat-message-attachment-delete {
    float: right;
    display: inline-block;
    background: #ccc;
    cursor: pointer;
    padding: 2px 5px;
}

.chat-message-own {
    background-color: lightblue;
    margin-left: 100px;
}

.chat-footer {
    display: flex;
    align-content: stretch;
}

.chat-time {
    color: grey;
    flex: 1;
    text-align: end;
}

.chat-status {
    margin-left: 4px;
    color: darkgray;
}

div[lsfusion-container="chat"] .data-grid-cell {
    border-bottom: none !important;
}

.chat-message-input {
    display: flex;
    height: 100%;
    flex-direction: column;
    flex: 1;
    align-self: stretch;
    max-height: 300px;
    border: 1px solid var(--component-border-color);
    border-radius: var(--table-border-radius);
}

.chat-message-input .ql-container.ql-bubble {
    height: 100%;
}