/**
 * register.css 工作者申请页专用样式
 *
 * 说明：本文件所有规则均限定在 body.register-page 之下，
 * 仅作用于注册/申请页，避免影响共用的 style1.css / mycontent.css 所服务的其他页面。
 */

/* 通用 */
.register-page .bg{
	line-height: 25px;
	font-size: 13px;
	display: block;
	padding: 10px;
	color: #a94442;
	background-color: #f2dede;
	border-radius: 4px;
	border-color: #ebccd1;
	width: 50%;
	margin: 0 auto;
	text-align: center;
}
.register-page .req{
	color: #c72730;
	margin-left: 2px;
	white-space: nowrap;
}
.register-page .contlist .warn-inline{
	color: #888;
	font-size: 12px;
}
.register-page .register-footer-inner{
	margin: 0 auto;
	width: 1100px;
	height: 47px;
	background-color: #131111;
}

/* ========== 桌面端（≥993px） ========== */
@media screen and (min-width: 993px){
	.register-page #mainBox{
		width: 1100px;
		margin-left: auto;
		margin-right: auto;
	}
	.register-page .useredit_center{
		margin-top: 50px;
		width: 1100px;
		margin-left: auto;
		margin-right: auto;
	}
	.register-page .right_menu{
		width: 100%;
		height: auto;
		min-height: 80px;
		margin-bottom: 24px;
	}
	.register-page #centertitle{
		width: auto !important;
		margin: 0 0 12px !important;
		height: auto !important;
		padding: 12px 0 8px;
		font-size: 24px;
		text-align: center;
	}
	.register-page .bg{
		margin-bottom: 28px;
	}
	.register-page .right_bottom{
		width: 100% !important;
		max-width: 1000px;
		margin: 0 auto !important;
	}
	.register-page #mypage .useredit_center .right_bottom .part_my #useredit_form{
		margin: 40px auto 0;
		width: 90%;
		max-width: 900px;
	}
	.register-page .contlist{
		margin-left: 200px;
		margin-top: 12px;
	}
	.register-page .contlist p{
		clear: both;
		height: auto !important;
		min-height: 55px;
		padding: 4px 0;
		margin: 0;
		overflow: hidden;
	}
	.register-page #mypage .useredit_center .right_bottom .part_my .contlist p label.field-label{
		float: left;
		width: 120px;
		line-height: 34px;
		white-space: nowrap;
	}
	.register-page .contlist p .text-input{
		float: left;
		width: 255px;
		height: 18px;
		padding: 7px;
	}
	.register-page .contlist .warn-inline{
		float: left;
		line-height: 34px;
		margin-left: 15px;
		color: #888;
		font-size: 12px;
	}
	.register-page #current_province,
	.register-page #job,
	.register-page #where{
		width: 150px;
	}
	.register-page #current_city{
		width: 150px;
		margin-left: 8px;
	}
	.register-page .radio-group{
		float: left;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 6px 20px;
		line-height: 34px;
	}
	.register-page .field-reason .radio-group{
		flex-wrap: nowrap;
		max-width: none;
	}
	.register-page .radio-option{
		display: inline-flex;
		align-items: center;
		white-space: nowrap;
		cursor: pointer;
		font-weight: normal;
		float: none;
		width: auto;
	}
	.register-page .radio-option .radio-input{
		float: none !important;
		display: inline-block;
		width: auto;
		margin: 0 4px 0 0 !important;
		padding: 0 !important;
		vertical-align: middle;
		border: 1px solid #ccc;
	}
	.register-page .radio-option .radio-text{
		float: none !important;
		display: inline !important;
		width: auto !important;
		padding: 0 !important;
		line-height: 34px;
		white-space: nowrap;
	}
	.register-page .field-reason,
	.register-page .field-gender{
		min-height: 55px;
	}
	.register-page .btn-submit{
		clear: both;
		display: block;
		margin: 50px 0 50px 350px !important;
	}
}

/* ========== 手机端（≤992px） ========== */
@media screen and (max-width: 992px){
	html,
	body.register-page{
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
	}
	.register-page{
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
	}
	.register-page #wapper,
	.register-page #mainBox,
	.register-page #mypage,
	.register-page .useredit_center,
	.register-page .right_menu,
	.register-page .right_bottom,
	.register-page .part_my,
	.register-page #useredit_form,
	.register-page .contlist,
	.register-page #mainBox #mypage .useredit_center,
	.register-page #mainBox #mypage .useredit_center .right_menu,
	.register-page #mainBox #mypage .useredit_center .right_menu #centertitle{
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}
	.register-page #mainBox{
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-bottom: 47px;
	}

	/* 顶部 */
	.register-page #header{
		height: auto !important;
	}
	.register-page #header .content{
		width: 100% !important;
		height: auto !important;
		padding: 12px 16px 14px;
		overflow: visible;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		box-sizing: border-box;
	}
	.register-page #header .content .logo{
		margin-top: 0;
		width: 100%;
	}
	.register-page #header .content .logo img.logoxy{
		position: static !important;
		top: auto !important;
		left: auto !important;
		display: block;
		height: auto !important;
		max-height: 52px;
		width: auto;
		max-width: 200px;
	}
	.register-page #header .content .nav{
		position: static !important;
		top: auto !important;
		right: auto !important;
		width: 100% !important;
		height: auto !important;
		margin-top: 10px;
		text-align: left;
		display: flex;
		flex-wrap: wrap;
		gap: 8px 20px;
	}
	.register-page #header .content .nav a{
		margin-right: 0;
		font-size: 15px;
		height: auto;
		line-height: 1.4;
	}

	.register-page .useredit_center{
		margin-top: 16px !important;
		padding: 0 12px;
	}
	.register-page .right_menu{
		height: auto !important;
		padding-bottom: 12px;
	}
	.register-page #centertitle{
		margin-top: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		height: auto !important;
		font-size: 20px;
		line-height: 1.4;
		padding: 8px 0 12px;
		text-align: center;
	}

	.register-page .bg{
		width: 100% !important;
		max-width: 100%;
		margin: 0 0 12px !important;
		padding: 10px 12px;
		box-sizing: border-box;
		text-align: left;
		line-height: 1.6;
		word-break: break-word;
	}
	.register-page .bg img{
		vertical-align: middle;
		margin-right: 4px;
	}

	.register-page .right_bottom{
		height: auto !important;
		margin-top: 0 !important;
	}
	.register-page #useredit_form{
		margin: 10px 0 !important;
	}
	.register-page .contlist{
		margin-left: 0 !important;
		margin-top: 0 !important;
	}
	.register-page .contlist p{
		width: auto !important;
		height: auto !important;
		min-height: 0;
		margin-top: 18px;
		overflow: visible;
		clear: both;
	}
	.register-page .contlist p label.field-label{
		display: block;
		float: none !important;
		width: auto !important;
		margin-bottom: 8px;
		line-height: 1.4;
		font-size: 15px;
		color: #333;
		white-space: normal;
	}
	.register-page #whereremark_label:empty{
		display: none;
		margin: 0;
	}
	.register-page .contlist p .text-input,
	.register-page .contlist p .select-option{
		float: none !important;
		display: block;
		width: 100% !important;
		max-width: 100%;
		box-sizing: border-box;
		margin-left: 0 !important;
		height: auto;
		min-height: 44px;
		padding: 10px 12px;
		font-size: 16px;
		line-height: 1.4;
		border-radius: 4px;
	}
	.register-page .contlist p .select-option{
		-webkit-appearance: none;
		appearance: none;
		background-color: #fff;
	}
	.register-page #current_province,
	.register-page #current_city{
		margin-bottom: 10px;
	}
	.register-page #current_city{
		margin-bottom: 0;
	}
	.register-page .contlist .warn-inline{
		display: block;
		float: none !important;
		margin: 6px 0 0 !important;
		line-height: 1.5;
		color: #888;
		font-size: 12px;
	}

	/* 单选：取消 style1 的 float，申请理由纵向排列避免重叠 */
	.register-page #mypage p .radio-input{
		float: none !important;
		margin-top: 0 !important;
	}
	.register-page .field-gender .radio-group{
		display: flex;
		flex-wrap: wrap;
		gap: 12px 24px;
		width: 100%;
	}
	.register-page .field-reason .radio-group{
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		width: 100%;
		float: none;
	}
	.register-page .radio-option{
		display: flex !important;
		align-items: center;
		width: 100%;
		float: none !important;
		white-space: nowrap;
		box-sizing: border-box;
	}
	.register-page .radio-option .radio-input{
		flex-shrink: 0;
		margin: 0 8px 0 0 !important;
	}
	.register-page .radio-option .radio-text{
		float: none !important;
		display: inline !important;
		width: auto !important;
		padding: 0 !important;
		line-height: 1.6;
		flex: 0 1 auto;
	}

	.register-page #whereremark{
		margin-left: 0 !important;
	}
	.register-page .btn-submit{
		clear: both !important;
		display: block !important;
		width: 100% !important;
		margin: 28px 0 32px !important;
		text-align: center;
	}
	.register-page #footer{
		width: 100% !important;
	}
	.register-page .register-footer-inner{
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		box-sizing: border-box;
		padding: 12px 16px;
	}

	/* Boxy 错误提示弹层：固定在视口正中，无需上滑页面 */
	body.register-page .boxy-modal-blackout{
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		height: 100% !important;
		height: 100dvh !important;
		margin: 0 !important;
	}
	body.register-page .boxy-wrapper{
		position: fixed !important;
		top: 50% !important;
		left: 50% !important;
		right: auto !important;
		width: calc(100vw - 32px) !important;
		max-width: calc(100vw - 32px) !important;
		margin: 0 !important;
		transform: translate(-50%, calc(-50% - 10px)) !important;
		-webkit-transform: translate(-50%, calc(-50% - 10px)) !important;
		box-sizing: border-box;
		z-index: 10000;
	}
	body.register-page .boxy-wrapper .boxy-inner,
	body.register-page .boxy-wrapper .boxy-content{
		max-width: 100%;
		box-sizing: border-box;
	}
	body.register-page .boxy-wrapper .boxy-inner{
		max-height: 70vh;
		max-height: 70dvh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	body.register-page .boxy-wrapper .boxy-content h4,
	body.register-page .boxy-wrapper .boxy-content h2{
		margin: 16px !important;
		font-size: 15px;
		line-height: 1.6;
		word-break: break-word;
		white-space: normal;
		font-weight: normal;
	}
	body.register-page .boxy-wrapper .title-bar{
		padding: 10px 36px 10px 12px;
	}
	body.register-page .boxy-wrapper .title-bar h2{
		font-size: 14px;
		line-height: 1.4;
		padding-right: 0;
	}
	body.register-page .boxy-wrapper .answers{
		padding: 8px 16px 16px;
		text-align: center;
	}
}
