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

.swc-root {
	--swc-color: #25d366;
	--swc-text-color: #fff;
	--swc-size: 60px;
	--swc-icon-size: 30px;
	--swc-radius: 50%;
	--swc-offset-x: 24px;
	--swc-offset-y: 24px;
	--swc-z: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	z-index: var(--swc-z);
}

.swc-floating {
	position: fixed;
	bottom: calc(var(--swc-offset-y) + env(safe-area-inset-bottom, 0px));
	z-index: var(--swc-z);
}

.swc-floating.swc-position-bottom-right {
	right: calc(var(--swc-offset-x) + env(safe-area-inset-right, 0px));
}

.swc-floating.swc-position-bottom-left {
	left: calc(var(--swc-offset-x) + env(safe-area-inset-left, 0px));
}

.swc-inline {
	position: relative;
	display: inline-flex;
	vertical-align: middle;
}

.swc-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: var(--swc-size);
	height: var(--swc-size);
	min-width: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--swc-radius);
	background: var(--swc-color);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
	color: var(--swc-text-color);
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	isolation: isolate;
	transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
	-webkit-tap-highlight-color: transparent;
}

.swc-has-label .swc-button {
	width: auto;
	max-width: min(320px, calc(100vw - 32px));
	padding: 0 20px;
	border-radius: min(var(--swc-radius), 28px);
}

.swc-button:hover {
	color: var(--swc-text-color);
	text-decoration: none;
	filter: brightness(0.96);
	transform: translateY(-2px);
	box-shadow: 0 11px 30px rgba(0, 0, 0, 0.27);
}

.swc-button:active {
	transform: translateY(0) scale(0.98);
}

.swc-button:focus-visible,
.swc-contact-link:focus-visible,
.swc-close:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
	box-shadow: 0 0 0 6px #1d4ed8;
}

.swc-button-disabled,
.swc-button:disabled {
	cursor: not-allowed;
	filter: grayscale(0.55);
	opacity: 0.72;
}

.swc-button-disabled:hover,
.swc-button:disabled:hover {
	transform: none;
}

.swc-icon {
	flex: 0 0 auto;
	width: var(--swc-icon-size);
	height: var(--swc-icon-size);
	display: block;
}

.swc-button-label {
	display: block;
	overflow: hidden;
	max-width: 220px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.swc-single-offline {
	position: absolute;
	top: -9px;
	right: -8px;
	max-width: 120px;
	overflow: hidden;
	padding: 2px 7px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: #475569;
	color: #fff;
	font-size: 10px;
	font-weight: 750;
	line-height: 1.35;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.swc-contact-language {
	align-self: flex-start;
	padding: 1px 6px;
	border-radius: 999px;
	background: #eef2f6;
	color: #475569;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

[dir="rtl"] .swc-contact-link:hover {
	transform: translateX(-2px);
}

[dir="rtl"] .swc-single-offline {
	right: auto;
	left: -8px;
}

.swc-panel[hidden] {
	display: none !important;
}

.swc-panel {
	position: absolute;
	bottom: calc(100% + 14px);
	width: min(350px, calc(100vw - 32px));
	max-height: min(70vh, 600px);
	overflow: auto;
	padding: 0;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 55px rgba(15, 23, 42, 0.25);
	color: #172033;
	text-align: start;
	transform: translateY(8px) scale(0.98);
	transform-origin: bottom right;
	opacity: 0;
	transition: opacity 150ms ease, transform 150ms ease;
	overscroll-behavior: contain;
}

.swc-position-bottom-right .swc-panel {
	right: 0;
}

.swc-position-bottom-left .swc-panel {
	left: 0;
	transform-origin: bottom left;
}

.swc-inline .swc-panel {
	top: calc(100% + 12px);
	bottom: auto;
	transform-origin: top left;
}

.swc-panel.is-open {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.swc-panel-header {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 17px 18px 14px;
	border-bottom: 1px solid #e8edf4;
	background: #fff;
}

.swc-panel-title {
	margin: 0;
	padding: 0;
	color: #172033;
	font-size: 18px;
	font-weight: 750;
	line-height: 1.25;
}

.swc-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-width: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #f1f5f9;
	color: #334155;
	font: inherit;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.swc-close:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.swc-contact-list {
	list-style: none;
	margin: 0;
	padding: 8px;
}

.swc-contact-item {
	margin: 0;
	padding: 0;
}

.swc-contact-link {
	display: flex;
	align-items: center;
	gap: 13px;
	width: 100%;
	min-height: 72px;
	margin: 0;
	padding: 10px;
	border: 0;
	border-radius: 13px;
	background: transparent;
	color: #172033;
	text-align: start;
	text-decoration: none;
	transition: background 140ms ease, transform 140ms ease;
}

.swc-contact-link:hover {
	background: #f2fbf5;
	color: #172033;
	text-decoration: none;
	transform: translateX(2px);
}

.swc-contact-offline {
	cursor: not-allowed;
	opacity: 0.65;
}

.swc-contact-offline:hover {
	background: transparent;
	transform: none;
}

.swc-avatar {
	display: inline-flex;
	flex: 0 0 50px;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	overflow: hidden;
	border-radius: 50%;
	background: #e6f8ec;
	color: #166534;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.swc-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.swc-contact-copy {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
}

.swc-contact-name {
	overflow: hidden;
	color: #172033;
	font-size: 15px;
	font-weight: 750;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.swc-contact-title {
	overflow: hidden;
	color: #64748b;
	font-size: 13px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.swc-contact-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 2px;
	color: #64748b;
	font-size: 12px;
}

.swc-status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #94a3b8;
}

.swc-contact-status.is-online .swc-status-dot {
	background: #16a34a;
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.13);
}

.swc-contact-status.is-offline .swc-status-dot {
	background: #94a3b8;
}

.swc-external-note {
	margin: 0;
	padding: 11px 17px 15px;
	border-top: 1px solid #eef2f7;
	color: #64748b;
	font-size: 11px;
	line-height: 1.45;
}

.swc-animation-pulse .swc-button::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	border-radius: inherit;
	background: var(--swc-color);
	content: "";
	animation: swc-pulse 2.8s ease-out infinite;
}

.swc-animation-bounce .swc-button {
	animation: swc-bounce 5s ease-in-out infinite;
}

@keyframes swc-pulse {
	0%, 35% {
		transform: scale(1);
		opacity: 0.45;
	}
	75%, 100% {
		transform: scale(1.38);
		opacity: 0;
	}
}

@keyframes swc-bounce {
	0%, 82%, 100% { transform: translateY(0); }
	86% { transform: translateY(-7px); }
	90% { transform: translateY(0); }
	94% { transform: translateY(-3px); }
}

@media (max-width: 767px) {
	.swc-hide-mobile {
		display: none !important;
	}

	.swc-panel {
		width: min(350px, calc(100vw - 24px));
		max-height: min(72vh, 560px);
	}

	.swc-floating.swc-position-bottom-right .swc-panel {
		right: min(0px, calc(12px - var(--swc-offset-x)));
	}

	.swc-floating.swc-position-bottom-left .swc-panel {
		left: min(0px, calc(12px - var(--swc-offset-x)));
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.swc-hide-tablet {
		display: none !important;
	}
}

@media (min-width: 1025px) {
	.swc-hide-desktop {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.swc-root *,
	.swc-root *::before,
	.swc-root *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

@media (forced-colors: active) {
	.swc-button,
	.swc-panel,
	.swc-close,
	.swc-contact-link {
		border: 1px solid ButtonText;
	}
}

.swc-backdrop[hidden] {
	display: none !important;
}

.swc-backdrop {
	position: fixed;
	z-index: 1;
	inset: 0;
	background: transparent;
}

.swc-button {
	z-index: 3;
}

.swc-panel {
	z-index: 2;
}
