/* Tombol bahasa EN / ID. Dipakai di landing page (melayang di kanan atas) dan halaman privasi (di bilah atas). */
.lang-switch {
	position: fixed;
	top: 14px;
	right: 14px;
	z-index: 10000;
	display: inline-flex;
	padding: 3px;
	gap: 2px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	font-family: 'Varela Round', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.lang-switch button,
.lang-switch a {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	background: transparent;
	color: #475569;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	padding: 0.5rem 0.8rem;
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none;
	border-bottom: 0;
	transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch button:hover,
.lang-switch a:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.lang-switch button.is-active,
.lang-switch a.is-active {
	background: #58B0E8;
	color: #ffffff;
}

.lang-switch button:focus-visible,
.lang-switch a:focus-visible {
	outline: 2px solid #0284c7;
	outline-offset: 2px;
}

/* Di halaman privasi tombol ikut mengalir di bilah atas, bukan melayang. */
.top-nav .lang-switch {
	position: static;
	box-shadow: none;
	background: #f1f5f9;
	margin-left: auto;
	margin-right: 0.75rem;
}

@media screen and (max-width: 480px) {
	.lang-switch {
		top: 10px;
		right: 10px;
	}
	.top-nav .back-btn {
		padding: 0.5rem 0.75rem;
	}
}
