/* The Parent Container: Controls the total width and centers everything */
.turnifure-demo-master-container {
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: 100%;
	margin: 0 auto;
	padding-bottom: 0 !important;
}

.modmaker-demo-wrapper {
	position: relative;
	bottom: 80px;
	width: 100%;
	height: 500px;
	overflow: hidden;
	background: transparent;
	border-radius: 8px;
	margin-top: 15px;
}

.modmaker-demo-frame {
	height: 50vh;
	max-height: 50vh;
	width: 100%;
}

.modmaker-texture-ui {
	position: relative;
	z-index: 50;
	top: 20px;
	margin-bottom: 10px;
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	max-width: 600px;
	margin: auto;
}

.texture-group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.texture-group label {
	font-size: 0.8rem;
	font-weight: bold;
	margin-bottom: 2px;
}

.texture-group select {
	padding: 5px;
	max-width: 140px;
	border-radius: 10px;
	border: 1px solid #ccc;
	font-size: 14px;
	background: white;
}

.modmaker-share-overlay {
	position: relative;
	bottom: 160px;
	z-index: 10;
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	width: 100%;
	max-width: 600px;
	margin: auto;
}

.share-btn {
	font-size: 0.8rem !important;
	padding: 6px 10px;
	color: #FFF;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	transition: opacity 0.2s;
}

.share-btn:hover {
	border: none;
	opacity: 0.8;
}

.share-btn svg {
	fill: currentColor;
}

.btn-pin {
	background-color: #E60023;
}

.btn-fb {
	background-color: #1877F2;
}

.btn-save {
	background-color: #333;
}