.purchase-demand-modal {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 10020;
	width:100%;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, .48);
}

.purchase-demand-modal.show {
	display: flex;
	height:auto !important;
}

.purchase-demand-dialog {
	position: relative;
	display: flex;
	width: 780px;
	height: 520px;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 24px 80px rgba(15, 35, 75, .24);
}

.purchase-demand-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-demand-left {
	width: 423px;
	height: 100%;
	padding: 14px 25px 24px 28px;
	box-sizing: border-box;
	background: #fff;
}

.purchase-demand-title {
	font-size: 18px;
	line-height: 28px;
	color: #0f172a;
	font-weight: 500;
}

.purchase-demand-intro {
	margin-top: 34px;
}

.purchase-demand-intro h2 {
	margin: 0;
	font-size: 32px;
	line-height: 38px;
	color: #2f64df;
	font-weight: 700;
}

.purchase-demand-intro p {
	margin: 6px 0 0;
	width: 343px;
	font-size: 16px;
	line-height: 28px;
	color: #758fb5;
	font-weight: 400;
}

.purchase-demand-field {
	margin-top: 24px;
}

.purchase-demand-field label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 22px;
	color: #0f172a;
	font-weight: 400;
}

.purchase-demand-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-demand-field textarea::placeholder,
.purchase-demand-phone-row input::placeholder,
.purchase-demand-captcha input::placeholder {
	color: #94a3b8;
}

.purchase-demand-field textarea:focus,
.purchase-demand-phone-row input:focus,
.purchase-demand-captcha input:focus {
	box-shadow: 0 0 0 1px rgba(229, 26, 26, .28);
}

.purchase-demand-phone-field {
	margin-top: 16px;
}

.purchase-demand-phone-row {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 371px;
}

.purchase-demand-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;
}

#purchaseDemandMobile {
	width: 150px;
}

.purchase-demand-phone-row.logged #purchaseDemandMobile {
	width: 371px;
}

.purchase-demand-phone-row.logged .purchase-demand-code-wrap {
	display: none;
}

.purchase-demand-code-wrap {
	position: relative;
	flex:1;
}

.purchase-demand-code-wrap input {
	width: 100%;
	padding-right: 92px;
}

.purchase-demand-send {
	position: absolute;
	top: 9px;
	right: 10px;
	font-size: 14px;
	line-height: 22px;
	color: #e51a1a;
	cursor: pointer;
	user-select: none;
}

.purchase-demand-send:before {
	content: "";
	display: inline-block;
	width: 1px;
	height: 14px;
	margin-right: 8px;
	vertical-align: -2px;
	background: #cbd5e1;
}

.purchase-demand-send.disabled {
	color: #94a3b8;
	cursor: not-allowed;
}

.purchase-demand-submit {
	display: block;
	width: 278px;
	height: 40px;
	margin: 25px auto 0;
	border: 0;
	border-radius: 8px;
	background: linear-gradient(90deg, #e51a1a 0%, #f04426 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-demand-submit.loading {
	opacity: .75;
	cursor: not-allowed;
}

.purchase-demand-right {
	flex: 1;
	height: 100%;
	background: #eff8ff;
}

.purchase-demand-right img {
	display: block;
	width: 357px;
	height: 520px;
	object-fit: cover;
}

.purchase-demand-captcha {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 10030;
	width:100%;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, .48);
}

.purchase-demand-captcha.show {
	display: flex;
	height:auto !important;
}

.purchase-demand-captcha-box {
	width: 320px;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 18px 52px rgba(15, 35, 75, .24);
}

.purchase-demand-captcha .captcha-title {
	padding: 18px 20px 10px;
	font-size: 15px;
	line-height: 24px;
	color: #0f172a;
	font-weight: 500;
}

.purchase-demand-captcha .captcha-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 20px 18px;
}

.purchase-demand-captcha .captcha-row input {
	width: 170px;
	height: 40px;
	border: 0;
	border-radius: 4px;
	background: #f8fafc;
	padding: 0 10px;
	box-sizing: border-box;
	outline: none;
}

.purchase-demand-captcha-img {
	width: 90px;
	height: 40px;
	border-radius: 4px;
	overflow: hidden;
	cursor: pointer;
}

.purchase-demand-captcha-img img {
	display: block;
	width: 90px;
	height: 40px;
}

.purchase-demand-captcha .captcha-actions {
	display: flex;
	border-top: 1px solid #e2e8f0;
}

.purchase-demand-captcha .captcha-actions button {
	width: 50%;
	height: 42px;
	border: 0;
	background: #fff;
	color: #64748b;
	cursor: pointer;
}

.purchase-demand-captcha .captcha-actions .primary {
	background: linear-gradient(90deg, #e51a1a 0%, #f04426 100%);
	color: #fff;
}

@media (max-width: 820px) {
	.purchase-demand-dialog {
		width: 94%;
		height: auto;
		min-height: 520px;
	}

	.purchase-demand-right {
		display: none;
	}

	.purchase-demand-left {
		width: 100%;
	}

	.purchase-demand-field textarea,
	.purchase-demand-phone-row,
	.purchase-demand-phone-row.logged #purchaseDemandMobile {
		width: 100%;
	}

	.purchase-demand-phone-row {
		flex-direction: column;
		align-items: stretch;
	}

	#purchaseDemandMobile,
	.purchase-demand-code-wrap {
		width: 100%;
	}
}
