.bot-chat-container {
    display: flex; max-width: 900px; height: 600px; background: #ffffff; border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08); overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; margin: 20px auto; border: 1px solid #eaeaea;
}
.bot-chat-container *, .bot-chat-container *::before, .bot-chat-container *::after { box-sizing: border-box; }
.bot-chat-main { flex: 3; display: flex; flex-direction: column; background: #fdfdfd; border-right: 1px solid #f0f0f0; }
.bot-chat-header { padding: 20px; background: #ffffff; font-weight: 600; font-size: 18px; border-bottom: 1px solid #f0f0f0; color: #1a1a1a; }
.bot-chat-messages { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.bot-chat-messages.chat-dir-top-down { justify-content: flex-start; }
.bot-chat-messages.chat-dir-bottom-up { justify-content: flex-end; }
.message { max-width: 75%; padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; word-break: break-word; }
.user-message { background: #0073aa; color: #ffffff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bot-message { align-self: flex-start; border-bottom-left-radius: 4px; }

/* --- Farbkodierung basierend auf v1.3 contentType --- */
.header-answer { background: #f1f3f4; color: #1a1a1a; }
.header-sysInfo { background: #e3f2fd; color: #0d47a1; border-left: 4px solid #2196f3; font-style: italic; }
.header-sysError { background: #ffebee; color: #c62828; border-left: 4px solid #f44336; font-weight: bold; }
.header-sessionExpired { background: #fff3e0; color: #ef6c00; border: 1px dashed #ff9800; text-align: center; max-width: 100%; }
.header-sessionRunning { background: #e8f5e9; color: #2e7d32; font-size: 12px; }

.bot-chat-input-area { padding: 15px 20px; background: #ffffff; border-top: 1px solid #f0f0f0; display: flex; gap: 10px; }
.bot-chat-input-area input { flex: 1; border: 1px solid #e0e0e0; padding: 12px; border-radius: 8px; outline: none; font-size: 14px; }
.bot-chat-input-area button { background: #0073aa; color: white; border: none; padding: 0 20px; border-radius: 8px; cursor: pointer; font-weight: 500; }
.bot-chat-sidebar { flex: 1; background: #f8f9fa; padding: 20px; display: flex; flex-direction: column; }
.bot-chat-sidebar h3 { margin-top: 0; font-size: 16px; color: #333; margin-bottom: 15px; border-bottom: 2px solid #e0e0e0; padding-bottom: 5px; }
.bot-system-functions { display: flex; flex-direction: column; gap: 10px; }
.sys-btn { background: #ffffff; border: 1px solid #dcdcdc; padding: 10px; border-radius: 6px; cursor: pointer; text-align: left; font-size: 13px; width: 100%; font-weight: 500; }
.sys-btn:hover { background: #0073aa; color: #ffffff; border-color: #0073aa; }
@media (max-width: 768px) { .bot-chat-container { flex-direction: column; height: 750px; } .bot-chat-sidebar { border-top: 1px solid #eaeaea; flex: none; height: 220px; } }


 .header-aiReasoning {   background-image: url(https://nationallaserinstitute.com/wp-content/uploads/loading-filter-ajax.gif);
    background-size: 50px;
    background-repeat: no-repeat;
    background-position-y: center;
}