body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.chat-container {
  width: 500px;
  max-width: 90vw;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
}

.chat-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 20px;
  font-weight: bold;
  font-size: 20px;
}

.chat-messages {
  flex-grow: 1;
  padding: 20px;
  background: #f8f9fa;
  overflow-y: auto;
}

.message {
  display: flex;
  margin-bottom: 10px;
}

.user { justify-content: flex-end; }
.assistant { justify-content: flex-start; }

.bubble {
  padding: 10px 14px;
  border-radius: 18px;
  max-width: 75%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.user .bubble {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.assistant .bubble {
  background: white;
  border: 1px solid #ddd;
}

.chat-input {
  display: flex;
  align-items: center;
  padding: 10px;
  background: white;
  border-top: 1px solid #ddd;
  gap: 10px;
}

.chat-input input[type="text"] {
  flex-grow: 1;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 20px;
  outline: none;
}

.chat-input button {
  border: none;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: transform 0.2s;
}

.chat-input button:hover {
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .chat-container {
    width: 95%;
    height: 95vh;
  }
  .chat-input input[type="text"] {
    font-size: 14px;
  }
  .chat-header {
    font-size: 18px;
  }
}
