@import url("front-theme.css");

.mainStyle {
	height: auto;
	min-height: 0;
	padding-bottom: 12px;
}

.tabform {
	margin-top: 8px;
}

.pc-form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

.pc-form .layui-inline {
	width: 49%;
	margin: 0 0 18px;
	vertical-align: top;
	box-sizing: border-box;
	display: flex;
	align-items: flex-start;
}

.pc-form .layui-form-label {
	float: none;
	width: 110px;
	flex: 0 0 110px;
	padding: 9px 10px 9px 0;
	box-sizing: border-box;
	color: #5e5e5e;
	line-height: 20px;
}

.pc-form .layui-input-inline {
	float: none;
	flex: 1;
	width: auto;
	margin-right: 0;
}

.pc-form .layui-input,
.pc-form input.layui-input {
	width: 100%;
	height: 38px;
	border: 1px solid #eadfdb;
	border-radius: 4px;
	box-sizing: border-box;
	background: #fff;
	color: #2b2b2b;
}

.pc-form .layui-input:hover {
	border-color: #d7c8c3;
}

.pc-form .layui-input:focus {
	border-color: var(--tj-red, #592019);
	box-shadow: 0 0 0 2px rgba(89, 32, 25, .08);
}

.pc-form .layui-input[disabled],
.pc-form .layui-input[readonly] {
	background: #f7f4f3;
	color: #6a6a6a;
	cursor: default;
}

.pc-form .layui-form-select .layui-input {
	padding-right: 28px;
}

.pc-form .pc-address,
.pc-form .pc-idpic {
	width: 100%;
}

.pc-form .pc-address .layui-form-label {
	width: 110px;
	flex: 0 0 110px;
}

.pc-address-fields {
	display: flex;
	flex-wrap: wrap;
	flex: 1;
	width: auto;
	float: none;
	gap: 8px;
}

.pc-address-fields .layui-input-inline {
	width: calc(33.33% - 6px);
	margin: 0;
	float: none;
}

.pc-address-fields .pc-address-detail {
	width: 100%;
}

.pc-address .layui-form-select {
	position: relative;
	z-index: 40;
}

.pc-address .layui-form-select dl {
	top: auto !important;
	bottom: 42px;
	max-height: 220px;
}

.pc-upload-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.pc-upload-item {
	width: 112px;
	flex-shrink: 0;
	text-align: center;
}

.pc-upload {
	position: relative;
	width: 112px;
	height: 84px;
	border: 1px dashed #d7c8c3;
	border-radius: 6px;
	background: #fbf8f7;
	overflow: hidden;
	cursor: pointer;
	box-sizing: border-box;
}

.pc-upload::before {
	content: "+";
	position: absolute;
	left: 50%;
	top: 38%;
	transform: translate(-50%, -50%);
	font-size: 28px;
	line-height: 1;
	color: #c4b2ad;
	z-index: 0;
}

.pc-upload:hover {
	border-color: var(--tj-red, #592019);
	background: #f5ebe8;
}

.pc-upload-img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	cursor: pointer;
}

.pc-upload-img.is-placeholder {
	opacity: 0;
}

.pc-upload-caption {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #8a8a8a;
	text-align: center;
}

.pc-upload-hint {
	flex: 1;
	min-width: 0;
	font-size: 12px;
	color: #8a8a8a;
	line-height: 1.6;
	padding-top: 8px;
}

.pc-form .overviewBtn {
	width: 100%;
	height: auto;
	margin: 8px 0 0;
	padding: 12px 0 0;
	background: transparent;
	border-top: 1px solid #eadfdb;
	text-align: right;
}

.pc-form .overviewBtn .buttonCss {
	float: none;
	height: 42px;
	min-width: 148px;
	padding: 0 24px;
	border: none;
	border-radius: 4px;
	background: var(--tj-red, #592019);
	color: #fff;
	font-size: 16px;
	cursor: pointer;
}

.pc-form .overviewBtn .buttonCss:hover {
	background: var(--tj-red-hover, #8b4540);
}

@media screen and (max-width: 767px) {
	.bConfirm {
		display: block !important;
		height: auto;
		line-height: 1.4;
		margin: 0 0 12px;
		border: none;
		text-align: left;
	}

	.bConfirm span {
		padding: 0 0 0 10px;
		margin: 0;
		border: none;
		border-left: 4px solid var(--tj-red, #592019);
		font-size: 16px;
	}

	.pc-form .layui-inline,
	.pc-form .pc-address,
	.pc-form .pc-idpic {
		width: 100%;
		margin: 0 0 14px;
		display: block;
	}

	.pc-form .layui-form-label,
	.pc-form .pc-address .layui-form-label {
		width: 100%;
		flex: none;
		display: block;
		text-align: left;
		line-height: 1.4;
		padding: 0 0 6px;
	}

	.pc-form .layui-input-inline,
	.pc-address-fields {
		width: 100%;
		flex: none;
		display: block;
		float: none;
		margin-left: 0 !important;
	}

	.pc-address-fields .layui-input-inline {
		width: 100%;
	}

	.pc-upload-item,
	.pc-upload {
		width: 96px;
	}

	.pc-upload {
		height: 72px;
	}

	.pc-form .overviewBtn {
		position: sticky;
		bottom: 0;
		z-index: 5;
		padding: 10px 0 4px;
		background: #fff;
		text-align: center;
	}

	.pc-form .overviewBtn .buttonCss {
		width: 100%;
	}
}

@media screen and (min-width: 767px) {
	.bConfirm {
		height: auto;
		line-height: 1.3;
		margin: 0 0 16px;
		padding: 0 0 10px;
		border-bottom: 1px solid #eadfdb;
		text-align: left;
	}

	.bConfirm span {
		padding: 0 0 0 10px;
		border-left: 4px solid var(--tj-red, #592019);
		font-size: 18px;
	}
}
