#bnk-ai-chatbot {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 9999;
	font-family: Arial, sans-serif;
}

#bnk-ai-chatbot * {
	box-sizing: border-box;
}

#bnk-ai-chatbot .chat-toggle {
	width: 72px;
	height: 72px;
	border: none;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	padding: 0;
	overflow: hidden;
}

#bnk-ai-chatbot .chat-toggle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

#bnk-ai-chatbot .chat-window {
	display: none;
	position: absolute;
	right: 0;
	bottom: 88px;
	width: 360px;
	height: 520px;
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
	overflow: hidden;
	border: 1px solid #e5e5e5;
}

#bnk-ai-chatbot.open .chat-window {
	display: flex;
	flex-direction: column;
}

#bnk-ai-chatbot .chat-header {
	height: 56px;
	background: #005bac;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 16px;
	font-weight: bold;
}

#bnk-ai-chatbot .chat-close {
	border: none;
	background: transparent;
	color: #ffffff;
	font-size: 22px;
	cursor: pointer;
}

#bnk-ai-chatbot .chat-messages {
	flex: 1;
	padding: 16px;
	overflow-y: auto;
	background: #f7f9fc;
}

#bnk-ai-chatbot .message {
	max-width: 82%;
	margin-bottom: 10px;
	padding: 10px 12px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.5;
	white-space: normal;
	word-break: keep-all;
	text-align: left;
}

#bnk-ai-chatbot .message.bot {
	background: #ffffff;
	color: #222222;
	border: 1px solid #e5e5e5;
	border-bottom-left-radius: 4px;
}

#bnk-ai-chatbot .message.user {
	margin-left: auto;
	background: #005bac;
	color: #ffffff;
	border-bottom-right-radius: 4px;
}

#bnk-ai-chatbot .chat-input-area {
	display: flex;
	gap: 8px;
	padding: 12px;
	background: #ffffff;
	border-top: 1px solid #e5e5e5;
}

#bnk-ai-chatbot .chat-input {
	flex: 1;
	height: 42px;
	border: 1px solid #d0d7de;
	border-radius: 12px;
	padding: 0 12px;
	font-size: 14px;
	outline: none;
}

#bnk-ai-chatbot .chat-input:focus {
	border-color: #005bac;
}

#bnk-ai-chatbot .chat-send {
	width: 64px;
	border: none;
	border-radius: 12px;
	background: #005bac;
	color: #ffffff;
	font-weight: bold;
	cursor: pointer;
}

#bnk-ai-chatbot .chat-send:disabled {
	background: #a7b7c7;
	cursor: not-allowed;
}

#bnk-ai-chatbot .message.bot ul {
	padding-left: 18px;
	margin: 6px 0;
}

#bnk-ai-chatbot .message.bot li {
	margin-bottom: 4px;
}

#bnk-ai-chatbot .message.bot strong {
	font-weight: 700;
}

#bnk-ai-chatbot .message.bot code {
	background: #f0f4f8;
	border-radius: 4px;
	padding: 2px 5px;
	font-family: monospace;
	font-size: 13px;
}

#bnk-ai-chatbot .message.bot pre {
	background: #f0f4f8;
	border-radius: 8px;
	padding: 10px;
	overflow-x: auto;
}

/* 모바일 전용 반응형 스타일 */
@media ( max-width : 480px) {
	#bnk-ai-chatbot {
		right: 16px;
		bottom: 16px;
	}
	#bnk-ai-chatbot .chat-window {
		width: calc(100vw - 32px);
		height: 70vh;
		right: 0;
		bottom: 84px;
	}
}

.chat-bubble.bot {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 16px 16px 16px 4px;
	padding: 12px 16px;
	font-size: 14px;
	line-height: 1.7;
	display: inline-block;
	max-width: 80%;
	animation: slideUp 0.4s 0.3s ease forwards;
	opacity: 0;
}

@keyframes slideUp {from { opacity:0;
	transform: translateY(10px);
}

to {
	opacity: 1;
	transform: translateY(0);
}
}