/* https://uiverse.io/Codecite/angry-bullfrog-58 */
#submit-btn {
	--fancy-button-gradient-0: #8d49fd;
	--fancy-button-gradient-50: #7f56f3;
	--fancy-button-gradient-100: #5691f3;
	--fancy-button-inner-shadow-top: rgba(233, 209, 255, 0.2);
	--fancy-button-inner-shadow-top-lg: rgba(9, 12, 60, 0.1);
	--fancy-button-inner-shadow-bottom: rgba(137, 222, 246, 0.3);
	--fancy-button-shine-top: #e9d1ff;
	--fancy-button-shine-bottom: #adfff9;
	font-weight: 500;
	font-size: 18pt;
	line-height: 21px;
	text-shadow: 0px 0.5px 0.5px rgba(0, 0, 0, 0.2);
	padding: 1ex;
	margin: 0;
	appearance: none;
	border: none;
	outline: none;
	overflow: hidden;
	position: relative;
	cursor: pointer;
	z-index: 1;
	border-radius: 25px;
	color: #fff;
	background-image: linear-gradient(
		to bottom,
		var(--fancy-button-gradient-0) 0%,
		var(--fancy-button-gradient-50) 50%,
		var(--fancy-button-gradient-100) 100%
	);
	box-shadow:
		0px 4px 12px rgba(9, 12, 60, 0.15),
		0px 2px 8px rgba(9, 12, 60, 0.15),
		0px 1px 3px var(--fancy-button-inner-shadow-top-lg),
		inset 0px 1px 1px var(--fancy-button-inner-shadow-top),
	inset 0px -1px 3px var(--fancy-button-inner-shadow-bottom);
}

#submit-btn:before,
#submit-btn:after {
	content: "";
	position: absolute;
	border-radius: inherit;
	will-change: transform;
}

#submit-btn:before {
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--fancy-button-shine-top);
	width: 96px;
	height: 6px;
	top: -3px;
	opacity: 0.6;
	filter: blur(6px);
	transition: opacity 0.25s;
}

#submit-btn:after {
	inset: 0;
	background-size: cover;
	z-index: 2;
	opacity: 0.3;
	mix-blend-mode: overlay;
	pointer-events: none;
}

#submit-btn span {
	display: block;
	padding: 12px 24px;
	border-radius: inherit;
	overflow: hidden;
	position: relative;
	background-image: linear-gradient(
		to bottom,
		var(--fancy-button-shine-top),
		transparent 8px
	);
	background-position: 0 -6px;
	background-repeat: no-repeat;
	z-index: 1;
}

#submit-btn span:before,
#submit-btn span:after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 50%;
	background-color: var(--fancy-button-shine-bottom);
	transition: opacity 0.25s, transform 0.25s;
	will-change: transform;
}

#submit-btn span:before {
	width: 92px;
	height: 8px;
	bottom: -4px;
	opacity: 0.75;
	filter: blur(6px);
}

#submit-btn span:after {
	width: 112px;
	height: 1px;
	bottom: 0;
	opacity: 0.9;
	filter: blur(1px);
}

#submit-btn:hover span:before {
	opacity: 0.8;
}

#submit-btn:hover span:before {
	transform: translateX(-50%) scale(1.25);
}

#submit-btn:hover span:after {
	opacity: 1;
}

/* https://uiverse.io/Yaya12085/rude-mouse-79 */
div.radio-inputs {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	border-radius: 0.5rem;
	background-color: #EEE;
	box-sizing: border-box;
	box-shadow: 0 0 0px 1px rgba(0, 0, 0, 0.06);
	padding: 0.25rem;
	width: 350px;
	font-size: 14px;
	margin-top: 2ex;
}

div.radio-inputs .radio {
	flex: 1 1 auto;
	text-align: center;
}

div.radio-inputs .radio input[type=radio] {
	display: none;
}

div.radio-inputs .radio .name {
	display: flex;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	border-radius: 0.5rem;
	border: none;
	padding: .5rem 0.5ex;
	color: rgba(51, 65, 85, 1);
	transition: all .15s ease-in-out;
}

div.radio-inputs .radio input:checked + .name {
	background-color: #fff;
	font-weight: 600;
}

/* https://uiverse.io/Satwinder04/ancient-sloth-30 */
/* Input container */
.input-container {
	position: relative;
	margin: 0 20px;
}

/* Input field */
.input-field {
	display: block;
	width: 60%;
	padding: 10px;
	font-size: 16px;
	border: none;
	border-bottom: 2px solid #ccc;
	outline: none;
	background-color: transparent;
}

/* Input label */
.input-label {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 16px;
	color: rgba(204, 204, 204, 0);
	pointer-events: none;
	transition: all 0.3s ease;
}

/* Input highlight */
.input-highlight {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 2px;
	width: 0;
	background-color: #007bff;
	transition: all 0.3s ease;
}

/* Input field:focus styles */
.input-field:focus + .input-label {
	top: -20px;
	font-size: 12px;
	color: #007bff;
}

.input-field:focus + .input-label + .input-highlight {
	width: 60%;
}

/* https://uiverse.io/elijahgummer/sweet-rabbit-5 */
button.reset-btn {
	font: inherit;
	background-color: #f0f0f0;
	border: 0;
	color: #242424;
	border-radius: 0.5em;
	font-size: 2ex;
	padding: 0.37em 0.8em;
	font-weight: 500;
	text-shadow: 0 0.0625em 0 #fff;
	box-shadow: inset 0 0.0625em 0 0 #f4f4f4, 0 0.0625em 0 0 #efefef,
	  0 0.125em 0 0 #ececec, 0 0.25em 0 0 #e0e0e0, 0 0.3125em 0 0 #dedede,
	  0 0.375em 0 0 #dcdcdc, 0 0.425em 0 0 #cacaca, 0 0.425em 0.5em 0 #cecece;
	transition: 0.15s ease;
	cursor: pointer;
}

button.reset-btn:active {
	translate: 0 0.225em;
	box-shadow: inset 0 0.03em 0 0 #f4f4f4, 0 0.03em 0 0 #efefef,
	  0 0.0625em 0 0 #ececec, 0 0.125em 0 0 #e0e0e0, 0 0.125em 0 0 #dedede,
	  0 0.2em 0 0 #dcdcdc, 0 0.225em 0 0 #cacaca, 0 0.225em 0.375em 0 #cecece;
}

/* https://uiverse.io/Yaseen549/cowardly-emu-68 */
input[type=number] {
	border: 2px solid #6287ac;
	border-radius: 10px;
	padding: 10px 25px;
	background: transparent;
	max-width: 190px;
}

input[type=number]:active {
	box-shadow: 2px 2px 15px #6287ac inset;
}

/* From Uiverse.io by gharsh11032000 */
/* The switch - the box around the slider */
.switch {
	font-size: 17px;
	position: relative;
	display: inline-block;
	width: 3.5em;
	height: 2em;
}

/* Hide default HTML checkbox */
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

/* The slider */
.slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	border: 2px solid #414141;
	border-radius: 50px;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.26, 1.275);
}

.slider:before {
	position: absolute;
	content: "";
	height: 1.4rem;
	width: 1.4rem;
	left: 0.2rem;
	bottom: 0.1rem;
	background-color: darkred;
	border-radius: inherit;
	transition: all 0.4s cubic-bezier(0.23, 1, 0.26, 1);
}

.switch input:checked + .slider {
	box-shadow: 0 0 20px rgba(0, 120, 0, 0.8);
	border: 2px solid #414141;
}

.switch input:checked + .slider:before {
	transform: translateX(1.2rem);
	background-color: darkgreen;
}
