/* CONTENEDOR PRINCIPAL */
#lrs-chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

/* Botón flotante */
.chatbot-launch {
  background-color: #f08d02; /* Naranja */
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  cursor: pointer;
}

.chatbot-launch.hidden {
  display: none;
}

/* Ventana chatbot */
.chatbot-bubble {
  width: 320px;
  height: 460px;
  background-color: #f08d02; /* Fondo naranja */
  border: 1px solid #d77f00; /* Naranja más oscuro */
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  display: none;
  flex-direction: column;
  overflow: hidden;
  color: #000000; /* Texto negro general */
}

.chatbot-bubble.open {
  display: flex;
}

/* Cabecera */
.chatbot-header {
  background-color: #d32f2f; /* Rojo oscuro */
  color: white;
  padding: 12px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-close {
  background: white;
  border: none;
  color: #d32f2f; /* Rojo oscuro */
  font-weight: bold;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

/* Cuerpo y mensajes */
.chatbot-body {
  flex: 1;
  padding: 10px;
  background-color: #f0f0f0; /* Gris claro */
  overflow-y: auto;
  word-wrap: break-word;
  font-size: 14px;
  display: flex;
  flex-direction: column;
}

/* Mensajes bot */
.bot-message {
  background-color: #ffffff; /* Blanco */
  color: #000000; /* Negro */
  border-radius: 16px;
  padding: 8px 12px;
  margin-bottom: 10px;
  max-width: 90%;
  align-self: flex-start;
  white-space: normal;
  word-break: break-word;
  display: block;
}

/* Mensajes usuario */
.user-message {
  background-color: #d9d9d9; /* Gris medio para usuario */
  color: #000000; /* Negro texto */
  border-radius: 16px;
  padding: 8px 12px;
  margin-bottom: 10px;
  max-width: 90%;
  align-self: flex-end;
  text-align: right;
  white-space: normal;
  word-break: break-word;
  display: block;
}

/* Botones de opciones */
.chatbot-option {
  display: block;
  width: 100%;
  background-color: #f08d02; /* Naranja */
  color: black;
  border: none;
  border-radius: 8px;
  padding: 10px;
  margin: 5px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.chatbot-option:hover {
  background-color: #d77f00;
}

/* Input mensaje */
.chatbot-input {
  display: flex;
  border-top: 1px solid #d77f00;
  padding: 8px;
  background: #f08d02; /* Fondo naranja */
}

.chatbot-input input {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid #d77f00;
  border-radius: 16px;
  font-size: 14px;
  color: #000000;
  background-color: #ffffff;
}

.chatbot-input input::placeholder {
  color: #f0a83a;
}

.chatbot-input button {
  margin-left: 8px;
  background-color: #d32f2f; /* Rojo oscuro */
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
}

