.yescale-chatbot-container {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	border: 1px solid #333333;
	border-radius: 12px;
	background: #ffffff;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	margin: 20px 0;
}

.yescale-chatbot-container .chat-header {
	background: linear-gradient(135deg, #000000 0%, #333333 100%);
	color: white;
	padding: 20px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
	font-size: 16px;
}

.yescale-chatbot-container .header-controls {
	display: flex;
	align-items: center;
	gap: 12px;
}

.yescale-chatbot-container .chat-clear {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: white;
	padding: 8px 12px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 12px;
	transition: all 0.2s;
}

.yescale-chatbot-container .chat-clear:hover {
	background: rgba(255, 255, 255, 0.2);
}

.yescale-chatbot-container .chat-messages {
	flex: 1;
	padding: 24px;
	overflow-y: auto;
	background: #f8f9fa;
	scroll-behavior: smooth;
}

.yescale-chatbot-container .message {
	display: flex;
	margin-bottom: 20px;
	animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.yescale-chatbot-container .avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	margin-right: 12px;
	flex-shrink: 0;
}

.yescale-chatbot-container .bot-message .avatar {
	background: linear-gradient(135deg, #333333, #000000);
	color: white;
}

.yescale-chatbot-container .user-message {
	flex-direction: row-reverse;
}

.yescale-chatbot-container .user-message .avatar {
	background: linear-gradient(135deg, #666666, #333333);
	color: white;
	margin-left: 12px;
	margin-right: 0;
}

.yescale-chatbot-container .content {
	flex: 1;
	max-width: calc(100% - 60px);
}

.yescale-chatbot-container .text {
	background: white;
	color: #333333;
	padding: 16px 20px;
	border-radius: 18px;
	line-height: 1.5;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	word-wrap: break-word;
	border: 1px solid #e5e7eb;
}

.yescale-chatbot-container .user-message .text {
	background: #333333;
	color: white;
	border: 1px solid #333333;
}

.yescale-chatbot-container .time {
	font-size: 11px;
	color: #666666;
	margin-top: 6px;
	padding-left: 4px;
}

.yescale-chatbot-container .user-message .time {
	text-align: right;
	padding-right: 4px;
	padding-left: 0;
	color: #999999;
}

.yescale-chatbot-container .chat-input-area {
	background: white;
	border-top: 1px solid #e1e5e9;
	padding: 20px 24px;
}

.yescale-chatbot-container .typing-indicator {
	display: flex;
	align-items: center;
	margin-bottom: 16px;
}

.yescale-chatbot-container .typing-dots {
	background: #e5e7eb;
	padding: 12px 16px;
	border-radius: 18px;
	display: flex;
	gap: 4px;
}

.yescale-chatbot-container .typing-dots span {
	width: 6px;
	height: 6px;
	background: #666666;
	border-radius: 50%;
	animation: typing 1.4s infinite;
}

.yescale-chatbot-container .typing-dots span:nth-child(2) {
	animation-delay: 0.2s;
}

.yescale-chatbot-container .typing-dots span:nth-child(3) {
	animation-delay: 0.4s;
}

@keyframes typing {
	0%, 60%, 100% {
		transform: scale(1);
		opacity: 0.5;
	}
	30% {
		transform: scale(1.2);
		opacity: 1;
	}
}

.yescale-chatbot-container .input-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: #f8f9fa;
	border-radius: 24px;
	padding: 12px 16px;
	border: 2px solid #e5e7eb;
	transition: all 0.2s;
}

.yescale-chatbot-container .input-container:focus-within {
	border-color: #333333;
	background: white;
}

.yescale-chatbot-container .chat-input {
	flex: 1;
	border: none;
	background: transparent;
	outline: none;
	resize: none;
	font-size: 14px;
	line-height: 1.5;
	max-height: 120px;
	min-height: 20px;
	font-family: inherit;
	color: #333333;
}

.yescale-chatbot-container .chat-input::placeholder {
	color: #999999;
}

.yescale-chatbot-container .send-btn {
	background: linear-gradient(135deg, #333333, #000000);
	border: none;
	color: white;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	flex-shrink: 0;
}

.yescale-chatbot-container .send-btn:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	background: linear-gradient(135deg, #555555, #333333);
}

.yescale-chatbot-container .send-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

.yescale-chatbot-container .chat-messages::-webkit-scrollbar {
	width: 6px;
}

.yescale-chatbot-container .chat-messages::-webkit-scrollbar-track {
	background: transparent;
}

.yescale-chatbot-container .chat-messages::-webkit-scrollbar-thumb {
	background: #cccccc;
	border-radius: 3px;
}

.yescale-chatbot-container .chat-messages::-webkit-scrollbar-thumb:hover {
	background: #999999;
}

@media (max-width: 768px) {
	.yescale-chatbot-container {
		border-radius: 0;
		height: 100vh !important;
	}

	.yescale-chatbot-container .chat-header {
		padding: 16px;
	}

	.yescale-chatbot-container .chat-messages {
		padding: 16px;
	}

	.yescale-chatbot-container .chat-input-area {
		padding: 16px;
	}

	.yescale-chatbot-container .message {
		margin-bottom: 16px;
	}
}
