input:not([type="radio"], .nstyle) {
	margin: .2rem;
	border-radius: .5rem;
	font-size: 12px;
	padding: 5px 7px 5px 7px;
	height: .7rem;
	/* border: 1.6px solid rgba(255, 255, 255, .2); */
	border: none;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: textfield;
	position: relative;
	top: 1.5px;
}

@media (prefers-color-scheme: light) {

	/* input:not(input[type="radio"]),
	button:not(:hover, :active) {
		background: rgba(255, 255, 255, .8) !important;
		box-shadow: 0px 2px 10px rgba(12, 12, 18, .05) !important;
	} */

	input:not([type="radio"], .nstyle):hover {
		background: rgba(255, 255, 255, .9) !important;
	}
}

@media (prefers-color-scheme: dark) {
	input:not([type="radio"], .nstyle) {
		background: rgba(255, 255, 255, .12);
		box-shadow: 0px 2px 10px rgba(12, 12, 18, .15);
	}

	input:not([type="radio"], .nstyle):hover {
		background: rgba(255, 255, 255, .15);
		box-shadow: 0px 2px 12px rgba(12, 12, 18, .2);
	}

	input:not([type="radio"], .nstyle):focus {
		box-shadow: 0px 3px 14px rgba(12, 12, 18, .25);
		border: 1.6px solid rgba(255, 255, 255, .2);
		margin-left: calc(.2rem - 1.6px);
		margin-right: calc(.2rem - 1.6px);
	}
}

input.ss,
fieldset.ss {
	width: 2rem;
}

input.s,
fieldset.s {
	width: 4rem;
}

input.m,
fieldset.m {
	width: 6rem;
}

input.l,
fieldset.l {
	width: 8rem;
}

input.xl,
fieldset.xl {
	width: 12rem;
}

div.center {
	text-align: center;
}

button {
	height: 1.56rem;
	cursor: pointer;
	text-align: center;
	font-size: 15px;
	line-height: 15px;
	/* height: 1.6rem; */
	margin: .2rem;
	padding: 2px 3px 2px 3px;
	border-radius: .5rem;
	background: rgba(255, 255, 255, .15);
	box-shadow: 1px 2px 8px rgba(12, 12, 18, .15);
	border: 1.6px solid rgba(255, 255, 255, .2);
}


.box button:not(.dialog button) {
	border: none;
}

button:hover {
	background: rgba(255, 255, 255, .4);
	box-shadow: inset 1px 2px 8px rgba(12, 12, 18, .15);
}

select {
	border-radius: .5rem;
	background: rgba(255, 255, 255, .2);
	box-shadow: 1px 2px 8px rgba(12, 12, 18, .15);
	border: 1.6px solid rgba(255, 255, 255, .2);
}

input[type="checkbox"] {
	cursor: pointer;
	content: '';
	position: relative;
	-webkit-appearance: none;
	width: 40px;
	height: 24.4px;
	line-height: 44px;
	background: #f9fde9;
	border-radius: 30px;
	transform: translateY(-.5rem);
	border: 1.5px solid #111;
}

input[type="checkbox"]:before {
	margin: 1.5px;
	position: absolute;
	left: 0;
	content: '';
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .8);
	/* box-shadow: 0px 0px 5px #ddd; */
	transition: all 0.2s linear;
	transform: translateY(-.3rem);
}

input[type="checkbox"]:before:not(.dark-mode:before) {
	background: #404629;
}

input[type="checkbox"]:checked {
	content: '' !important;
	background: #c9ccb9;
}

input[type="checkbox"]:checked:before {
	content: '' !important;
	left: 16px;
	transition: all 0.2s linear;
}

input[type="checkbox"].style1 {
	background: #e2eaf8;
}

input[type="checkbox"].style1:checked {
	background: #D8BEf9 !important;
}

input[type="checkbox"].style1:before {
	background: rgba(0, 0, 0, .8);
}

div.end {
	display: inline-block;
	width: 100%;
	text-align: end;
	/* position: absolute; */
	/* right: 1rem; */
}

button.warn:hover {
	background: #FF4f56;
	box-shadow: 0 0 12px #FF4f56
}

button.warn:active {
	background: #7fFF86;
	box-shadow: 0 0 12px #7fFF86
}

.tea-checkbox:checked,
.tea-checkbox:checked:focus,
input[type=checkbox]:checked,
input[type=checkbox]:checked:focus {
	background: #d6e7c5 !important;
}

input[type=checkbox].dark-mode:checked,
input[type=checkbox].dark-mode:checked:focus {
	background:
		var(--mio-theme-color-extensions-on-do-container) !important;
	filter: brightness(.8) grayscale(.2) hue-rotate(10deg);
}

input[type="radio"] {
	opacity: 0;
}

input[type="radio"]:checked+label:before,
input[type="radio"]+label:before {
	content: "";
	height: 1rem;
	width: 1rem;
	display: block;
	border: .125rem solid #aaa;
	border-radius: 50%;
	position: absolute;
	margin-left: -1.5rem;
	transform: translateY(-8%);
}

input[type="radio"]:checked+label:before {
	box-shadow: .125rem .125rem 0 #fff inset, -.125rem -.125rem 0 #fff inset, -.125rem .125rem 0 #fff inset, .125rem -.125rem 0 #fff inset, .3rem .3rem 0 #aaa inset, -.5rem -.5rem 0 #bbb inset;
}

label {
	display: inline-block;
	cursor: pointer;
	padding: 0 .5rem;
	margin: .6rem;
}

input,
button {
	margin: .2rem !important;
}

.ng-button {
	font-family: var(--mio-theme-v2-headline-s-font-family);
	font-size: var(--mio-theme-v2-headline-s-font-size);
	font-weight: var(--mio-theme-v2-headline-s-font-weight);
	letter-spacing: var(--mio-theme-v2-headline-s-letter-spacing);
	line-height: var(--mio-theme-v2-headline-s-line-height);
	font-variation-settings: "GRAD"var(--mio-theme-v2-headline-s-font-variation-GRAD), "opsz"var(--mio-theme-v2-headline-s-font-variation-opsz);
	position: relative;
	width: 100%;
	height: 80px;
	padding: 0 48px;
	transition: all 200ms cubic-bezier(0.2, 0, 0, 1);
	border: 0;
	border-radius: 48px;
	background-color: var(--mio-theme-color-primary);
	color: var(--mio-theme-color-on-primary);
	white-space: nowrap;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	overflow: hidden;
	border: 2px solid transparent;
	backdrop-filter: blur(.4rem);
}

.ng-button:hover {
	border: 2px solid rgba(255, 255, 255, .12) !important;
	color: #000;
}

.input-outer {
	/* height: 60px; */
	position: relative;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	border-bottom: 2px solid rgba(128, 128, 128, .2);
	padding: 0;
	color: #aaa;
	overflow: hidden;
	height: 70px;
	/* border-radius: .6rem; */
	/* border: 1.2px solid var(--mio-theme-color-on-background); */
}

.input-inner {
	background: transparent;
	border: none;
	height: 30px;
	width: 100%;
	padding: 0 5px;
	outline: none;
	border: none !important;
}

.input-outer legend {
	line-height: 14px;
	/*设置行高，防止因为字体缩放导致元素高度变化*/
	font-size: 14px;
	pointer-events: none;
	user-select: none;
	transform: translate3d(0, 100%, 0);
	/* background: var(--mio-theme-color-background); */
	/*标题平移至合适位置*/
	transition: all .2s ease;
}

.input-outer legend label {
	cursor: text;
}

.input-outer.active {
	/* border-top: 2px solid #409EFF;
    border-left: 2px solid #409EFF;
    border-right: 2px solid #409EFF; */
	border-bottom: 2px solid #409EFF;
}

.input-outer.actived {
	border-bottom: 2px solid rgba(128, 128, 128, .2);
}

.input-outer.active legend {
	font-size: 12px;
	color: #409EFF;
	/* transform: translate3d(-80%, 32%, 0); */
	transform: translate3d(0, 32%, 0);
}
