/* ── CHAT SHELL ── */
.chat-shell {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chat-intro {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--gray);
  font-style: italic;
  text-align: center;
}

/* ── MESSAGES ── */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1rem;
}

.msg-bot {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.msg-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  overflow: hidden;
  flex-shrink: 0;
}

.msg-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.msg-bubble {
  background: var(--white);
  border-radius: 0 14px 14px 14px;
  padding: 0.8rem 1.1rem;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.65;
  border: 0.5px solid var(--border);
  max-width: 82%;
}

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

.msg-bubble-user {
  background: var(--brick);
  border-radius: 14px 14px 0 14px;
  padding: 0.8rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--cream);
  max-width: 70%;
}

/* ── TYPING INDICATOR ── */
.typing-indicator {
  display: none;
  align-items: center;
  gap: 10px;
}

.typing-indicator.visible {
  display: flex;
}

.typing-dots {
  background: var(--white);
  border-radius: 0 14px 14px 14px;
  padding: 0.8rem 1.1rem;
  border: 0.5px solid var(--border);
  display: flex;
  gap: 5px;
  align-items: center;
}

.typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gray);
  animation: bounce 1.2s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

/* ── PROMPT CHIPS ── */
.prompts-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.prompt-chip {
  background: var(--white);
  border: 0.5px solid #C8B89A;
  border-radius: 20px;
  padding: 0.4rem 0.9rem;
  font-size: 12px;
  color: var(--charcoal);
  transition: background 0.15s;
}

.prompt-chip:hover {
  background: #EDE3D0;
}

/* ── INPUT BAR ── */
.input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.85rem 0;

  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  background: var(--white);
  border: 0.5px solid #C8B89A;
  border-radius: 24px;
  padding: 0.6rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--charcoal);
  outline: none;
}

.chat-input:focus {
  border-color: var(--brick);
}

.send-btn {
  background: var(--brick);
  color: var(--cream);
  border-radius: 20px;
  padding: 0.5rem 1.2rem;
  font-size: 13px;
  transition: opacity 0.15s;
}

.send-btn:hover {
  opacity: 0.85;
}
/* ── DATA DISCLAIMER ── */
.chat-disclaimer {
  flex-shrink: 0;
  padding: 0.5rem 0 0.25rem;
  font-family: var(--font-sans);
  font-size: 11px;
  color: rgba(58, 53, 53, 0.55);
  line-height: 1.5;
  text-align: center;
  border-top: 0.5px solid rgba(212, 168, 75, 0.25);
}