.swc-root {
	position: fixed !important;
	z-index: 99999 !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
	font-size: 15px !important;
	line-height: 1.4 !important;
	box-sizing: border-box !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-end !important;
}

.swc-root *,
.swc-root *::before,
.swc-root *::after {
	box-sizing: border-box !important;
}

.swc-bottom-right { right: 20px !important; bottom: 20px !important; }
.swc-bottom-left { left: 20px !important; bottom: 20px !important; align-items: flex-start !important; }
.swc-top-right { right: 20px !important; top: 20px !important; }
.swc-top-left { left: 20px !important; top: 20px !important; align-items: flex-start !important; }

.swc-bubble {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	height: 44px !important;
	padding: 0 18px 0 14px !important;
	border-radius: 999px !important;
	background: var(--swc-color, #25D366) !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
	cursor: pointer !important;
	text-decoration: none !important;
	transition: transform 0.15s ease !important;
}

.swc-bubble:hover {
	transform: scale(1.04) !important;
	color: #ffffff !important;
}

.swc-bubble-text {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #ffffff !important;
	white-space: nowrap !important;
}

.swc-icon-close { display: none !important; }

.swc-open .swc-icon-wa { display: none !important; }
.swc-open .swc-icon-close { display: block !important; }

.swc-panel {
	position: absolute !important;
	bottom: 60px !important;
	right: 0 !important;
	width: 320px !important;
	max-width: calc(100vw - 40px) !important;
	background: #ffffff !important;
	border-radius: 12px !important;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2) !important;
	overflow: hidden !important;
	display: none !important;
}

.swc-bottom-left .swc-panel,
.swc-top-left .swc-panel { left: 0 !important; right: auto !important; }

.swc-top-right .swc-panel,
.swc-top-left .swc-panel { top: 60px !important; bottom: auto !important; }

.swc-open .swc-panel { display: block !important; }

.swc-header {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	padding: 14px 16px !important;
	background: var(--swc-color, #25D366) !important;
	color: #ffffff !important;
}

.swc-avatar {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 36px !important;
	height: 36px !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.3) !important;
	color: #ffffff !important;
	flex: 0 0 auto !important;
}

.swc-header-text { display: flex !important; flex-direction: column !important; }

.swc-title {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #ffffff !important;
	margin: 0 !important;
}

.swc-status {
	font-size: 12px !important;
	opacity: 0.85 !important;
	color: #ffffff !important;
}

.swc-body {
	padding: 16px !important;
	background: #f0f2f5 !important;
	max-height: 380px !important;
	overflow-y: auto !important;
}

.swc-msg {
	max-width: 85% !important;
	padding: 9px 12px !important;
	border-radius: 10px !important;
	margin: 0 0 8px 0 !important;
	font-size: 14px !important;
	word-wrap: break-word !important;
}

.swc-msg-in {
	background: #ffffff !important;
	color: #111111 !important;
	border-top-left-radius: 2px !important;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08) !important;
}

.swc-cta {
	display: block !important;
	margin-top: 12px !important;
	padding: 11px 16px !important;
	border-radius: 24px !important;
	background: var(--swc-color, #25D366) !important;
	color: #ffffff !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	text-align: center !important;
	text-decoration: none !important;
	cursor: pointer !important;
}

.swc-cta:hover {
	color: #ffffff !important;
	filter: brightness(0.95) !important;
}

@media (max-width: 480px) {
	.swc-panel { width: calc(100vw - 40px) !important; }
}
