/* Smartling Language Selector Styles */
.smartling-language-selector-wrapper {
	position: relative;
	display: inline-block;
	margin-bottom: 20px;
}

.smartling-language-selector {
	position: relative;
}

.smartling-language-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	background: white;
	border: 1px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #000 !important;
	transition: all 0.3s ease;
	outline: none;
}

.smartling-language-toggle:hover {
	border-color: #007cba;
	background: #f5f5f5;
}

.smartling-flag {
	font-size: 16px;
	display: inline-block;
	margin-right: 8px;
}

.smartling-lang-name {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.smartling-arrow {
	font-size: 12px;
	transition: transform 0.3s ease;
}

.smartling-language-toggle:hover .smartling-arrow {
	transform: rotate(180deg);
}

.smartling-language-menu {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 0;
	list-style: none;
	margin: 0;
	padding: 4px 0;
	background: white;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	min-width: max-content;
	width: auto;
	max-height: none;
	overflow-y: visible;
	display: none;
	z-index: 9999;
}

.smartling-language-menu.active {
	display: block;
}

.smartling-menu-item {
	margin: 0;
	padding: 0;
}

.smartling-menu-link {
	display: block;
	height: 37px;
	line-height: 36px;
	font-size: 13px;
	padding: 0 10px;
	width: 100%;
	box-sizing: border-box;
	font-weight: normal;
	color: #000 !important;
	text-decoration: none;
	transition: all 0.2s ease;
	border-left: 3px solid transparent;
	text-align: left;
	white-space: nowrap;
}

.smartling-menu-link:hover {
	background: #f5f5f5;
}

.smartling-menu-link.active {
	background: #f0f7ff;
	border-left-color: #007cba;
	color: #007cba;
	font-weight: 600;
}

.smartling-lang-text {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	flex: 1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
	.smartling-language-toggle {
		padding: 6px 10px;
		font-size: 13px;
	}

	.smartling-language-menu {
		min-width: max-content;
		bottom: calc(100% + 4px);
	}
}
