/* style.css - Claude/ChatGPT inspired UI */
body {
  background-color: #f4f4f9;
  font-family: 'Segoe UI', sans-serif;
}

#chat-container {
  max-width: 720px;
  margin: 40px auto;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

#chat-header {
  background: #343541;
  color: #fff;
  padding: 1rem;
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
}

#chat-messages {
  height: 400px;
  overflow-y: auto;
  padding: 1rem;
  background: #eaeaea;
}

.message {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 12px;
  max-width: 80%;
  line-height: 1.4;
}

.user-message {
  background-color: #d1e7dd;
  align-self: flex-end;
  margin-left: auto;
  text-align: right;
}

.bot-message {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  align-self: flex-start;
  margin-right: auto;
}

#chat-input-area {
  display: flex;
  border-top: 1px solid #ccc;
  padding: 0.75rem;
}

#chat-input-area select,
#chat-input-area input {
  margin-right: 0.5rem;
}

#chat-input {
  flex-grow: 1;
  padding: 0.5rem;
}

#send-btn {
  white-space: nowrap;
}

.typing {
  font-style: italic;
  color: #6c757d;
}

.mode-label {
  margin-right: 8px;
  font-weight: 500;
  color: #343541;
}
