@charset "utf-8";

#chatbot {
	position: fixed;
	bottom: 70px; /* Ajusta para que aparezca encima del botón */
	right: 20px;
	width: 300px;
	background-color: #FFFFFF;
	border: 1px solid #28A745;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	font-family: RobotoCondensed-Regular;
	z-index: 1000;
	display: none; /* Oculto por defecto */
}

#chatbot-header {
	background-color: #28A745;
	color: #FFF;
	padding: 10px;
	border-radius: 10px 10px 0 0;
	text-align: center;
	font-weight: bold;
}

        /* Contenedor de mensajes (ya existente) */
#chatbot-messages {
	display: flex;
	flex-direction: column;
	padding: 10px;
	height: 300px;
	overflow-y: auto;
	background-color: #FFF; /* Fondo blanco */
}

#chatbot-input {
	display: flex;
	border-top: 1px solid #0F0B38;
}

#chatbot-input textarea {
	flex: 1;
	padding: 10px;
	border: none;
	border-radius: 0 0 0 10px;
	resize: none;
	font-family: RobotoCondensed-Regular;
}

#chatbot-input button {
	background-color:#333;
	color: #FFFFFF;
	border: none;
	padding: 10px;
	border-radius: 0 0 10px 0;
	cursor: pointer;
}

#chatbot-input button:hover {
	background-color: #D87A1A;
}

#toggle-chatbot {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #F7931E;
	color: #FFFFFF;
	border: none;
	padding: 10px 15px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 18px;
	z-index: 1001;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#toggle-chatbot:hover {
	background-color: #D87A1A;
}
		
/* Mensajes del usuario */
.user-message {
	background-color: #E1FCE1; /* Verde claro */
	color: #000; /* Verde oscuro */
	align-self: flex-end;
	margin-left: auto;
	padding: 8px;
	border: thin solid #28A745;
	border-radius:5px;
}
		
/* Mensajes del chatbot */
.bot-message {
	background-color: #9ecbfc; /* Azul claro */
	color: #000; /* Azul oscuro */
	align-self: flex-start;
	margin-right: auto;
	padding: 8px;
	border: thin solid #06F;
	border-radius: 5px;
}
