/* chatbot.css */

/* Container */
.chat-container {
  background: #f8fafc;
  padding: 1rem;
  overflow-y: auto;
  height: 70vh;
  max-height: 70vh;
  font-size: 1.05rem;
}

/* Bot vs User Messages */
.text-left span {
  background: #e5e7eb;
  color: #1f2937;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  display: inline-block;
  max-width: 80%;
  word-wrap: break-word;
}

.text-right span {
  background: #3b82f6;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  display: inline-block;
  max-width: 80%;
  word-wrap: break-word;
}

/* Message Wrapper Spacing */
.text-left,
.text-right {
  margin: 0.5rem 0;
}

/* Typing Indicator */
.text-gray-500.italic {
  font-style: italic;
  margin: 0.5rem 0;
}

/* Suggestion Chips */
.suggestion-chip {
  background: #e0f2fe;
  color: #0369a1;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.suggestion-chip:hover {
  background: #bae6fd;
}

/* Input & Send Button */
#user-input {
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0 0.375rem 0.375rem 0;
  outline: none;
  font-size: 1rem;
}

#user-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

#send-btn {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 0.375rem 0 0 0.375rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease;
}

#send-btn:hover {
  background: #2563eb;
}

/* Scrollbar Styling */
.chat-container::-webkit-scrollbar {
  width: 8px;
}

.chat-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.chat-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.chat-container::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
