body {
    font-family: system-ui, sans-serif;
    margin: 2rem;
    line-height: 1.5;
  }
  nav a {
    margin-right: 1rem;
  }
  /* Fondo general */
body {
  background-color: #0A1543;
  color: white;
}

/* Tarjeta principal del chat */
.lumina-card {
  background-color: #0A1543;
  border: 2px solid #9100CC;
  border-radius: 16px;
  padding: 2rem;
  max-width: 900px;
  margin: 2rem auto;
}

/* Título principal (Lumina) */
.lumina-title {
  color: white;
  font-size: 2rem;
  text-shadow: 0 0 8px #FD5EE8;
}

/* Subtítulos y texto secundario */
.lumina-subtitle,
.lumina-footer,
.lumina-messages,
.lumina-row {
  color: white;
}

/* Input */
.lumina-input {
  padding: 0.6rem;
  border-radius: 8px;
  border: none;
  margin-right: 0.5rem;
}

/* Botón Enviar */
.lumina-send {
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  color: white;
  font-weight: bold;
  background: linear-gradient(90deg, #FD5EE8, #30DFFF);
  box-shadow: 0 0 10px rgba(253, 94, 232, 0.6);
}
/* ================================
   ESTILOS PARA LAS BURBUJAS
================================ */

/* La fila del mensaje (para alinearlos) */
.lumina-row {
  display: flex;
  margin-bottom: 1rem;
}

/* Usuario a la derecha */
.lumina-row.user {
  justify-content: flex-end;
}

/* Lumina a la izquierda */
.lumina-row.assistant {
  justify-content: flex-start;
}

/* La burbuja visual del mensaje */
.lumina-bubble {
  max-width: 80%;
  padding: 0.8rem 1.2rem;
  border-radius: 15px;
  line-height: 1.4;
  font-size: 0.95rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  white-space: pre-wrap;
  word-break: break-word;
}

/* Usuario (tú) */
.user .lumina-bubble {
  background-color: #FD5EE8;
  color: white;
  border-bottom-right-radius: 2px;
}

/* Lumina (IA) */
.assistant .lumina-bubble {
  background-color: #30DFFF;
  color: #0A1543;
  border-bottom-left-radius: 2px;
}
