/* ===== Chat Messages ===== */
.chat-msg {
  display: flex;
  margin-bottom: 10px;
}

.chat-msg-user {
  justify-content: flex-end;
}

.chat-msg-assistant {
  justify-content: flex-start;
}

.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  word-wrap: break-word;
}

.chat-bubble-user {
  background-color: #5630ff;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-bubble-assistant {
  background-color: #f0f0f0;
  color: #1a1a1a;
  border-bottom-left-radius: 4px;
}

/* ===== Loading animation ===== */
.chat-loading {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 18px;
}

.chat-loading .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #999;
  animation: chatDotPulse 1.2s infinite ease-in-out;
}

.chat-loading .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-loading .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes chatDotPulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.1); }
}

/* ===== Suggestion buttons ===== */
.chat-suggestion-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.chat-suggestion-btn {
  background: #fff;
  border: 1px solid #5630ff;
  border-radius: 8px;
  padding: 8px 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #5630ff;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}

.chat-suggestion-btn:hover {
  background-color: #5630ff;
  color: #fff;
}
