#bc-ai-chat-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}

/* Dugme za otvaranje chata */
#bc-ai-chat-toggle {
  background: linear-gradient(135deg, #f47c32, #ff944d);
  color: #fff;
  border-radius: 30px;
  padding: 12px 20px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#bc-ai-chat-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Glavni chat box */
#bc-ai-chat {
  display: none;
  width: 350px;
  height: 480px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  padding: 16px;
  transition: all 0.3s ease;
}

/* Log/chat poruke */
#bc-ai-chat-log {
  flex-grow: 1;
  overflow-y: auto;
  background: #f8f8f8;
  padding: 14px;
  border-radius: 12px;
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
  scrollbar-width: thin;
}

/* Pojedinačne poruke */
#bc-ai-chat-log div {
  margin-bottom: 10px;
  line-height: 1.4;
}

#bc-ai-chat-log div.user-message {
  text-align: right;
  background: #ffdbbe;
  padding: 8px 12px;
  border-radius: 15px 15px 0 15px;
  display: inline-block;
  max-width: 80%;
  font-weight: 500;
}

#bc-ai-chat-log div.ai-message {
  text-align: left;
  background: #eee;
  padding: 8px 12px;
  border-radius: 15px 15px 15px 0;
  display: inline-block;
  max-width: 80%;
  font-style: normal;
}

/* Input + dugme */
#bc-ai-chat-input-container {
  display: flex;
  gap: 10px;
}

#bc-ai-chat-input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

#bc-ai-chat-input:focus {
  border-color: #f47c32;
}

#bc-ai-chat-send {
  background: #f47c32;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

#bc-ai-chat-send:hover {
  background-color: #e56d28;
}
