

#ia-chat-wrapper {
  max-width: 680px;
  margin: 4rem auto;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}


#ia-chat {
  padding: 2rem;
  max-height: 540px;
  overflow-y: auto;
  scrollbar-width: thin;
  position: relative;
  height: auto;
  max-height: 520px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
#ia-chat::-webkit-scrollbar {
  width: 6px;
}
#ia-chat::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

/* 🎤 ESTILO GENERAL DE MENSAJES */
.ia-message-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 1.2rem;
}

.ia-icon {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
	border-radius: 30px !important;
}

.ia-message {
  font-size: 14.5px;
  line-height: 1.6;
  color: #111827;
  max-width: 90%;
}

.ia-message p {
  margin: 0 0 6px;
}

.ia-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 1rem 0;
}

/* 💭 SUGERENCIAS */
#ia-suggestions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1.5rem;
}

.suggestion-pill {
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: background 0.2s ease;
}
.suggestion-pill:hover {
  background: #f9fafb;
}

/* 📎 RECURSOS */
.resources-title {
  font-weight: 600;
  font-size: 13px;
  color: #1f2937;
  margin-top: 1.2rem;
}
.resource-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 0.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
  text-decoration: none;
  display: block;
  color: #1f2937;
}
.resource-card:hover {
  background: #f9fafb;
}
.resource-card-title {
  font-weight: 600;
  font-size: 14px;
}
.resource-card-breadcrumb {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

/* 🔽 INPUT Y BOTÓN */
#ia-input-area {
  display: flex;
  gap: 0.5rem;
  padding: 1.2rem 2rem;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
#ia-input {
  flex-grow: 1;
  padding: 10px 14px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
}
#ia-send {
  padding: 0 20px;
  background: #5353E9;
  color: white;
  border: none;
}
.ia-message p {
  margin-bottom: 0.8em;
}

.ia-message strong {
  font-weight: 600;
}