.chatbot-container {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 1000;
	font-family: Inter, 'Encode Sans', sans-serif, Arial !important;
}

.chatbot-btn {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 70px;
	height: 70px;
	background-color: transparent;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
}

.chatbot-btn:hover {
	transform: scale(1.10);
}

.tooltip-inner{	
	background-color: #DDDDDD;
	color: #444444; 
	font-size: 14px; 
  	font-weight: 500;
 	padding: 6px 12px;
}

.tooltip.bs-tooltip-top .arrow::before {
  border-top-color:#DDDDDD;
}
.tooltip.bs-tooltip-bottom .arrow::before {
  border-bottom-color:#DDDDDD;
}
.tooltip.bs-tooltip-left .arrow::before {
  border-left-color:#DDDDDD;
 }
.tooltip.bs-tooltip-right .arrow::before {
  border-right-color:#DDDDDD;
}

#iconoIA{
	width: 18px;
}

.chatbot-window {
	width: 350px;
	height: 500px;
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	display: none;
	flex-direction: column;
	overflow: hidden;
	transition: all 0.3s ease;
}

.chatbot-header {
	background-color: #235d9b;
	color: white;
	padding: 15px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.btn-chatbot-header {
	border: 0;
	background-color: transparent;
	color: #FFFFFF;
	padding: 5px 10px;
}

.btn-chatbot-header:hover {
	background-color: #386fb4;
	box-shadow: 0px 2px 22px rgba(0, 0, 0, 0.08);
}

.chatbot-body {
	flex-grow: 1;
	padding: 15px;
	overflow-y: auto;
	background-color: #f8f9fa;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: opacity 0.3s ease;
}

#userInput {
	overflow: hidden;
	resize: none;
	max-height: 80px;
	min-height: 34px;
	border-radius: 0.25rem;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	font-size: 0.8rem;
}

.chatbot-disclaimer {
	font-size: 12px;
	padding-top: 6px;
	color: #444444;
	justify-content: center;
	display: flex;
	align-items: center;
}

.message-popup {
	max-width: 90%;
	padding: 10px 15px;
	border-radius: 18px;
	font-size: 13px;
}

.bot-message-popup {
	word-wrap: break-word;
	background-color: #d9edf7;
	align-self: flex-start;
	border-bottom-left-radius: 5px;
}

.user-message-popup {
	white-space: pre-wrap;
	word-wrap: break-word; 
	background-color: #235d9b;
	color: #FFFFFF;
	align-self: flex-end;
	border-bottom-right-radius: 5px;
}

.typing-indicator {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-start;
}

.typing-dot {
  width: 5px;
  height: 5px;
  background-color: #444444;
  border-radius: 50%;
  animation: blink 1.5s infinite;
  animation-fill-mode: both;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
  margin-left: 2px;
}
.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
  margin-left: 3px;
}

@keyframes blink {
  0% {
    opacity: .1;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: .1;
  }
}


.quick-reply {
	display: inline-block;
	margin: 3px;
	padding: 5px 10px;
	background-color: #d9edf7;
	border-radius: 15px;
	font-size: 12px;
	cursor: pointer;
	transition: background-color 0.2s;
}

.quick-reply:hover {
	background-color: #bbdefb;
}

.chatbot-footer {
	padding: 15px;
	background-color: #FFFFFF;
	border-top: 1px solid #EEEEEE;
	flex-shrink: 0;
}

.chatbot-footer .form-control {
	flex: 1;
}

.btn-chatbot-send {
	border: none;
	background-color: #EEEEEE;
	padding: 0 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-top-right-radius: 0.25rem;
	border-bottom-right-radius: 0.25rem;
}

#btn-chatbot-send {
	width: 25px;
	height: 25px;
}

#btn-chatbot-send .st1 {
	fill: #235d9b;
}

.btn-chatbot-send:hover {
	background-color: #DDDDDD;
}

.input-error{
	font-size: 0.8rem;
  	color: red;
    margin-top: 5px;
  	display: none;
}
