body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #667eea, #764ba2);
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.logo {
  width: 50px;
  margin-right: 15px;
}

h1 {
  color: white;
}

.main {
  display: flex;
  flex: 1;
  padding: 20px;
  gap: 20px;
}

.chat-container {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  flex: 2;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

#chat {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}

.input-area {
  display: flex;
  margin-top: 10px;
}

.input-area input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
}

.input-area button {
  padding: 10px 20px;
  border: none;
  background: #43cea2;
  color: white;
  font-weight: bold;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.instructions {
  flex: 1;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 20px;
  color: white;
}

.mensaje {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 10px;
  max-width: 70%;
}

.mensaje.usuario {
  background: #43cea2;
  align-self: flex-end;
  color: white;
}

.mensaje.bot {
  background: #764ba2;
  align-self: flex-start;
  color: white;
}

.instrucciones-uso {
  background-color: #f9fafb;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-family: 'Segoe UI', sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.instrucciones-uso h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #1f2937;
}

.instrucciones-uso h4 {
  font-size: 18px;
  margin-top: 16px;
  margin-bottom: 6px;
  color: #111827;
}

.instrucciones-uso ul {
  padding-left: 20px;
  margin-bottom: 10px;
  list-style-type: disc;
  color: #374151;
}

.instrucciones-uso details {
  margin-top: 10px;
  background-color: #ffffff;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  cursor: pointer;
}

.instrucciones-uso details[open] {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

.instrucciones-uso summary {
  font-weight: 600;
  font-size: 16px;
  color: #1e40af;
  outline: none;
}

.instrucciones-uso summary::-webkit-details-marker {
  display: none;
}
