/*
Theme Name:     Agent Infuse
Theme URI:      n/a
Template:       kadence
Author:         Agentic Integrations Ltd
Author URI:     n/a
Description:    Child Theme Description
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

#ai-chatbot {
  max-width: 100%;
  width: 100%;
  height: 500px;
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  background: #f9f9f9;
  font-family: "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#ai-chat-window {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
}

#ai-chat-window div {
  margin-bottom: 8px;
}

#ai-chat-form {
  display: flex;
  gap: 10px;
}

#ai-chat-input {
  flex: 1;
  padding: 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #bbb;
  outline: none;
  transition: border 0.2s ease;
}

#ai-chat-input:focus {
  border-color: #007bff;
}

#ai-chat-form button {
  padding: 10px 20px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s ease;
}

#ai-chat-form button:hover {
  background: #0056b3;
}

.gpt-reply {
  font-size: 14px;
  line-height: 1.6;
}

.gpt-reply pre {
  background: #f6f8fa;
  padding: 10px;
  border-radius: 5px;
  overflow-x: auto;
}

.gpt-reply code {
  background: #eee;
  padding: 2px 4px;
  border-radius: 4px;
  font-family: monospace;
}

.gpt-reply p, .gpt-reply ul {
    margin: 0 0 10px;
}