/*
#chat_body {
    position: fixed;
    right: 0;
    top: 0;
    width: 300px;
    height: 100vh;
    background-color: #f0f0f0;
    border-left: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    z-index: 1000;
}
*/

#chat_body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    height: calc(100vh - var(--map-selector-height) - var(--tab-container-height) - var(--header-hight));
    overflow-y: auto;
    margin-bottom: 20px;
}

#chat_panel {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#chat_ident {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 8px;
    padding: 6px;
    margin: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#chat_ident > div {
    margin: 2px 0;
    text-align: center;
    word-break: break-word;
}




#chat_messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background-color: #fff;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

#chat_messages div {
    margin-bottom: 8px;
    padding: 6px 8px;
    background-color: #eef;
    border-radius: 6px;
    max-width: 90%;
    word-wrap: break-word;
}

#chat_entry {
    display: flex;
    padding: 10px;
    background-color: #eee;
    align-items: flex-end;
}

#chat_input {
    flex: 1;
    resize: none;
    min-height: 32px;
    max-height: 150px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow-y: hidden;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

#chat_send {
    margin-left: 8px;
    padding: 6px 12px;
    background-color: #4477cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    height: fit-content;
}

#chat_send:hover {
    background-color: #335faa;
}
