.nt-lang-switcher {
	position: relative;
	display: inline-block;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 14px;
}

.nt-lang-switcher--fixed {
	position: fixed;
	z-index: 99990;
}

.nt-lang-switcher--bottom-right {
	bottom: 20px;
	right: 20px;
}

.nt-lang-switcher--bottom-left {
	bottom: 20px;
	left: 20px;
}

.nt-lang-switcher--top-right {
	top: 20px;
	right: 20px;
}

.nt-lang-switcher__toggle {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nt-lang-switcher__dropdown {
	position: absolute;
	bottom: calc(100% + 6px);
	right: 0;
	z-index: 1;
	min-width: 180px;
	margin: 0;
	padding: 4px 0;
	list-style: none;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.nt-lang-switcher__dropdown[hidden] {
	display: none !important;
}

.nt-lang-switcher.is-open .nt-lang-switcher__dropdown {
	display: block;
}

.nt-lang-switcher--bottom-right .nt-lang-switcher__dropdown,
.nt-lang-switcher--bottom-left .nt-lang-switcher__dropdown {
	bottom: calc(100% + 6px);
	top: auto;
}

.nt-lang-switcher--top-right .nt-lang-switcher__dropdown {
	top: calc(100% + 6px);
	bottom: auto;
}

.nt-lang-switcher--bottom-left .nt-lang-switcher__dropdown,
.nt-lang-switcher--top-right .nt-lang-switcher__dropdown {
	right: auto;
	left: 0;
}

.nt-lang-switcher__link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	color: inherit;
	text-decoration: none;
}

.nt-lang-switcher__link:hover {
	background: #f5f5f5;
}

.nt-detection-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nt-detection-modal[hidden] {
	display: none !important;
}

.nt-detection-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.nt-detection-modal__dialog {
	position: relative;
	background: #fff;
	padding: 24px;
	border-radius: 12px;
	max-width: 400px;
	width: 90%;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.nt-detection-modal__title {
	margin: 0 0 16px;
	font-size: 18px;
}

.nt-detection-modal__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nt-detection-modal__actions a {
	text-align: center;
	padding: 10px 16px;
	border-radius: 6px;
	text-decoration: none;
}

.nt-detection-continue {
	background: #e85002;
	color: #fff;
}

.nt-detection-stay {
	background: #f0f0f0;
	color: #333;
}
