/* Dark Mode Chat UI */

body {
  background: #121212;
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
  color: #e0e0e0;
}

#chat {
  max-width: 600px;
  margin: 20px auto;
  background: #1e1e1e;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.chat__conversation-board {
  height: 400px;
  overflow-y: auto;
  padding: 20px;
  background: #2c2c2c;
}

.chat__conversation-board__message-container {
  margin-bottom: 15px;
  display: flex;
}

.chat__conversation-board__message-container.user-message {
  justify-content: flex-end;
}

.chat__conversation-board__message-container.bot-message {
  justify-content: flex-start;
}

.chat__conversation-board__message__bubble {
  background: #333;
  padding: 10px 15px;
  border-radius: 8px;
  max-width: 80%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  position: relative;
}

/* New styles for product summary */
.product-summary {
  text-align: center;
}

.product-thumbnail {
  width: 150px;
  height: auto;
  border-radius: 8px;
  border: 1px solid #444;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
}

.product-title {
  margin-top: 5px;
  font-size: 16px;
  color: #fff;
}

.product-title a {
  text-decoration: none;
  color: inherit;
}

.chat__conversation-panel {
  background: #1e1e1e;
  padding: 10px;
  border-top: 1px solid #444;
}

.chat__conversation-panel__container {
  display: flex;
  align-items: center;
}

.chat__conversation-panel__input {
  flex: 1;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #444;
  border-radius: 4px;
  background: #2c2c2c;
  color: #e0e0e0;
}

.chat__conversation-panel__button.send-message-button {
  padding: 10px 15px;
  margin-left: 10px;
  background: #8147fc;
  border: none;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

/* Category selection buttons */
.chatbot-selection-buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
}

.chatbot-button {
  display: inline-block;
  padding: 8px 16px;
  background: #8147fc;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease;
}

.chatbot-button:hover {
  background: #6a35e0;
  text-decoration: none;
  color: #fff;
}

/* Next button */
.chatbot-next-container {
  text-align: center;
  margin-top: 15px;
}

.chatbot-next-button {
  display: inline-block;
  padding: 6px 14px;
  background: #555;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.2s ease;
}

.chatbot-next-button:hover {
  background: #666;
  text-decoration: none;
  color: #fff;
}

/* Hide custom mobile sidebar button when using the shortcode */
.custom-mobile-sidebar-button {
  display: none !important;
}

/* Full container styles built into the plugin */
.strain-chatbot-container {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  color: #e0e0e0;
  background: #1e1e1e;
}

.page .entry-content .strain-chatbot-container {
  width: 100%;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 600px) {
  #chat {
    margin: 0;
    border-radius: 0;
  }
}
