/* mpw-bilingual modal + toggle */

.mpw-lang-modal {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	z-index: 99998;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.mpw-lang-modal.is-open {
	display: flex;
}

.mpw-lang-modal__panel {
	background: #fff;
	border-radius: 14px;
	max-width: 420px;
	width: 100%;
	padding: 1.75rem;
	box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
	text-align: center;
	font-family: inherit;
}

.mpw-lang-modal__panel h2 {
	color: #1d4ed8;
	margin: 0 0 0.75rem;
	font-size: 1.35rem;
}

.mpw-lang-modal__panel p {
	color: #475569;
	margin: 0 0 1.25rem;
}

.mpw-lang-modal__actions {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	justify-content: center;
}

.mpw-btn {
	border: 0;
	border-radius: 10px;
	padding: 0.7rem 1.4rem;
	font-weight: 600;
	cursor: pointer;
	font-size: 0.95rem;
}

.mpw-btn--primary {
	background: #1d4ed8;
	color: #fff;
}

.mpw-btn--primary:hover {
	background: #f97316;
}

.mpw-lang-toggle {
	position: fixed;
	top: 12px;
	right: 12px;
	z-index: 99997;
	display: inline-flex;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 999px;
	padding: 4px;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.mpw-lang-toggle__btn {
	background: transparent;
	border: 0;
	border-radius: 999px;
	padding: 4px 10px;
	cursor: pointer;
	font-size: 0.8rem;
	color: #1d4ed8;
}

.mpw-lang-toggle__btn.is-active {
	background: #1d4ed8;
	color: #fff;
}

@media (max-width: 480px) {
	.mpw-lang-toggle {
		top: 8px;
		right: 8px;
	}
}
