section .input-wrapper.text {
	width: 12rem;
}
section .color-content .input-wrapper.text.opacity {
	width: 12rem;
}
section .preview-wrapper {
	height: 20rem;
	width: 100%;
	position: relative;
}
section #gradient-preview {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	border-radius: 0.5rem;
}
section .preview-background {
	z-index: 1;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	background-size: 15px 15px;
	background-repeat: repeat;
	background-image:
		repeating-conic-gradient(from 0deg,
			#ffffff 0deg 90deg,
			#bababa 90deg 180deg);
	border-radius: 0.5rem;
}
section .bar-wrapper {
	height: 4.2rem;
	width: 100%;
	position: relative;
}
section #gradient-bar {
	height: 100%;
	width: 100%;
	margin-top: 2rem;
	position: absolute;
	top: 0;
	left: 0;
	cursor: copy;
	z-index: 2;
	border-radius: 0.5rem;
}
section .bar-background {
	z-index: -1;
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	background-size: 1.4rem 1.4rem;
	background-repeat: repeat;
	background-image:
		repeating-conic-gradient(from 0deg,
			#ffffff 0deg 90deg,
			#bababa 90deg 180deg);
	border-radius: 0.5rem;
}
section .color-stop {
	position: absolute;
	width: 2.2rem;
	height: 2.2rem;
	border: 2px solid white;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	top: 50%;
	cursor: pointer;
	z-index: 3;
}
section .color-stop::after {
	content: attr(data-position);
	position: absolute;
	top: 2.6rem;
	left: 50%;
	transform: translateX(-50%);
	background: #000000;
	color: #ffffff;
	padding: 2px 4px;
	border-radius: 3px;
	font-size: 1.4rem;
	user-select: none;
	z-index: 3;
}
section .color-stop::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	cursor: pointer;
	width: calc(100% + 2px);
	height: calc(100% + 20px);
	border: 2px solid transparent;
	transform: translate(-50%, -50%);
	z-index: 3;
}
section .delete {
	width: 100%;
	height: 4.2rem;
	background-color: var(--color-gray);
	color: var(--color-light-white);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	margin-top: 5rem;
	user-select: none;
	border-radius: 0.5rem;
	font-size: 1.4rem;
	line-height: 1;
}
section .color-stop.selected {
	outline: 2px solid var(--color-black);
}