body {
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.chat-container {
  width: 400px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#chat-box {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}

.message {
  margin: 5px 0;
  padding: 8px 12px;
  border-radius: 6px;
  max-width: 80%;
}

.user {
  background: #d1e7dd;
  align-self: flex-end;
}

.bot {
  background: #e2e3e5;
  align-self: flex-start;
}

.input-area {
  display: flex;
  border-top: 1px solid #ccc;
}

#user-input {
  flex: 1;
  padding: 10px;
  border: none;
}

#send-btn {
  padding: 10px 15px;
  border: none;
  background: #0d6efd;
  color: white;
  cursor: pointer;
}
.feedback {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.9em;
  color: #555;
}

.thumb-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.thumb-btn:hover {
  transform: scale(1.2);
}
.feedback {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.9em;
  color: #555;
  flex-wrap: wrap;
}

.thumb-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.thumb-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.thumb-btn:hover:not(:disabled) {
  transform: scale(1.2);
}

.inline-input {
  padding: 3px 6px;
  font-size: 0.9em;
}

.save-btn {
  padding: 3px 6px;
  font-size: 0.9em;
  background: #0d6efd;
  color: white;
  border: none;
  cursor: pointer;
}

.thanks {
  font-style: italic;
  color: green;
}
