* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body,
html {
	background-color: #6366f1;
}

.container {
	gap: 16px;
	margin: 16px;
}

.flex {
	display: flex;
}

.flex-column {
	display: flex;
	flex-direction: column;
}

.flex-null-center {
	display: flex;
	align-items: center;
}

.flex-center-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

.module-box {
	border-radius: 16px;
	background-color: white;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.title {
	/* background: -webkit-linear-gradient(0deg, #FFB800, #22DC12, #0E9DEE);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent; */
}

.text-shadow {
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.margin-top {
	margin-top: 16px;
}

.upload-box {
	border: 2px dashed #ccc;
	padding: 32px 0;
	cursor: pointer;
	transition: border-color 0.3s, background 0.3s;
}

.upload-box:hover {
	border-color: #6366f1;
	background: #f8f8ff;
}

#cropModal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 999;
}

#cropButtons {
	background-color: white;
	width: 100%;
	text-align: center;
	gap: 16px;
	padding: 16px;
}

#cropButtons button {
	width: 100%;
	border: none;
	height: 50px;
	border-radius: 50px;
	font-size: 20px;
	font-weight: 500;
}

.slider-container {
	padding: 16px;
	gap: 16px;
}

.slider-container>div {
	gap: 16px;
}

input[type=range] {
	width: 100%;
	flex: 1;
}

.menu-box {
	padding: 16px;
	gap: 16px;

	display: flex;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.menu-box::-webkit-scrollbar {
	display: none;
}

.line-box {
	white-space: nowrap;
	border-radius: 8px;
	padding: 8px 16px;
	border: 1px solid #cfcfcf;
}

.line-box.active {
	background-color: #6366f1;
	color: #fff;
}

.subsection-box {
	position: relative;
	display: flex;
	border-radius: 16px;
	overflow: hidden;
	height: 40px;
}

.item-box {
	flex: 1;
	z-index: 1;
	transition: color 0.3s;
	user-select: none;
	font-weight: 500;
}

.item-box.active {
	color: white;
}

.slider {
	position: absolute;
	width: calc(100% / 3 - 8px);
	height: 32px;
	background-color: #6366f1;
	border-radius: 16px;
	transition: left 0.3s ease;
	z-index: 0;
	margin: 4px;
}

.preview-container {
	font-size: 0;
}

.preview-container>div {
	width: 100%;
	display: none;
}

.preview-container>div.active {
	display: block;
}

.success {
	display: none;
}

.success.active {
	display: flex;
}