body {
  background: #1f1f1f;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}
header {
  background: #000;
  padding: 12px;
  text-align: center;
}
header img {
  max-height: 50px;
}
#chat-container {
  max-width: 800px;
  margin: 40px auto;
  background: #1f1f1f;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.chat-messages {
  background: #121212;
  padding: 20px;
  border-radius: 12px;
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 20px;
}
.roxy-message, .user-message {
  display: flex;
  margin-bottom: 12px;
}
.roxy-message {
  justify-content: flex-start;
}
.user-message {
  justify-content: flex-end;
}
.roxy-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
  flex-shrink: 0;
  align-self: flex-start;
}
.chat-bubble {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 16px;
  line-height: 1.4;
  position: relative;
  word-break: break-word;
}
.roxy-message .chat-bubble {
  background-color: #deef0b;
  color: #000;
  border-top-left-radius: 0;
}
.user-message .chat-bubble {
  background-color: #333;
  color: #fff;
  border-top-right-radius: 0;
}
.chat-input {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 16px;
}
.chat-input input[type="text"] {
  flex: 1;
  padding: 14px;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid #444;
  background-color: #2c2c2c;
  color: #fff;
}
.chat-input input[type="text"]::placeholder {
  color: #aaa;
}
.chat-input button {
  padding: 14px 20px;
  background-color: #deef0b;
  color: #000;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
}
.loading-bar {
  width: 100%;
  height: 4px;
  background: #eee;
  overflow: hidden;
  margin-top: 8px;
  position: relative;
  border-radius: 3px;
}
.loading-bar::before {
  content: '';
  position: absolute;
  height: 100%;
  width: 30%;
  background: #DEEF0B;
  animation: slidebar 1.2s linear infinite;
  border-radius: 3px;
}
@keyframes slidebar {
  0% { left: -30%; }
  50% { left: 50%; }
  100% { left: 100%; }
}
select {
  margin-bottom: 16px;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
}
