/* Force Noto Sans Khmer everywhere while translation is active */
html.kwt-active-html,
html.kwt-active-html * {
	font-family: 'Noto Sans Khmer', sans-serif !important;
}

.kwt-toggle-btn {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: #1e40af;
	color: #ffffff;
	border: none;
	border-radius: 999px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	transition: background 0.15s ease, transform 0.1s ease;
	z-index: 999999;
}

.kwt-toggle-btn:hover {
	background: #1e3a8a;
}

.kwt-toggle-btn:active {
	transform: scale(0.97);
}

.kwt-toggle-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.kwt-toggle-btn.kwt-active {
	background: #15803d;
}

.kwt-toggle-btn.kwt-active:hover {
	background: #166534;
}

/* Floating button positions */
#kwt-toggle-btn.kwt-toggle-btn {
	position: fixed;
}

.kwt-position-bottom-right {
	bottom: 20px;
	right: 20px;
}

.kwt-position-bottom-left {
	bottom: 20px;
	left: 20px;
}

.kwt-position-top-right {
	top: 20px;
	right: 20px;
}

.kwt-position-top-left {
	top: 20px;
	left: 20px;
}

/* Inline (shortcode) button sits normally in content flow */
.kwt-inline-btn {
	position: static;
	display: inline-block;
}
