.chat-container {
  width: 100%;
  max-width: 900px;
  height: 70vh; /* Ajustado a menor altura */
  border-radius: 8px;
  overflow: hidden;
  background: #121212;
  display: flex;
  flex-direction: column;
  border: 1px solid #2b2b2b;
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.1);
  font-family: 'Courier New', Courier, monospace;
}

.chat-header {
  background: #1f1f1f;
  color: #FFCC00;
  padding: 14px 20px;
  text-align: center;
  font-size: 1.3em;
  font-weight: bold;
  border-bottom: 1px solid #2b2b2b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.chat-box {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #1a1a1a;
  scroll-behavior: smooth;
}

.message {
  max-width: 100%;
  padding: 12px 18px;
  border-radius: 6px;
  line-height: 1.6;
  word-wrap: break-word;
  font-size: 14px;
  background: #1f1f1f;
  color: #f4e7b0;
  border-left: 3px solid #FFCC00;
  box-shadow: 0 0 5px rgba(255, 204, 0, 0.05);
}

.user {
  align-self: flex-end;
  background: #002b36;
  color: #ffe57f;
  border-left: 3px solid #FFCC00;
}

.bot {
  align-self: flex-start;
  background: #1a1a1a;
  color: #f2de96;
  font-size: 16px;
  text-align: justify;
  border-left: 3px solid #FFCC00;
}

.message p, .message ul, .message li {
  margin: 0;
  padding: 0;
}

.input-area {
  display: flex;
  padding: 14px 16px;
  background: #121212;
  border-top: 1px solid #2b2b2b;
  gap: 10px;
}

#userInput {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid #333;
  background: #1f1f1f;
  color: #ffe57f;
  border-radius: 4px;
  outline: none;
  font-size: 14px;
  font-family: 'Courier New', Courier, monospace;
}

#userInput:focus {
  border-color: #FFCC00;
}

#sendButton {
  padding: 10px 20px;
  background: #FFCC00;
  color: #121212;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s;
  font-family: monospace;
}

#sendButton:hover {
  background: #e6b800;
}

#sendButton:active {
  transform: scale(0.97);
}

@media (max-width: 600px) {
  .chat-container {
    height: 100vh;
    border-radius: 0;
  }

  .message {
    max-width: 100%;
  }
}
