#chat-container {
    display: flex;
    width: 100%;
    height: 100%;
	padding: 10px;
}

#threads-list {
    width: 25%;
    border-right: 1px solid #ccc;
    padding: 10px;
    overflow-y: auto;
	text-align: center;

}

.thread-item {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
	text-align: left;
}

.thread-item .delete-thread {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
}

.thread-item .delete-thread:hover {
    color: #e74c3c;
}

.thread-item:hover {
    background-color: #e0f7fa;
}

.thread-item .title {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.thread-item .created-at {
    font-size: 0.9em;
    color: #888;
}


.chat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
	padding: 10px;
}

.chat-box {
    display: flex;
    flex-direction: column;
    height: 300px;
    overflow-y: auto;
}

.chat-input-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.chat-message {
    width: 90%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 14px;
    resize: none;
}

.send-message {
    color: #0095da;
    border-radius: 10px;
}

.clear-chat {
    margin-left: 10px;
}

.message {
    max-width: 70%;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 10px;
    position: relative;
}

.message-time {
    font-size: 0.8em;
    color: #888;
    margin-top: 5px;
}

.my-message {
    align-self: flex-end;
    background-color: #dcf8c6;
    text-align: right;
}

.other-message {
    align-self: flex-start;
    background-color: #B0E6FF;
}

.edit-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    display: none;
    cursor: pointer;
    color: #0095da;
    background: white;
    border-radius: 10px;
    padding: 5px 10px;
}

.my-message:hover .edit-icon {
    display: block;
}
