.wcw-widget-container {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 999999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	transition: opacity 0.5s ease;
}

.wcw-hidden {
	opacity: 0;
	pointer-events: none;
}

.wcw-floating-button {
	background-color: #25D366;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wcw-floating-button:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.wcw-tooltip {
	background-color: #ffffff;
	color: #333333;
	padding: 10px 15px;
	border-radius: 8px;
	font-size: 14px;
	margin-bottom: 15px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	position: relative;
	font-weight: 500;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
	transform: translateY(10px);
}

.wcw-widget-container:hover .wcw-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.wcw-tooltip-arrow {
	position: absolute;
	bottom: -8px;
	right: 20px;
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid #ffffff;
}

.wcw-dialog-box {
	display: none;
	width: 350px;
	background-color: #E5DDD5;
	border-radius: 12px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
	margin-bottom: 20px;
	overflow: hidden;
	opacity: 0;
	transform: scale(0.9);
	transform-origin: bottom right;
	transition: all 0.3s ease;
}

.wcw-dialog-box.wcw-show {
	display: block;
	opacity: 1;
	transform: scale(1);
}

.wcw-dialog-header {
	background-color: #075E54;
	color: #ffffff;
	padding: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.wcw-agent-info {
	display: flex;
	align-items: center;
}

.wcw-agent-avatar {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	margin-right: 12px;
	object-fit: cover;
	background-color: #fff;
}

.wcw-agent-name {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
}

.wcw-agent-status {
	font-size: 12px;
	opacity: 0.8;
	margin-top: 2px;
}

.wcw-close-dialog {
	font-size: 24px;
	cursor: pointer;
	line-height: 1;
	opacity: 0.7;
	transition: opacity 0.2s;
}

.wcw-close-dialog:hover {
	opacity: 1;
}

.wcw-dialog-body {
	padding: 20px 15px;
	background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d0c9c0' fill-opacity='0.4' fill-rule='evenodd'%3E%3Ccircle cx='50' cy='50' r='1'/%3E%3C/g%3E%3C/svg%3E");
	min-height: 120px;
}

.wcw-chat-message {
	background-color: #ffffff;
	padding: 10px 12px;
	border-radius: 8px;
	border-top-left-radius: 0;
	position: relative;
	max-width: 85%;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.wcw-chat-message::before {
	content: '';
	position: absolute;
	top: 0;
	left: -8px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 10px 10px 0;
	border-color: transparent #ffffff transparent transparent;
}

.wcw-message-author {
	font-size: 13px;
	color: #075E54;
	font-weight: 600;
	margin-bottom: 5px;
}

.wcw-message-text {
	font-size: 14px;
	color: #333333;
	line-height: 1.4;
	margin: 0;
}

.wcw-message-text p {
	margin: 0;
}

.wcw-message-time {
	font-size: 11px;
	color: #999999;
	text-align: right;
	margin-top: 4px;
}

.wcw-dialog-footer {
	background-color: #f0f0f0;
	padding: 15px;
	text-align: center;
}

.wcw-start-chat-btn {
	background-color: #25D366;
	color: #ffffff !important;
	text-decoration: none;
	padding: 10px 20px;
	border-radius: 24px;
	font-size: 15px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s;
	width: 100%;
	box-sizing: border-box;
}

.wcw-start-chat-btn:hover {
	background-color: #1DA851;
}

@media (max-width: 480px) {
	.wcw-dialog-box {
		width: 300px;
	}
}
