.message-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 0;
    overflow-y: auto;
    margin-bottom: 10px;
    padding: 10px;
}

/* Persistent Message */
.persistent-message {
    background-color: var(--bg-message-assistant);
    /* border: 2px dashed var(--border-color); */
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

/* Message Styling */
.message {
    min-height: 0;
    overflow: auto;
    flex-shrink: 0;
    background-color: var(--bg-message-user);
    border-radius: 8px;
    padding: 10px;
    position: relative;
    display: block;
}

/* Assistant Message */
.message.assistant {
    background-color: var(--bg-message-assistant);
}



/* Toolbar Button */
.toolbar-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.toolbar-btn:hover {
    transform: scale(1.1);
    opacity: 1;
}

.icon-svg {
    width: 24px;
    height: 24px;
    fill: var(--text-secondary);
    transition: fill 0.3s ease;
}

.toolbar-btn:hover .icon-svg {
    fill: var(--button-hover);
}
.user-message {
    background: #DCF8C6;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    align-self: flex-end;
}
.assistant-message {
    background: #E6E6E6;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    align-self: flex-start;
}
.error-message {
    background: #F8D7DA;
    color: #721C24;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
}
