#tk-wa-widget,
#tk-wa-widget * {
	box-sizing: border-box;
}

#tk-wa-widget {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 999990;
	font-family: inherit;
}

#tk-wa-widget .tk-wa-main-button {
	width: 62px;
	height: 62px;
	border: 0;
	border-radius: 50%;
	background: #20c766;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 5px 20px rgba(0,0,0,.2);
	transition: transform .2s ease, box-shadow .2s ease;
	padding: 0;
}

#tk-wa-widget .tk-wa-main-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0,0,0,.24);
}

#tk-wa-widget .tk-wa-main-button svg {
	width: 34px;
	height: 34px;
}

#tk-wa-widget .tk-wa-bubble {
	position: absolute;
	right: 0;
	bottom: 76px;
	width: 286px;
	max-width: calc(100vw - 36px);
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 30px 11px 11px;
	background: #fff;
	color: #374151;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	box-shadow: 0 5px 24px rgba(0,0,0,.13);
	opacity: 1;
	transform: translateY(0);
	transition: opacity .2s ease, transform .2s ease;
}

#tk-wa-widget .tk-wa-bubble:after {
	content: "";
	position: absolute;
	right: 20px;
	bottom: -7px;
	width: 13px;
	height: 13px;
	background: #fff;
	border-right: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
	transform: rotate(45deg);
}

#tk-wa-widget .tk-wa-bubble-avatar,
#tk-wa-widget .tk-wa-panel-avatar {
	display: flex;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	overflow: hidden;
}

#tk-wa-widget .tk-wa-bubble-avatar svg,
#tk-wa-widget .tk-wa-panel-avatar svg {
	width: 100%;
	height: 100%;
	display: block;
}

#tk-wa-widget .tk-wa-bubble-copy {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

#tk-wa-widget .tk-wa-bubble-copy strong {
	font-size: 14px;
	line-height: 1.3;
	color: #174b45;
}

#tk-wa-widget .tk-wa-bubble-copy span {
	font-size: 11px;
	line-height: 1.4;
	color: #6b7280;
}

#tk-wa-widget .tk-wa-bubble-close,
#tk-wa-widget .tk-wa-panel-close {
	position: absolute;
	top: 7px;
	right: 8px;
	width: 22px;
	height: 22px;
	border: 0;
	background: transparent;
	color: #9ca3af;
	font-size: 19px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

#tk-wa-widget .tk-wa-panel {
	position: absolute;
	right: 0;
	bottom: 76px;
	width: 326px;
	max-width: calc(100vw - 32px);
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 17px;
	box-shadow: 0 8px 32px rgba(0,0,0,.17);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px) scale(.98);
	transform-origin: bottom right;
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

#tk-wa-widget.tk-wa-open .tk-wa-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

#tk-wa-widget.tk-wa-open .tk-wa-bubble {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(6px);
}

#tk-wa-widget .tk-wa-panel-head {
	position: relative;
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 16px 38px 15px 15px;
	background: #f3f4f6;
	border-bottom: 1px solid #e5e7eb;
}

#tk-wa-widget .tk-wa-panel-avatar {
	width: 43px;
	height: 43px;
}

#tk-wa-widget .tk-wa-panel-head strong,
#tk-wa-widget .tk-wa-panel-head span {
	display: block;
}

#tk-wa-widget .tk-wa-panel-head strong {
	font-size: 13px;
	line-height: 1.35;
	color: #1f2937;
}

#tk-wa-widget .tk-wa-panel-head span {
	margin-top: 3px;
	font-size: 11px;
	color: #6b7280;
	line-height: 1.35;
}

#tk-wa-widget .tk-wa-admin-list {
	padding: 9px 12px 4px;
}

#tk-wa-widget .tk-wa-admin {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 8px;
	color: #374151 !important;
	text-decoration: none !important;
	border-bottom: 1px solid #f0f1f3;
	border-radius: 9px;
	transition: background .15s ease;
}

#tk-wa-widget .tk-wa-admin:last-child {
	border-bottom: 0;
}

#tk-wa-widget .tk-wa-admin:hover {
	background: #f9fafb;
}

#tk-wa-widget .tk-wa-admin-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e5e7eb;
	color: #4b5563;
	font-size: 13px;
	font-weight: 700;
	flex: 0 0 auto;
}

#tk-wa-widget .tk-wa-admin-info {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

#tk-wa-widget .tk-wa-admin-info strong {
	font-size: 13px;
	color: #1f2937;
	line-height: 1.3;
}

#tk-wa-widget .tk-wa-admin-info small {
	font-size: 11px;
	color: #6b7280;
	line-height: 1.3;
}

#tk-wa-widget .tk-wa-admin-action {
	padding: 6px 11px;
	border-radius: 999px;
	background: #e8f5ed;
	color: #16834a;
	font-size: 11px;
	font-weight: 700;
}

#tk-wa-widget .tk-wa-panel-foot {
	padding: 10px 14px 12px;
	text-align: center;
	font-size: 10px;
	color: #9ca3af;
	background: #fff;
}

@media (max-width: 480px) {
	#tk-wa-widget {
		right: 15px;
		bottom: 16px;
	}
	#tk-wa-widget .tk-wa-main-button {
		width: 58px;
		height: 58px;
	}
	#tk-wa-widget .tk-wa-bubble,
	#tk-wa-widget .tk-wa-panel {
		right: 0;
		bottom: 70px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#tk-wa-widget *,
	#tk-wa-widget *:before {
		transition: none !important;
	}
}
