#icst-chat-bubble {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #1a56db;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	z-index: 999998;
	font-size: 26px;
}

#icst-chat-window {
	position: fixed;
	bottom: 88px;
	right: 20px;
	width: 320px;
	max-width: calc(100vw - 40px);
	height: 440px;
	max-height: calc(100vh - 140px);
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
	display: none;
	flex-direction: column;
	overflow: hidden;
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#icst-chat-window.icst-open {
	display: flex;
}

.icst-header {
	background: #1a56db;
	color: #fff;
	padding: 12px 14px;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.icst-header .icst-close {
	cursor: pointer;
	font-size: 18px;
}

.icst-messages {
	flex: 1;
	overflow-y: auto;
	padding: 10px;
	background: #f7f8fa;
}

.icst-msg {
	max-width: 80%;
	margin-bottom: 8px;
	padding: 8px 10px;
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.4;
	word-wrap: break-word;
}

.icst-msg.icst-in {
	background: #e9ecf5;
	color: #1a1a1a;
	align-self: flex-start;
	margin-right: auto;
}

.icst-msg.icst-out {
	background: #1a56db;
	color: #fff;
	margin-left: auto;
}

.icst-messages {
	display: flex;
	flex-direction: column;
}

.icst-input-row {
	display: flex;
	border-top: 1px solid #eee;
	padding: 8px;
	gap: 6px;
}

.icst-input-row input {
	flex: 1;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 8px 10px;
	font-size: 13px;
}

.icst-input-row button {
	background: #1a56db;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 0 14px;
	cursor: pointer;
}

.icst-input-row button:disabled {
	opacity: 0.6;
	cursor: default;
}
