/* 公共弹窗 */
.custom-modal-open {
	overflow: hidden;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.45);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	z-index: 20;
}

.modal-overlay.is-visible {
	display: flex;
}

.modal-dialog {
	width: 1040px;
	max-width: 100%;
	background: #FFFFFF;
	border-radius: 20px;
	box-shadow: 0px 10px 30px rgba(24, 40, 72, 0.18);
	display: flex;
	flex-direction: column;
	max-height: 90vh;
	overflow: hidden;
}

.modal-dialog-sm {
	width: 960px;
}

.modal-header {
	padding: 24px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #F0F0F0;
}

.modal-header h3 {
	font-family: Source Han Sans;
	font-size: 30px;
	font-weight: bold;
	color: #000000;
}

.modal-close {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	position: relative;
}

.modal-close::before, .modal-close::after {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	width: 18px;
	height: 2px;
	background: #BAB9B9;
	content: '';
	border-radius: 2px;
}

.modal-close::before {
	transform: rotate(45deg);
}

.modal-close::after {
	transform: rotate(-45deg);
}

.modal-body {
	padding: 24px 32px;
	overflow-y: auto;
}

.modal-footer {
	display: flex;
	justify-content: flex-end;
	gap: 40px;
	padding: 20px 32px 32px;
	border-top: 1px solid #F0F0F0;
	background: #F8F9FA;
}

.modal-footer.on {
	background: none;
	justify-content: center;
}

.modal-tabs {
	display: flex;
	gap: 24px;
	margin-bottom: 24px;
	border-bottom: 1px solid #F0F0F0;
}

.modal-tab {
	position: relative;
	padding-bottom: 12px;
	font-size: 16px;
	color: #86909C;
	background: none;
	border: none;
	cursor: pointer;
}

.modal-tab.is-active {
	color: #165DFF;
	font-weight: bold;
}

.modal-tab.is-active::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 3px;
	background: #165DFF;
	border-radius: 3px;
}

.modal-step {
	display: none;
}

.modal-step.is-active {
	display: block;
}

.modal-form {
	margin-bottom: 27px;
}

.modal-label {
	display: block;
	font-family: Source Han Sans;
	font-weight: 400;
	font-size: 18px;
	color: #000000;
	margin-bottom: 11px;
}

.modal-label-amount-box {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.modal-label-amount {
	display: inline;
	font-family: Source Han Sans;
	font-weight: 400;
	font-size: 18px;
	font-variation-settings: "opsz" auto;
	color: #FF7D00;
	padding-left: 30px;
	margin-bottom: 11px;
}

.modal-label-amount::before {
	content: '应付：';
	font-size: 18px;
	color: #000000
}

.modal-label.required::after {
	content: '*';
	color: #F70000;
}

.desc {
	font-family: Source Han Sans;
	font-size: 14px;
	font-weight: normal;
	color: #666666;
	padding-top: 10px;
}

.modal-select {
	background-image: url('__CDN__/assets/index/icon/down.png');
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 12px;
	padding-right: 40px;
}

.form-input:focus,
.modal-select:focus,
.form-textarea:focus {
	outline: none;
	border-color: #165DFF;
}

.form-input::placeholder,
.modal-select::placeholder,
.form-textarea::placeholder {
	color: #C9CDD4;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
	width: 100%;
	border: 1px solid #E5E6EB;
	border-radius: 10px;
	padding: 0 16px;
	height: 70px;
	font-family: Source Han Sans;
	font-size: 14px;
	font-weight: normal;
	color: #1D2129;
}

.modal-form .date-input {
	background: url('__CDN__/assets/index/icon/rili.png') no-repeat right 14px center;
	background-size: 22px;
	padding-right: 55px;
}

.modal-form textarea {
	resize: none;
	padding: 16px;
	height: auto;
	line-height: 1.6;
}

.modal-form.two-col {
	display: flex;
	gap: 20px;
}

.modal-form-item {
	flex: 1;
}

.modal-option-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.modal-option {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border: 1px solid #E5E6EB;
	border-radius: 10px;
	font-size: 14px;
	color: #1D2129;
	margin-right: 18px;
}

.modal-option:nth-child(2n) {
	margin-right: 0;
	margin-left: 18px;
}

.modal-option input, .modal-radio input {
	display: none;
}

.modal-option span, .modal-radio span {
	position: relative;
	display: inline-block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1px solid #272636;
}

.modal-option span::after, .modal-radio span::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	width: 8px;
	height: 4px;
	border: 2px solid #fff;
	border-width: 0 0px 2px 2px;
	transform: rotate(-45deg);
	display: none;
}

.modal-option input:checked + span, .modal-radio input:checked + span {
	border-color: #165DFF;
	background: #165DFF;
}

.modal-option input:checked + span::after, .modal-radio input:checked + span::after {
	display: block;
}

.modal-radio-list {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.modal-radio-border {
	border: 1px solid #D8D8D8;
	padding: 18px 12px;
	border-radius: 5px;
}

.modal-radio-border .input-box {
	display: flex;
	align-items: center;
	gap: 10px;
}

.modal-radio-border .input-box .input-box-item {
	display: flex;
	align-items: center;
	gap: 8px;
	border-bottom: 1px solid #D8D8D8;
}

.modal-radio-border .input-box span {
	font-family: Source Han Sans;
	font-size: 30px;
	font-weight: bold;
	color: #000000;
}

.modal-radio-border .input-box input {
	font-family: Source Han Sans;
	font-size: 30px;
	font-weight: normal;
	color: #000000;
	border: none;
	border-radius: 0;
	padding: 0;
}

.modal-radio-border .input-box .generate-code {
	width: 122px;
	height: 56px;
	line-height: 56px;
	text-align: center;
	border-radius: 30px;
	background: rgba(22, 93, 255, 0.08);
	font-family: Source Han Sans;
	font-size: 18px;
	font-weight: normal;
	color: #165DFF;
	cursor: pointer;
}

.modal-radio {
	font-size: 14px;
	color: #1D2129;
	display: flex;
	align-items: center;
	gap: 8px;
}

.modal-radio .modal-radio-text {
	flex: 1;
}

.modal-radio .modal-radio-text-title {
	font-family: Source Han Sans;
	font-size: 16px;
	font-weight: bold;
	color: #000000;
}

.modal-radio .modal-radio-text-desc {
	font-family: Source Han Sans;
	font-size: 16px;
	font-weight: normal;
	color: #666666;
}

.modal-upload-area {
	display: block;
	text-align: center;
	padding: 20px;
	background: #F7F8FA;
	margin-bottom: 16px;
	border: 1px dashed #D0D5DD;
}

.upload-icon {
	width: 62px;
	margin: 0 auto 12px;
}

.upload-text {
	font-size: 20px;
	color: #3D3D3D;
	margin-bottom: 4px;
}

.upload-desc {
	font-size: 16px;
	color: #86909C;
}

.upload-list {
	width: 70%;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.upload-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	border-radius: 10px;
	background: #F7F8FA;
	font-size: 14px;
	color: #4E5969;
}

.upload-delete {
	border: none;
	background: none;
	color: #F53F3F;
	cursor: pointer;
}

.modal-card {
	padding: 20px;
	border-radius: 12px;
	background: #F7F8FA;
}

.modal-card-title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 8px;
}

.modal-price {
	font-size: 22px;
	color: #165DFF;
	font-weight: bold;
	margin: 12px 0;
}

.modal-pay {
	display: flex;
	gap: 40px;
}

.modal-qrcode {
	text-align: center;
}

.modal-qrcode img {
	width: 256px;
	padding: 5px;
}

.modal-qrcode .qrcode-alipay {
	border: 1px solid #1378FE;
}

.modal-qrcode .qrcode-wechat {
	border: 1px solid #4CB516;
}

.modal-qrcode span {
	display: block;
	font-size: 14px;
	color: #4E5969;
}

.modal-qrcode .modal-qrcode-text {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 28px;
}

.modal-qrcode .icon {
	width: 40px;
}

.modal-pay-note {
	background: #F0F6FE;
	border: 1px solid #DAE7F7;
	border-radius: 20px;
	margin-top: 16px;
	padding: 30px 25px;
}

.modal-pay-note .title-text {
	font-family: Source Han Sans;
	font-size: 16px;
	font-weight: bold;
	color: #000000;
	display: flex;
	align-items: center;
	gap: 6px;
	line-height: 1.8;
}

.modal-pay-note .title-text .icon {
	width: 18px;
}

.modal-pay-note .desc-text {
	padding-left: 35px;
	font-family: Source Han Sans;
	font-size: 16px;
	font-weight: normal;
	color: #000000;
	line-height: 1.8;
	position: relative;
}

.modal-pay-note .desc-text::before {
	content: '';
	position: absolute;
	top: 12px;
	left: 25px;
	display: block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #000000;
}

.modal-btn {
	min-width: 120px;
	height: 48px;
	border: none;
	border-radius: 10px;
	font-size: 16px;
	cursor: pointer;
}

.modal-btn.primary {
	background: #165DFF;
	color: #FFFFFF;
}

.modal-btn.ghost {
	color: #4E5969;
	border: 1px solid #D8D8D8;
}

.job-upload-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.job-upload-list {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.job-upload-thumb {
	position: relative;
	width: 280px;
	height: 200px;
	border-radius: 12px;
	overflow: hidden;
}

.job-upload-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.job-upload-remove {
	position: absolute;
	right: 6px;
	top: 6px;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	cursor: pointer;
}

.job-upload-remove::before {
	content: '';
	display: block;
	width: 100%;
	height: 2px;
	background: #86909C;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	transform: rotate(45deg);
}

.job-upload-remove::after {
	content: '';
	display: block;
	width: 100%;
	height: 2px;
	background: #86909C;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	transform: rotate(-45deg);
}

.job-upload-box {
	border: 1px dashed #D0D5DD;
	border-radius: 14px;
	padding: 32px;
	text-align: center;
	cursor: pointer;
	width: 280px;
}

.job-upload-icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 12px;
	background: url('__CDN__/assets/index/icon/upload-icon.png') no-repeat center/contain;
}

.job-upload-text {
	font-size: 16px;
	color: #1D2129;
	margin-bottom: 4px;
}

.job-upload-desc {
	font-size: 13px;
	color: #86909C;
}

.project-preview-dialog {
	width: 1120px;
}

.project-preview-cover {
	border-radius: 18px;
	overflow: hidden;
	margin-bottom: 26px;
}

.project-preview-cover img {
	width: 100%;
	display: block;
}

.project-preview-section {
	margin-bottom: 26px;
}

.project-preview-section h4 {
	font-size: 18px;
	font-weight: bold;
	color: #111827;
	margin-bottom: 10px;
}

.project-preview-section p {
	font-size: 14px;
	color: #4B5563;
	line-height: 1.8;
}

.project-preview-info {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 28px;
}

.project-info-item {
	background: #F7F8FA;
	border-radius: 16px;
	padding: 18px;
	text-align: center;
}

.project-info-item .label {
	font-family: Source Han Sans;
	font-size: 18px;
	font-weight: bold;
	color: #000000;
	margin-bottom: 6px;
}

.project-info-item .value {
	font-size: 18px;
	font-weight: normal;
	color: #6B7280;
}

.project-preview-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.project-preview-gallery li {
	list-style: none;
}

.project-preview-gallery img {
	width: 100%;
	border-radius: 12px;
	display: block;
}

.project-preview-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 27px;
	padding: 22px 32px 30px;
	border-top: 1px solid #F0F0F0;
	background: #FFFFFF;
}

.preview-nav {
	display: flex;
	gap: 20px;
}

.preview-nav-btn {
	padding: 0 20px;
	height: 60px;
	border-radius: 10px;
	border: 1px solid #E5E6EB;
	font-size: 18px;
	background: #FFFFFF;
	color: #000000;
	cursor: pointer;
}

.preview-contact-btn {
	padding: 0 40px;
	height: 60px;
	border-radius: 10px;
	background: #165DFF;
	border: none;
	color: #FFFFFF;
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.preview-contact-btn::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 18px;
	background: url(__CDN__/assets/index/icon/contact3.png) no-repeat center center;
	background-size: 100% 100%;
}