

#chatSidebar {
  position: fixed;
  bottom: 0px; /* ⬆ Elevado desde el borde inferior */
  right: 85px;
  width: 300px;
  font-family: sans-serif;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  z-index: 9999;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

/* Limita la altura del cuerpo del chat */
.chat-body {
  max-height: 482px;
  overflow-y: auto;
  padding: 15px;
}

.chat-header {
  background: #007bff;
  color: white;
  padding: 10px;
  cursor: pointer;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}


#chatMensajes {
  height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 5px;
  margin-bottom: 10px;
}

#chatSidebar input, #chatSidebar textarea {
  width: 100%;
  margin-bottom: 5px;
}

#chatSidebar button {
  width: 100%;
  background: #007bff;
  color: white;
  border: none;
  padding: 8px;
  border-radius: 4px;
}
.chat-instruccion {
    background: #e8f0fe;
    border-left: 4px solid #0078d4;
    padding: 0px;
    margin: 0px;
    border-radius: 6px;
    font-size: 11px;
    color: #333;
}
 .chat-header {
  background-color: #009A43;
  color: white;
  padding: 12px 16px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header:hover {
  background-color: #0056b3;
}
@keyframes parpadeo {
  0%, 100% { background-color: #007bff; }
  50% { background-color: #009a43; }
}
.chat-header.parpadeo {
  animation: parpadeo 0.5s ease-in-out 6;
}

.checkbox-linea {
  display: flex;
  gap: 30px; /* más espacio entre opciones */
  flex-wrap: wrap;
}

.checkbox-linea label {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #0072bb;
  font-size: 1.2rem; /* texto más grande */
  padding: 10px 30px; /* más espacio alrededor del texto */
  border-radius: 6px; /* opcional: bordes suaves */
  b/*ackground-color: #f0f8ff;  opcional: fondo claro para destacar */
}

.checkbox-linea input[type="checkbox"] {
  transform: scale(1.5); /* agranda el checkbox */
  margin-right: 10px; /* espacio entre checkbox y texto */
}
.chat-instruccion {
  background: #e8f0fe;
  border-left: 4px solid #0078d4;
  padding: 10px;
  margin: 10px 0;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
}