@charset "UTF-8";

body {
	color: #5e5e5e;
	letter-spacing: 0.5px;
	font-family: Arial, sans-serif;
	background-color: #f0eaf5;
	margin: 0;
	padding: 0;
}

.container {
	margin: 0 auto;
	max-width: 1440px;
}

.trapezoid {
	width: 100%;
	height: 180px;
	position: absolute;
	top: 0;
	left: 0;
	background: linear-gradient(to right, #6f38c1, #af4d7c);
	/* 渐变色 */
}

.trapezoid .logo {
	width: 80px;
	position: absolute;
	top: 50px;
	left: 50px;
}

.trapezoid .title-box {
	position: absolute;
	top: 80px;
	right: 10%;
	font-size: 36px;
	color: white;
}

.trapezoid .title-box .title {
	font-weight: 600;
	display: inline-block;
	margin-bottom: 14px;
}

.trapezoid .title-box .title2 {
	font-size: 24px;
	font-weight: 400;
	margin-top: 4px;
}

.trapezoid .title-box .font-l {
	font-size: 32px;
	font-family: 'Helvetica';
}

/* 媒体查询 */
.steps-wrapper {
	width: 54%;
}

.btn {
	cursor: pointer;
	user-select: none;
}

.divider-box {
	width: 100%;
	text-align: center;
	clear: left;
}

.divider-box .divider {
	width: 50%;
	margin: 30px auto;
	height: 1px;
	color: #929292;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background-color: #929292;
}

.divider-box .divider::before,
.divider-box .divider::after {
	content: "";
	position: absolute;
	width: calc(50% - 8px);
	height: 3px;
	border-radius: 3px;
	background-color: #929292;
}

.divider-box .divider::before {
	left: 0;
}

.divider-box .divider::after {
	right: 0;
}

.divider-box .divider div {
	position: absolute;
	font-size: 18px;
	font-weight: bold;
	background-color: #f3edf9;
	z-index: 9;
	padding: 0 10px;
}

.name-box {
	display: flex;
	align-items: center;
	margin-top: 10px;
}

.name-box .icon {
	width: 50px;
	height: 50px;
}

.name-box2 .icon {
	width: 60px;
	height: 60px;
}

.name-box .title {
	margin-left: 14px;
	font-family: 'Lantinghei SC';
}

.name-box .title .name {
	font-weight: bold;
	font-size: 18px;
}

.name-box .title .name .tips {
	height: 20px;
}

.name-box .title .name-en {
	font-weight: bold;
	font-size: 15px;
	font-family: 'Helvetica';
}

.steps-wrapper {
	margin-top: 200px;
}

.steps-wrapper .dish-name {
	font-size: 18px;
	width: 45%;
	border-radius: 10px;
	padding: 12px;
	margin: 14px 0;
	background-color: white;
}

.jixing {
	display: inline-block;
	border-radius: 10px;
	padding: 4px;
	width: 45%;
	background-color: white;
	border-color: #f3edf9;
}

.jixing select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 8px;
	border: 1px solid #f0eaf5;
	border-radius: 5px;
	background-color: #fff;
	color: #5e5e5e;
	font-size: 16px;
}

.jixing label {
	font-weight: bold;
}

/* 美化select的下拉箭头 */
.jixing select:after {
	content: "\25BC";
	/* Unicode编码，表示向下的箭头 */
	position: absolute;
	top: 12px;
	right: 10px;
}

/* 美化选项内容 */
.jixing option {
	padding: 5px;
	background-color: #f9f9f9;
	color: #333;
}


.fanchao {
	display: inline-block;
	border-radius: 10px;
	padding: 4px;
	background-color: white;
	border-color: #f3edf9;
}

.fanchao select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 10px 8px;
	border: 1px solid #f0eaf5;
	border-radius: 5px;
	background-color: #fff;
	color: #5e5e5e;
	font-size: 16px;
}

/* 美化select的下拉箭头 */
.fanchao select:after {
	content: "\25BC";
	/* Unicode编码，表示向下的箭头 */
	position: absolute;
	top: 12px;
	right: 10px;
}

/* 美化选项内容 */
.fanchao option {
	background-color: #f9f9f9;
	color: #333;
}

.main {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

.main .processes {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 0;
	justify-content: space-around;
	background-color: white;
	border-radius: 20px;
	padding-top: 20px;
}

.main .processes .process {
	width: 35%;
	padding: 0 0 20px 0;
}

.main .processes .process .input-box {
	margin-top: 15px;
	display: flex;
	overflow: hidden;
	line-height: 30px;
	width: 92%;
}

.main .processes .process .input-box .btn2 {
	line-height: 44px;
	padding: 0px 6px;
	background-color: #f3edf9;
	border-radius: 10px;
	font-weight: bold;
	margin-right: 1px;
	cursor: pointer;
	user-select: none;
	font-size: 14px;
}

.main .processes .process .input-box .btnNo {
	background-color: #eee;
	color:#ddd;
}

.main .processes .process .input-box .btn {
	line-height: 44px;
	font-size: 26px;
	padding: 0 16px;
	background-color: #f3edf9;
}

.main .processes .process .input-box .plus {
	border-radius: 10px 0 0 10px;
}

.main .processes .process .input-box .minus {
	border-radius: 0 10px 10px 0;
}

.main .processes .process .input-box .danwei {
	line-height: 48px;
	font-size: 14px;
	font-weight: bold;
	background-color: #f3edf9;
	position: relative;
	margin-left: -10px;
	padding-right: 8px;
	margin-right: 1px;
}


.right-wrapper {
	width: 25%;
}

.right-wrapper .btn-box {
	width: 220px;
	position: fixed;
	top: 420px;
	text-align: center;
}

.right-wrapper .qrcode {
	height: 220px;
	background-color: white;
	border-radius: 14px;
	padding: 20px 0;
}

.right-wrapper .qrcode img {
	width: 220px;
}

.right-wrapper .name,
.right-wrapper .generate-qr-btn {
	font-weight: bold;
}

.right-wrapper .generate-qr-btn {
	padding: 10px;
	border-radius: 10px;
	margin-top: 20px;
	color: white;
	background-color: #a54987;
}

input {
	font-size: 18px;
	width: 100%;
	padding: 10px 8px;
	border: 0;
	margin: 0 1px;
	color: #5e5e5e;
	background-color: #f3edf9;
	text-align: center;
	font-weight: bold;
}

input:focus-visible {
	outline: none;
	border: none;
}

input[type="number"] {
	-moz-appearance: textfield;
	-webkit-appearance: none;
	appearance: none;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.hideText {
	width: 210px;
	overflow: hidden;
	-webkit-line-clamp: 1;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	user-select: none;
	cursor: pointer;
}

.qrcodeDefault {
	margin-top: 20px;
	width: 180px !important;

}

@media (min-width: 1440px) {
	.jixing {
		margin-left: 10px !important;
		display: inline-block !important;
	}

	.jixing select {
		width: 200px;
	}

	.fanchao select {
		padding: 10px 8px !important;
	}

	.logo {
		left: 290px !important;
	}

	.trapezoid .title-box {
		right: 22% !important;
	}

	.steps-wrapper {
		margin-bottom: 50px;
	}


}

.add-step-btn {
	padding: 10px;
	border-radius: 10px;
	margin-top: 20px;
	color: white;
	background-color: #a54987;
	width: 200px;
	margin: 25px auto;
	text-align: center;
}

.del-step-btn {
	padding: 10px;
	border-radius: 10px;
	margin-top: 20px;
	color: white;
	background-color: #d43f3a;
	width: 200px;
	margin: 25px auto;
	text-align: center;
}

@media (min-width: 768px) {

	.jixing {
		margin-left: 10px !important;
		display: inline-block !important;
	}

	.fanchao select {
		padding: 10px 8px !important;
	}

	/* 桌面及以上屏幕的样式 */
	.trapezoid {
		height: 300px;
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 50%);
		/* 倒过来的直角梯形 */
	}

	.fanchao select {
		padding: 10px 8px;
	}
	
	.main .processes .process .input-box .btn2{
		line-height: 44px !important;
	}
}

/* 平板端及更小屏幕 */
@media (max-width: 768px) {
	.trapezoid .logo {
		top: 10px;
		left: 16px;
	}

	.trapezoid .title-box {
		top: 36px;
		text-align: end;
	}

	.trapezoid .title-box .title {
		margin-bottom: 0px;
		font-size: 25px;
	}

	.trapezoid .title-box .title2 {
		font-size: 22px;
		text-align: left;
	}

	.trapezoid .title-box .font-l {
		font-size: 24px;
	}

	.name-box {
		margin-top: 10px;
	}

	.steps-wrapper,
	.right-wrapper {
		width: 100%;
	}

	.right-wrapper .btn-box {
		position: static;
		margin: 50px auto;
	}

	.container {
		padding: 0 10px;
	}

	.main .processes {
		padding: 12px 10px 20px 10px;
	}

	.main .processes .process {
		padding: 0;
		display: flex;
		justify-content: space-between;
		align-items: end;
		width: 100%;
	}

	.main .processes .process .input-box {
		width: 47%;
		height: 38px;
		border-radius: 6px;
		margin-top: 0px;
	}

	.main .processes .process .input-box .btn {
		line-height: 38px;
		padding: 0 6px;
	}

	.main .processes .process .input-box .btn2 {
		line-height: 38px;
		padding: 0 3px;
	}

	.main .processes .process .input-box .danwei {
		line-height: 40px;
		font-size: 14px;
		font-weight: bold;
		background-color: #f3edf9;
		position: relative;
		margin-left: -10px;
		padding-right: 8px;
		margin-right: 1px;
	}

	.name-box .icon {
		width: 38px;
		height: 38px;
	}

	.name-box2 .icon {
		width: 50px;
		height: 50px;
	}

	.name-box .title {
		margin-left: 9px;
	}

	.name-box .title .name {
		font-size: 14px;
		margin-bottom: 2px;
	}

	.name-box2 .title .name {
		font-size: 16px;
		margin-bottom: 2px;
	}

	input {
		padding: 0 4px;
	}

	.add-step-btn {
		margin-top: 26px;
		margin-bottom: 15px;
	}
	
	.del-step-btn {
		margin-top: 10px;
		margin-bottom: 10px;
	}
}

@media (min-width: 300px) {
	.main .processes .process .input-box .btn2 {
		line-height: 38px;
		padding: 0 2px;
		font-size: 12px !important;
	}

	.jixing {
		display: block;
		margin-left: 0px;
		width: 45%;
		padding: 6px 12px;
	}

	/* 桌面及以上屏幕的样式 */
	.trapezoid {
		height: 300px;
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 50%);
		/* 倒过来的直角梯形 */
	}
}


.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 9;
	background: rgba(0, 0, 0, 0.7);
	display: flex;
	justify-content: center;
	align-items: center;
}

.modal-content img {
	width: 50vw;
	height: 50vw;
	border: 1px solid #fff;
	border-radius: 10px;
}

.toast {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1000;
	background-color: #333;
	color: #fff;
	padding: 10px;
	border-radius: 5px;
}