#codeButtons {
	position: fixed;
	bottom: 20px;
	right: 20px;
	display: flex;
	gap: 6px;
}

#codeButtons button,
#buttons-container button {
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	z-index: 1000;
}

#codeModal,
#sceneModal {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #21252b;
	padding: 20px;
	border-radius: 5px;
	z-index: 1001;
	gap: 10px;
	flex-direction: column;
}

#codeInput,
#sceneInput {
	width: 800px;
	height: 1000px;
	max-width: 80vw;
	max-height: 80vh;
	background: #2d2d2d;
	color: #fff;
	padding: 10px;
	font-family: monospace;
	border: 1px solid #444;
	margin-bottom: 10px;
}

.modal-buttons {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.modal-buttons button {
	padding: 5px 15px;
	border: none;
	border-radius: 3px;
	cursor: pointer;
}

.popup {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.4);
	align-items: center;
	justify-content: center;
}

.popup-content {
	background-color: #fefefe;
	background: #21252b;
	padding: 20px;
	width: 30%;
	max-height: 90vh;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #4b5363 #282c34;
}

#editorContainer {
	flex-grow: 1;
	width: 1200px;
	height: 1000px;
	max-width: 80vw;
	max-height: 80vh;
	border: 1px solid #454545;
}

#buttons-container {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 10px;
}
