.purchase-supply-modal {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 10020;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, .48);
}

.purchase-supply-modal.show {
	display: flex;
}

.purchase-supply-dialog {
	position: relative;
	display: flex;
	width: 780px;
	height: 520px;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 24px 80px rgba(15, 35, 75, .24);
}

.purchase-supply-close {
	position: absolute;
	top: 12px;
	right: 16px;
	z-index: 3;
	width: 24px;
	height: 24px;
	border: 0;
	background: transparent;
	color: #0f172a;
	font-size: 26px;
	line-height: 22px;
	cursor: pointer;
}

.purchase-supply-left {
	width: 423px;
	height: 100%;
	padding: 14px 25px 30px 28px;
	box-sizing: border-box;
	background: #fff;
}

.purchase-supply-title {
	font-size: 18px;
	line-height: 28px;
	color: #0f172a;
	font-weight: 500;
}

.purchase-supply-intro {
	margin-top: 34px;
}

.purchase-supply-intro h2 {
	margin: 0;
	font-size: 32px;
	line-height: 38px;
	color: #2f64df;
	font-weight: 700;
}

.purchase-supply-intro p {
	margin: 6px 0 0;
	font-size: 16px;
	line-height: 28px;
	color: #6d86b2;
	font-weight: 400;
}

.purchase-supply-field {
	margin-top: 24px;
}

.purchase-supply-field label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 22px;
	color: #0f172a;
	font-weight: 400;
}

.purchase-supply-field textarea {
	display: block;
	width: 370px;
	height: 138px;
	padding: 9px 11px;
	border: 0;
	border-radius: 4px;
	background: #f8fafc;
	box-sizing: border-box;
	resize: none;
	outline: none;
	font-size: 14px;
	line-height: 22px;
	color: #0f172a;
}

.purchase-supply-field textarea::placeholder,
.purchase-supply-phone-row input::placeholder,
.purchase-supply-captcha input::placeholder {
	color: #94a3b8;
}

.purchase-supply-field textarea:focus,
.purchase-supply-phone-row input:focus,
.purchase-supply-captcha input:focus {
	box-shadow: 0 0 0 1px rgba(229, 26, 26, .28);
}

.purchase-supply-phone-field {
	margin-top: 16px;
}

.purchase-supply-phone-row {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 371px;
}

.purchase-supply-phone-row input {
	height: 40px;
	border: 0;
	border-radius: 4px;
	background: #f8fafc;
	box-sizing: border-box;
	padding: 0 11px;
	outline: none;
	font-size: 14px;
	line-height: 22px;
	color: #0f172a;
}

#purchaseSupplyMobile {
	width: 150px;
}

.purchase-supply-phone-row.logged #purchaseSupplyMobile {
	width: 371px;
}

.purchase-supply-phone-row.logged .purchase-supply-code-wrap {
	display: none;
}

.purchase-supply-code-wrap {
	position: relative;
	flex:1;
}

.purchase-supply-code-wrap input {
	width: 100%;
	padding-right: 92px;
}

.purchase-supply-send {
	position: absolute;
	top: 9px;
	right: 10px;
	font-size: 14px;
	line-height: 22px;
	color: #e51a1a;
	cursor: pointer;
	user-select: none;
}

.purchase-supply-send:before {
	content: "";
	display: inline-block;
	width: 1px;
	height: 14px;
	margin-right: 8px;
	vertical-align: -2px;
	background: #cbd5e1;
}

.purchase-supply-send.disabled {
	color: #94a3b8;
	cursor: not-allowed;
}

.purchase-supply-submit {
	display: block;
	width: 278px;
	height: 40px;
	margin: 19px auto 0;
	border: 0;
	border-radius: 7px;
	background: linear-gradient(90deg, #f01818 0%, #ff482d 100%);
	color: #fff;
	font-size: 16px;
	line-height: 40px;
	font-weight: 500;
	cursor: pointer;
	box-shadow: 0 12px 24px rgba(229, 26, 26, .18);
}

.purchase-supply-submit.loading {
	opacity: .75;
	cursor: not-allowed;
}

.purchase-supply-right {
	position: relative;
	flex: 1;
	height: 100%;
	box-sizing: border-box;
	text-align: center;
	background: radial-gradient(circle at 70% -8%, rgba(255, 255, 255, .78) 0 96px, transparent 97px), linear-gradient(135deg, #eaf7ff 0%, #dcefff 54%, #f7fbff 100%);
	overflow: hidden;
}

.purchase-supply-right:before {
	content: "";
	position: absolute;
	right: -80px;
	top: 118px;
	width: 210px;
	height: 210px;
	border: 1px solid rgba(255, 255, 255, .78);
	transform: rotate(45deg);
}

.purchase-supply-badge {
	position: absolute;
	top: 35px;
	right: 41px;
	height: 20px;
	line-height: 20px;
	padding: 0 8px;
	border-radius: 4px;
	background: #f04438;
	color: #fff;
	font-size: 12px;
}

.purchase-supply-right h3 {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: 32px;
	line-height: 38px;
	color: #2f64df;
	font-weight: 700;
}

.purchase-supply-subtitle {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: 18px;
	line-height: 28px;
	color: #2f64df;
	font-weight: 500;
}

.purchase-supply-desc {
	position: relative;
	z-index: 1;
	margin: 2px 0 18px;
	font-size: 12px;
	line-height: 20px;
	color: #1d55c6;
}

.purchase-supply-phone-card {
	position: relative;
	z-index: 1;
	width: 188px;
	height: 250px;
	margin: 0 auto;
	padding: 18px 14px;
	border: 8px solid #1685ff;
	border-radius: 27px;
	background: #fff;
	box-shadow: 0 18px 30px rgba(43, 126, 237, .22);
	box-sizing: border-box;
}

.phone-card-head {
	display: flex;
	justify-content: space-between;
	font-size: 8px;
	line-height: 16px;
	color: #0f172a;
	text-align: left;
}

.phone-card-head:after {
	content: "*";
	margin-left: -68px;
	color: #e51a1a;
}

.phone-card-head span {
	color: #94a3b8;
}

.phone-card-upload {
	height: 54px;
	margin-top: 4px;
	border: 1px dashed #cbd5e1;
	border-radius: 4px;
	background: linear-gradient(180deg, #f8fbff 0%, #eff7ff 100%);
}

.phone-card-upload:before {
	content: "+";
	display: block;
	width: 26px;
	height: 26px;
	margin: 14px auto;
	border-radius: 4px;
	background: #eaf3ff;
	color: #1788ff;
	font-size: 24px;
	line-height: 24px;
}

.phone-card-qr {
	position: absolute;
	left: 50%;
	top: 78px;
	width: 176px;
	height: 176px;
	padding: 14px;
	border-radius: 18px;
	background: #1685ff;
	box-sizing: border-box;
	transform: translateX(-50%);
}

.phone-card-qr img {
	display: block;
	width: 148px;
	height: 148px;
	border-radius: 3px;
	object-fit: cover;
}

.purchase-supply-camera {
	position: absolute;
	left: 43px;
	top: 206px;
	z-index: 2;
	width: 62px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, #58d5ff 0%, #228cff 100%);
	box-shadow: 0 10px 22px rgba(22, 133, 255, .25);
	transform: rotate(-16deg);
}

.purchase-supply-camera:before {
	content: "";
	position: absolute;
	left: 22px;
	top: 11px;
	width: 22px;
	height: 22px;
	border: 4px solid rgba(255, 255, 255, .72);
	border-radius: 50%;
	box-sizing: border-box;
}

.purchase-supply-robot {
	position: absolute;
	right: 27px;
	bottom: 81px;
	z-index: 2;
	width: 62px;
	height: 38px;
	border-radius: 20px 20px 16px 16px;
	background: linear-gradient(135deg, #6a60ff 0%, #2ad7ff 100%);
	box-shadow: 0 10px 22px rgba(60, 106, 255, .28);
}

.purchase-supply-robot:before,
.purchase-supply-robot:after {
	content: "";
	position: absolute;
	top: 15px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
}

.purchase-supply-robot:before {
	left: 19px;
}

.purchase-supply-robot:after {
	right: 19px;
}

.purchase-supply-mode {
	position: absolute;
	left: 44px;
	right: 35px;
	bottom: 36px;
	z-index: 2;
	height: 35px;
	line-height: 30px;
	border-radius: 4px;
	background: linear-gradient(90deg, #1985ff 0%, #0b74ff 76%, #08e3df 100%);
	box-shadow: 4px 5px 0 rgba(38, 224, 156, .58);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
}

.purchase-supply-captcha {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 10030;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, .48);
}

.purchase-supply-captcha.show {
	display: flex;
}

.purchase-supply-captcha-box {
	width: 320px;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 18px 52px rgba(15, 35, 75, .24);
}

.captcha-title {
	padding: 18px 20px 10px;
	font-size: 15px;
	line-height: 24px;
	color: #0f172a;
	font-weight: 500;
}

.captcha-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 20px 18px;
}

.captcha-row input {
	width: 170px;
	height: 40px;
	border: 0;
	border-radius: 4px;
	background: #f8fafc;
	padding: 0 10px;
	box-sizing: border-box;
	outline: none;
}

.purchase-supply-captcha-img {
	width: 90px;
	height: 40px;
	border-radius: 4px;
	overflow: hidden;
	cursor: pointer;
}

.purchase-supply-captcha-img img {
	display: block;
	width: 90px;
	height: 40px;
}

.captcha-actions {
	display: flex;
	border-top: 1px solid #e2e8f0;
}

.captcha-actions button {
	width: 50%;
	height: 42px;
	border: 0;
	background: #fff;
	color: #64748b;
	cursor: pointer;
}

.captcha-actions .primary {
	background: linear-gradient(90deg, #e51a1a 0%, #f04426 100%);
	color: #fff;
}

@media (max-width: 820px) {
	.purchase-supply-dialog {
		width: 94%;
		height: auto;
		min-height: 520px;
	}

	.purchase-supply-right {
		display: none;
	}

	.purchase-supply-left {
		width: 100%;
	}

	.purchase-supply-field textarea,
	.purchase-supply-phone-row,
	.purchase-supply-phone-row.logged #purchaseSupplyMobile {
		width: 100%;
	}

	.purchase-supply-phone-row {
		flex-direction: column;
		align-items: stretch;
	}

	#purchaseSupplyMobile,
	.purchase-supply-code-wrap {
		width: 100%;
	}
}
