/* Widget del chatbot (extraído de Include_G_1/ChatbotWidget.asp) */
#edudatos-chatbot-boton{
		position:fixed;
		right:20px;
		/* 140px para no solaparse con los botones flotantes "Ir Arriba"/"Ir Abajo"
		   que Index.asp dibuja en la misma esquina (right:22px, bottom:22px/82px) */
		bottom:140px;
		width:58px;
		height:58px;
		border-radius:50%;
		background:linear-gradient(135deg,#084298,#0d6efd,#20c997);
		color:#fff;
		border:none;
		box-shadow:0 8px 20px rgba(0,0,0,.25);
		font-size:1.5rem;
		z-index:1050;
		cursor:pointer;
	}
	#edudatos-chatbot-panel{
		position:fixed;
		right:20px;
		bottom:208px;
		width:340px;
		max-width:calc(100vw - 40px);
		height:460px;
		max-height:calc(100vh - 120px);
		background:#fff;
		border-radius:16px;
		box-shadow:0 12px 32px rgba(0,0,0,.28);
		display:none;
		flex-direction:column;
		overflow:hidden;
		z-index:1050;
		font-family:inherit;
	}
	#edudatos-chatbot-panel.edudatos-chatbot-abierto{
		display:flex;
	}
	#edudatos-chatbot-cabecera{
		background:linear-gradient(135deg,#084298,#0d6efd,#20c997);
		color:#fff;
		padding:12px 14px;
		font-weight:800;
		font-size:.95rem;
		display:flex;
		justify-content:space-between;
		align-items:center;
	}
	#edudatos-chatbot-cerrar{
		background:transparent;
		border:none;
		color:#fff;
		font-size:1.1rem;
		cursor:pointer;
		line-height:1;
	}
	#edudatos-chatbot-mensajes{
		flex:1;
		overflow-y:auto;
		padding:12px;
		background:#f7f9fc;
	}
	.edudatos-chatbot-msg{
		max-width:85%;
		margin-bottom:8px;
		padding:8px 11px;
		border-radius:12px;
		font-size:.88rem;
		line-height:1.4;
		white-space:pre-wrap;
		word-wrap:break-word;
	}
	.edudatos-chatbot-msg-usuario{
		background:#0d6efd;
		color:#fff;
		margin-left:auto;
		border-bottom-right-radius:2px;
	}
	.edudatos-chatbot-msg-bot{
		background:#e9edf2;
		color:#233040;
		margin-right:auto;
		border-bottom-left-radius:2px;
	}
	#edudatos-chatbot-aviso{
		border-top:1px solid #e4e9ef;
		padding:5px 12px;
		font-size:.72rem;
		line-height:1.3;
		color:#6c757d;
		background:#fff;
	}
	#edudatos-chatbot-caja{
		display:flex;
		border-top:1px solid #e4e9ef;
		padding:8px;
		gap:6px;
	}
	#edudatos-chatbot-input{
		flex:1;
		border:1px solid #d7dee6;
		border-radius:20px;
		padding:8px 12px;
		font-size:.88rem;
		outline:none;
	}
	#edudatos-chatbot-enviar{
		background:#0d6efd;
		color:#fff;
		border:none;
		border-radius:50%;
		width:36px;
		height:36px;
		flex-shrink:0;
		cursor:pointer;
	}
	#edudatos-chatbot-enviar:disabled{
		opacity:.6;
		cursor:default;
	}
