/* Estilos del Trigger (Botón en el header) */
.method-lang-switcher-wrapper {
	position: relative;
	display: inline-block;
}

.method-lang-switcher-trigger {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #ffffff;
	/* Ajustar según si es dark o light header */
	text-decoration: none;
	font-family: inherit;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: 1px;
	transition: color 0.3s ease;
	cursor: pointer;
}

.method-lang-switcher-trigger:hover {
	color: #cccccc;
}

.method-lang-switcher-trigger svg {
	color: #007bff;
	/* Color azul original del globo en la foto o blanco */
	/* Si es idéntico a the method: todo blanco */
}

/* Modal Overlay */
.method-lang-switcher-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(5px);
	display: none;
	/* Oculto por defecto */
	align-items: center;
	justify-content: center;
	z-index: 99999;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.method-lang-switcher-modal.open {
	display: flex;
	opacity: 1;
}

/* Contenido del Modal */
.method-lang-switcher-modal-content {
	background: #f8f8f8;
	padding: 50px 60px;
	width: 90%;
	max-width: 550px;
	position: relative;
	text-align: center;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Botón cerrar */
.method-lang-switcher-close {
	position: absolute;
	top: 20px;
	right: 20px;
	color: #000;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.3s ease;
}

.method-lang-switcher-close:hover {
	transform: scale(1.1);
}

/* Título */
.method-lang-switcher-title {
	font-family: 'Playfair Display', serif;
	/* Fuente elegante, similar a The Method */
	font-size: 24px;
	font-weight: 400;
	color: #111;
	margin-top: 0;
	margin-bottom: 30px;
	line-height: 1.4;
	letter-spacing: 2px;
	text-transform: uppercase;
}

/* Lista de idiomas */
.method-lang-switcher-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.method-lang-switcher-list li {
	margin-bottom: 20px;
}

.method-lang-switcher-list li:last-child {
	margin-bottom: 0;
}

.method-lang-switcher-list a {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #111;
	text-decoration: none;
	letter-spacing: 3px;
	text-transform: uppercase;
	transition: color 0.3s ease;
	position: relative;
}

.method-lang-switcher-list a:hover {
	color: #555;
}

.method-lang-switcher-list a.active {
	border-bottom: 1px solid #111;
	padding-bottom: 2px;
}

/* Adjust globe color based on user image */
.method-lang-switcher-trigger svg {
	color: #ffffff;
	/* Globe is now white */
}

.method-lang-switcher-trigger span {
	font-weight: bold;
}