/* Import modern font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.chat-container {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 420px;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

#messages {
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 24px;
  scroll-behavior: smooth;
}

.bot, .user {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 20px;
  margin: 8px 0;
  line-height: 1.4;
  word-wrap: break-word;
}

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

.user {
  background: #007bff;
  color: #fff;
  align-self: flex-end;
}

#choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#choices button {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#choices button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

#choices button:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 480px) {
  .chat-container {
    border-radius: 0;
    padding: 16px;
    height: 100vh;
    max-width: 100%;
  }
}