/* cc-chatbot widget styles */
#cc-chatbot-wrapper {
  position: fixed;
  bottom: 20px;
  z-index: 99999;
}
#cc-chatbot-wrapper.right { right: 20px; }
#cc-chatbot-wrapper.left { left: 20px; }

#cc-chatbot-bubble {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cc-chatbot-panel {
  width: 320px;
  max-width: 90%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  display: none;
  flex-direction: column;
  height: 400px;
}

.cc-chatbot-panel.active { display: flex; }

.cc-chatbot-panel .cc-header {
  color: #fff;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#cc-close { cursor: pointer; }

.cc-chatbot-panel .cc-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background: #f9f9f9;
}

.cc-chatbot-panel .cc-messages .cc-msg {
  margin: 6px 0;
  padding: 8px 12px;
  border-radius: 6px;
  max-width: 80%;
  font-size: 14px;
  white-space: pre-wrap;
}

.cc-chatbot-panel .cc-messages .cc-user {
  background: #d8e6ff;
  margin-left: auto;
}

.cc-chatbot-panel .cc-messages .cc-bot {
  background: #eee;
}

.cc-chatbot-panel .cc-input {
  display: flex;
  border-top: 1px solid #ddd;
}

.cc-chatbot-panel .cc-input input {
  flex: 1;
  border: none;
  padding: 10px;
  outline: none;
}

.cc-chatbot-panel .cc-input button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 0 15px;
}
