html, body, #root, .editor {
    height: 100%;
    margin: 0;
    padding: 0;
}

#root {
    display: flex;
}

.sidebar {
    width: 200px;
    display: flex;
    flex-direction: column;
}

.documents-header {
    display: flex;
    align-items: center;
    padding: 8px;
    gap: 8px;
}

.documents-header-title {
    flex: 1;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.add-document-button {
    font-size: 16px;
    line-height: 16px;
    text-align: center;
    width: 24px;
    height: 24px;
}

.document-list {
    flex: 1;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.document-list-item {
    padding: 4px 8px;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.document-list-item:hover {
    background-color: #eee;
}

.document-list-item-selected, .document-list-item-selected:hover {
    background-color: #ccc;
}

.connection-button {
    margin: 8px;
}

.editor {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.toolbar {
    display: flex;
    padding: 8px;
    gap: 8px;
}

.toolbar button {
    height: 24px;
}

.editor-message-container {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator-vertical {
    width: 1px;
    background-color: black;
}

.separator-horizontal {
    height: 1px;
    background-color: black;
}

.attribution-box {
    position: fixed;
    right: 0;
    bottom: 0;
    padding: 8px;
    background-color: white;
    border-top: 1px solid black;
    border-left: 1px solid black;
}
