.section-chatbot {
	margin-top: 15vh;
	width: 800px;
}

:root {
	--primary-gray: #4B5563;
	--primary-dark: #374151;
	--success-green: #10B981;
	--light-gray: #F3F4F6;
}

.box-chatbot {
	width: 100%;
}

	.box-chatbot .header-chatbot {
		width: 100%;
		background-color: #ffffff;
		color: #4b5563;
		padding: 1.8rem 1.8em;
		border-radius: 1rem 1rem 0 0;
		text-align: right;
		margin-bottom: 0;
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	}

		.box-chatbot .header-chatbot h2 {
			font-weight: 600;
			font-size: 1.4rem;
			color: #000000;
			line-height: 19px;
		}

		.box-chatbot .header-chatbot .header-flex .header-right .info-icon {
			width: 32px;
			height: 32px;
			background: #000000;
			color: white;
			border-radius: 15%;
			display: flex;
			align-items: center;
			justify-content: center;
			cursor: pointer;
			transition: all 0.3s ease;
			font-size: 1.6rem;
		}

			.box-chatbot .header-chatbot .header-flex .header-right .info-icon i {
				font-size: 14px;
			}

	.box-chatbot .chat-container {
		height: 65vh;
		width: 100%;
		background-color: white;
		border-radius: 0 0 1rem 1rem;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
		margin-top: -1px;
	}

		.box-chatbot .chat-container #chat-window {
			flex-grow: 1;
			padding: 1rem;
			overflow-y: auto;
			background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
			scroll-behavior: smooth;
		}

		.box-chatbot .chat-container #interaction-area {
			padding: 1.5rem;
			background-color: white;
			border-top: 1px solid #E5E7EB;
			flex-shrink: 0;
			display: flex;
			gap: 0.5rem;
			align-items: center;
		}

			.box-chatbot .chat-container #interaction-area .input-field {
				flex: 1;
				padding: 10px;
				height: 45px !important;
				border: 2px solid #E5E7EB;
				border-radius: 0.5rem;
				/*transition: all 0.2s;*/
				font-size: 1.25rem;
				resize: none;
				max-height: 120px;
				overflow-y: hidden;
				font-size: 14px;
				font-weight: 600;
				color: #696969;
			}

				.box-chatbot .chat-container #interaction-area .input-field:focus {
					outline: none;
					border: 2px solid #E5E7EB;
					border-radius: 0.5rem;
				}

				.box-chatbot .chat-container #interaction-area .input-field::placeholder {
					color: #6B7280;
					opacity: 1;
					font-size: 13px;
				}

			.box-chatbot .chat-container #interaction-area .send-button {
				width: 45px;
				height: 45px;
				border-radius: 10%;
				background: #10B981;
				color: white;
				border: none;
				cursor: pointer;
				display: flex;
				align-items: center;
				justify-content: center;
				transition: all 0.2s;
				flex-shrink: 0;
			}

				.box-chatbot .chat-container #interaction-area .send-button:hover {
					background: #059669;
					transform: scale(1.05);
				}

				.box-chatbot .chat-container #interaction-area .send-button:disabled {
					opacity: 0.5;
					cursor: not-allowed;
				}




@keyframes fadeInSlideUp {
	from {
		opacity: 0;
		transform: translateY(15px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.message-fade-in {
	animation: fadeInSlideUp 0.3s ease-out forwards;
}

.message-row {
	display: flex;
	max-width: 100%;
	margin-bottom: 0.9rem;
}

	.message-row.justify-end {
		justify-content: flex-end;
	}

.message-bubble-wrapper {
	display: contents;
	align-items: flex-start;
	gap: 0.5rem;
}

.message-bubble {
	padding: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	word-wrap: break-word;
	line-height: 19px;
	font-size: 13px;
}

	.message-bubble p {
		margin-bottom: unset;
	}

.typing-indicator {
	display: flex;
	gap: 4px;
	padding: 12px;
}

	.typing-indicator span {
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background-color: #6b7280;
		animation: typing 1.4s infinite;
	}

		.typing-indicator span:nth-child(2) {
			animation-delay: 0.2s;
		}

		.typing-indicator span:nth-child(3) {
			animation-delay: 0.4s;
		}

@keyframes typing {
	0%, 60%, 100% {
		transform: translateY(0);
		opacity: 0.7;
	}

	30% {
		transform: translateY(-10px);
		opacity: 1;
	}
}

.message-avatar {
	font-size: 1.25rem;
	flex-shrink: 0;
	line-height: 1.4;
}

.avatar-bot {
	width: 35px;
	height: 35px;
	border-radius: 50%;
	background-color: #000000;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
	margin-right: 8px;
}

.avatar-user {
	width: 35px;
	height: 35px;
	border-radius: 50%;
	background-color: #6B7280;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.9rem;
	margin-left: 8px;
}

.BoxBotoes {
	display: flex;
	flex-wrap: wrap;
}

.bot-bubble {
	background-color: #e4e4e4;
	color: #2d2d2d;
	border-radius: 1rem 1rem 1rem 0.25rem;
	max-width: 75%;
}

	.bot-bubble br:nth-child(1) {
		display: none;
	}

	.bot-bubble a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: #374151 !important;
		background-color: #ffffff;
		border: 1px solid #d1d5db;
		padding: 8px 14px;
		border-radius: 5px;
		margin: 4px 4px 4px 0;
		text-decoration: none !important;
		font-weight: 600;
		font-size: 13px;
		transition: all 0.2s ease;
		box-shadow: 0 1px 2px rgba(0,0,0,0.05);
		white-space: nowrap;
	}

		.bot-bubble a:hover {
			background-color: #f3f4f6;
			border-color: #9ca3af;
			color: #000000 !important;
			transform: translateY(-1px);
			box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
		}

		.bot-bubble a i {
			margin-top: 3px;
			margin-right: 10px;
			color: #10b981;
			font-size: 18px;
		}

.user-bubble-wrapper {
	justify-content: flex-end;
}

.user-bubble {
	background-color: var(--light-gray);
	color: #1F2937;
	border-radius: 1rem 1rem 0.25rem 1rem;
	max-width: 80%;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.panel-header-title {
	margin: 0;
	font-size: 1.9rem;
}

.panel-header-icon {
	margin-right: 8px;
}

.logo-container-gestao {
	width: 100px;
}

.logo-img {
	width: 100%;
}

.header-right {
	width: max-content;
	text-align: right;
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: flex-end;
}

.header-flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
}


#chat-window::-webkit-scrollbar {
	width: 8px;
}

#chat-window::-webkit-scrollbar-thumb {
	background-color: #d1d5db;
	border-radius: 4px;
}
