/* ==========================================================================
   WP Translate Engine – Frontend styles
   ========================================================================== */

/* Language switcher list (widget / shortcode)
   ========================================================================== */
ul.wpte-switcher {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 8px;
}

ul.wpte-switcher li a {
	text-decoration: none;
}

ul.wpte-switcher li.wpte-active a {
	font-weight: bold;
}

/* Dropdown language switcher (nav menu injection)
   ========================================================================== */
li.wpte-lang-dropdown {
	position: relative;
	list-style: none;
	cursor: pointer;
	user-select: none;
}

.wpte-lang-current {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 0 10px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
	color: inherit;
}

.wpte-lang-list {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	width: 100px !important;
	min-width: 0 !important;
	max-width: 100px !important;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 4px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	list-style: none;
	margin: 4px 0 0;
	padding: 4px 0;
	z-index: 9999;
}

li.wpte-lang-dropdown:hover .wpte-lang-list,
li.wpte-lang-dropdown.wpte-open .wpte-lang-list {
	display: block;
}

.wpte-lang-list li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wpte-lang-list li a {
	display: block;
	padding: 11px 14px;
	font-size: 18px;
	line-height: 1.3;
	text-decoration: none;
	color: #333;
	white-space: nowrap;
	transition: background 0.15s;
}

.wpte-lang-list li a:hover {
	background: #f0f0f0;
	color: #000;
}

.wpte-lang-list li.wpte-active a {
	font-weight: 700;
	color: #000;
}
