@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Orbitron', sans-serif;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.chat-wrapper {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 15px #0ff;
}

.title {
  text-align: center;
  font-size: 2rem;
  color: #0ff;
  margin-bottom: 10px;
}

.chat-container {
  max-height: 400px;
  overflow-y: auto;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  margin-bottom: 10px;
}

.chat-bubble {
  padding: 10px;
  margin: 8px 0;
  border-radius: 16px;
  max-width: 80%;
  line-height: 1.4;
}

.chat-bubble.user {
  background-color: #0ff;
  color: #000;
  align-self: flex-end;
  text-align: right;
  margin-left: auto;
}

.chat-bubble.bot {
  background-color: #333;
  color: #fff;
  align-self: flex-start;
  text-align: left;
  margin-right: auto;
}

.chat-form {
  display: flex;
  gap: 10px;
}

#chat-input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  background-color: #111;
  color: #0ff;
  outline: none;
}

button {
  background-color: #0ff;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  cursor: pointer;
  color: #000;
  font-weight: bold;
  transition: 0.2s ease-in-out;
}

button:hover {
  background-color: #00e5e5;
}
