.purchase-offer-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-offer-modal.show {
	display: flex;
}

.purchase-offer-dialog {
	position: relative;
	width: 500px;
	height: 550px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(15, 35, 75, .24);
	overflow: hidden;
}

.purchase-offer-close {
	position: absolute;
	top: 14px;
	right: 16px;
	z-index: 2;
	width: 24px;
	height: 24px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 38px;
	line-height: 22px;
	cursor: pointer;
}

.purchase-offer-title {
	position: absolute;
	left: 20px;
	top: 15px;
	font-size: 20px;
	line-height: 30px;
	color: #0f172a;
	font-weight: 500;
}

.purchase-offer-card {
	position: absolute;
	left: 16px;
	top: 55px;
	width: 468px;
	height: 120px;
	border-radius: 6px;
	overflow: hidden;
	background: radial-gradient(circle at 94% 0%, rgba(100, 129, 255, .35) 0 42px, transparent 43px), radial-gradient(circle at 97% 36%, rgba(255, 255, 255, .35) 0 42px, transparent 43px), linear-gradient(135deg, #eaf4ff 0%, #d5e8ff 48%, #b9dcff 100%);
}

.purchase-offer-card:before {
	content: "";
	position: absolute;
	right: 22px;
	top: 14px;
	width: 128px;
	height: 1px;
	background: linear-gradient(90deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0));
	transform: rotate(36deg);
}

.purchase-offer-card:after {
	content: "";
	position: absolute;
	left: 332px;
	top: 18px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .78);
	box-shadow: 18px 14px 18px rgba(255, 255, 255, .5);
}

.purchase-offer-card-inner {
	position: relative;
	z-index: 1;
	padding: 14px 27px;
}

.purchase-offer-card h2 {
	max-width: 405px;
	margin: 0;
	font-size: 20px;
	line-height: 30px;
	color: #0f172a;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.purchase-offer-tags {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}

.purchase-offer-tags span {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 10px;
	border-radius: 2px;
	background: #f0f7ff;
	color: #64748b;
	font-size: 12px;
	line-height: 20px;
	box-sizing: border-box;
}

.purchase-offer-card p {
	max-width: 410px;
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 22px;
	color: #334155;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.purchase-offer-form {
	position: absolute;
	left: 16px;
	top: 198px;
	width: 459px;
}

.purchase-offer-row {
	display: flex;
	align-items: center;
	height: 40px;
	margin-bottom: 12px;
}

.purchase-offer-row label {
	width: 67px;
	padding-left: 8px;
	box-sizing: border-box;
	font-size: 14px;
	line-height: 22px;
	color: #0f172a;
	font-weight: 400;
}

.purchase-offer-row input,
.purchase-offer-area-box {
	width: 393px;
	height: 40px;
	border: 0;
	border-radius: 0;
	background: #f8fafc;
	box-sizing: border-box;
	outline: none;
	font-size: 14px;
	line-height: 22px;
	color: #0f172a;
}

.purchase-offer-row input {
	padding: 0 11px;
}

.purchase-offer-row input::placeholder,
.purchase-offer-area-box select,
.purchase-offer-captcha input::placeholder,
.purchase-offer-sms input::placeholder {
	color: #94a3b8;
}

.purchase-offer-row input:focus,
.purchase-offer-area-box:focus-within,
.purchase-offer-captcha input:focus,
.purchase-offer-sms input:focus {
	box-shadow: 0 0 0 1px rgba(229, 26, 26, .28);
}

.purchase-offer-area-box {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 8px;
}

.purchase-offer-area-box select {
	flex: 1;
	min-width: 0;
	height: 40px;
	border: 0;
	background: transparent;
	outline: none;
	font-size: 14px;
	line-height: 22px;
}

.purchase-offer-actions {
	position: absolute;
	left: 20px;
	top: 466px;
	display: flex;
	gap: 9px;
	justify-content: center;
	width:459px;
	text-align: center;
}

.purchase-offer-actions button {
	height: 40px;
	border: 0;
	border-radius: 8px;
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
	cursor: pointer;
}

.purchase-offer-cancel {
	width: 104px;
	background: #f1f5f9;
	color: #64748b;
}

.purchase-offer-submit {
	width: 278px;
	background: linear-gradient(90deg, #e51a1a 0%, #f04426 100%);
	color: #fff;
	box-shadow: 0 12px 24px rgba(229, 26, 26, .18);
}

.purchase-offer-submit.loading {
	opacity: .75;
	cursor: not-allowed;
}

.purchase-offer-captcha,
.purchase-offer-sms,
.purchase-offer-success {
	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-offer-captcha.show,
.purchase-offer-sms.show,
.purchase-offer-success.show {
	display: flex;
}

.purchase-offer-captcha-box,
.purchase-offer-sms-box {
	width: 320px;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 18px 52px rgba(15, 35, 75, .24);
}

.purchase-offer-captcha .captcha-title,
.purchase-offer-sms .sms-title {
	padding: 18px 20px 10px;
	font-size: 15px;
	line-height: 24px;
	color: #0f172a;
	font-weight: 500;
}

.purchase-offer-captcha .captcha-row,
.purchase-offer-sms .sms-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 20px 18px;
}

.purchase-offer-captcha .captcha-row input,
.purchase-offer-sms .sms-row input {
	width: 170px;
	height: 40px;
	border: 0;
	border-radius: 4px;
	background: #f8fafc;
	padding: 0 10px;
	box-sizing: border-box;
	outline: none;
}

.purchase-offer-captcha-img {
	width: 90px;
	height: 40px;
	border-radius: 4px;
	overflow: hidden;
	cursor: pointer;
}

.purchase-offer-captcha-img img {
	display: block;
	width: 90px;
	height: 40px;
}

.purchase-offer-captcha .captcha-actions,
.purchase-offer-sms .sms-actions {
	display: flex;
	border-top: 1px solid #e2e8f0;
}

.purchase-offer-captcha .captcha-actions button,
.purchase-offer-sms .sms-actions button {
	width: 50%;
	height: 42px;
	border: 0;
	background: #fff;
	color: #64748b;
	cursor: pointer;
}

.purchase-offer-captcha .captcha-actions .primary,
.purchase-offer-sms .sms-actions .primary {
	background: linear-gradient(90deg, #e51a1a 0%, #f04426 100%);
	color: #fff;
}

.purchase-offer-sms .sms-tip {
	padding: 0 20px 14px;
	font-size: 13px;
	line-height: 20px;
	color: #64748b;
}

.purchase-offer-sms .sms-tip span {
	color: #0f172a;
}

.purchase-offer-resend {
	font-size: 13px;
	line-height: 20px;
	color: #e51a1a;
	cursor: pointer;
	text-align: center;
}

.purchase-offer-resend.disabled {
	color: #94a3b8;
	cursor: not-allowed;
}

.purchase-offer-success-box {
	position: relative;
	width: 420px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 18px 52px rgba(15, 35, 75, .24);
	box-sizing: border-box;
	text-align: center;
}
.purchase-offer-success-box .success-box-head{
	position: relative;
	background: url(/img/title_beijing.png);
	background-size: 100% 100%;
	height: 160px;
	width: 100%;
	border-radius:12px 12px 0 0;
}
.purchase-offer-success-box .success-box-head .icon{
	margin: 50px 0 0;
}
.success-box-bottom{
	padding: 10px 20px 20px;
}
.purchase-offer-success-box>button {
	position: absolute;
	right: 14px;
	top: 10px;
	border: 0;
	background: transparent;
	font-size: 24px;
	line-height: 24px;
	cursor: pointer;
}

.purchase-offer-success-box>img {
	width: 64px;
	height: 64px;
}

.purchase-offer-success-box h3 {
	margin: 14px 0 8px;
	font-size: 20px;
	line-height: 30px;
	color: #e51a1a;
	font-weight: 600;
}

.purchase-offer-success-box p {
	margin: 0;
	font-size: 14px;
	line-height: 22px;
	color: #64748b;
}

.success-qr {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 18px 0 22px;
	padding: 14px;
	border-radius: 8px;
	background: #f8fafc;
	text-align: left;
}

.success-qr img {
	width: 92px;
	height: 92px;
}

.success-qr span {
	flex: 1;
	font-size: 13px;
	line-height: 20px;
	color: #64748b;
}

.success-btn {
	height: 40px;
	line-height: 40px;
	border-radius: 8px;
	background: linear-gradient(90deg, #e51a1a 0%, #f04426 100%);
	color: #fff;
	font-size: 15px;
	cursor: pointer;
}

@media (max-width: 540px) {
	.purchase-offer-dialog {
		width: 94%;
	}

	.purchase-offer-card,
	.purchase-offer-form {
		left: 4%;
		width: 92%;
	}

	.purchase-offer-row input,
	.purchase-offer-area-box {
		width: calc(100% - 67px);
	}

	.purchase-offer-actions {
		left: 4%;
		width: 92%;
	}

	.purchase-offer-cancel {
		width: 28%;
	}

	.purchase-offer-submit {
		width: calc(72% - 9px);
	}
}
