/* Language Switcher Styles */

.language-switcher {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 10px 0;
	font-size: 14px;
}

.language-switcher-label {
	font-weight: 600;
	color: #333;
	margin-right: 5px;
}

.language-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 8px;
}

.language-item {
	margin: 0;
	padding: 0;
}

.language-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 12px;
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	color: #333;
	transition: all 0.3s ease;
	font-size: 13px;
	font-weight: 500;
}

.language-link:hover {
	background-color: #e8e8e8;
	border-color: #999;
	color: #000;
}

.language-item.active .language-link {
	background-color: #2c3e50;
	color: white;
	border-color: #2c3e50;
}

.language-flag {
	font-size: 16px;
	display: inline-block;
}

.language-name {
	display: none;
}

/* Mobile responsiveness */
@media (min-width: 768px) {
	.language-name {
		display: inline;
	}
}

/* Alternative compact style */
.language-switcher.compact {
	gap: 5px;
}

.language-switcher.compact .language-link {
	padding: 4px 8px;
	font-size: 12px;
}

/* Dropdown style variant */
.language-switcher.dropdown {
	position: relative;
}

.language-switcher.dropdown .language-list {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	flex-direction: column;
	background: white;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	margin-top: 5px;
	z-index: 1000;
	min-width: 150px;
}

.language-switcher.dropdown:hover .language-list {
	display: flex;
}

/* For header integration */
.site-header .language-switcher {
	margin: 0;
	float: right;
	padding: 10px 20px 0 0;
}

/* Footer integration */
.site-footer .language-switcher {
	justify-content: center;
	margin: 20px 0;
	border-top: 1px solid #ddd;
	padding-top: 20px;
}

