
/* =========================
   Broker Member Join
   owner / creator 톤 맞춤
   ========================= */

.member_join_page{
	background:#fff;
	min-height:calc(100vh - 120px);
}

.member_join_contents{
	min-height:calc(100vh - 120px);
	display:flex;
	align-items:center;
	justify-content:center;
	padding:40px 0;
	box-sizing:border-box;
}

.member_join_panel{
	width:100%;
	max-width:920px;
	background:linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
	border:1px solid #e7eaf2;
	border-radius:30px;
	box-shadow:
		0 10px 30px rgba(17, 24, 39, 0.06),
		0 2px 10px rgba(17, 24, 39, 0.03);
	padding:36px 32px 30px;
	box-sizing:border-box;
	position:relative;
	overflow:hidden;
}

.member_join_panel::after{
	content:'';
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:6px;
	background:linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
	opacity:.95;
}

.member_join_head{
	text-align:center;
	margin-bottom:28px;
}

.member_join_badge{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:88px;
	height:38px;
	padding:0 14px;
	border-radius:999px;
	background:#f3f5ff;
	color:#373ebb;
	font-size:13px;
	font-weight:800;
	letter-spacing:-0.2px;
	margin-bottom:16px;
}

.member_join_head h2{
	margin:0 0 10px 0;
	font-size:30px;
	line-height:1.3;
	font-weight:800;
	color:#111827;
	letter-spacing:-0.6px;
	text-align:center;
}

.member_join_head p{
	margin:0;
	font-size:15px;
	line-height:1.7;
	color:#666c7a;
	word-break:keep-all;
	text-align:center;
}

/* =========================
   Event
   ========================= */

.member_join_event_group{
	display:flex;
	flex-direction:column;
	gap:14px;
	margin-bottom:26px;
}

.event{
	display:flex;
	align-items:center;
	justify-content:center;
}

.member_join_event_group .event_container{
	width:100%;
	max-width:none;
	margin-bottom:0;
}

.event_container{
	background:linear-gradient(135deg, #f0f6ff 0%, #ffffff 100%);
	border:1px solid #e0ebff;
	border-radius:18px;
	padding:24px 28px;
	box-shadow:0 8px 22px rgba(15, 23, 42, 0.06);
}

.event_container_title{
	font-size:1.35rem;
	font-weight:700;
	color:#1b3da5;
	display:flex;
	align-items:center;
	gap:8px;
	position:relative;
	letter-spacing:-0.2px;
}

.event_container_title .emoji{
	font-size:1.45rem;
}

.event_container_title_tag{
	background:linear-gradient(90deg, #ff7b54, #ffb347);
	color:#fff;
	font-size:0.8rem;
	font-weight:700;
	padding:4px 10px;
	border-radius:999px;
	margin-left:auto;
	box-shadow:0 4px 10px rgba(255,123,84,0.22);
}

.event_container_content{
	margin-top:10px;
}

.event_container_content_text{
	font-size:1rem;
	color:#334155;
	line-height:1.7;
}

.event_container_content_text .highlight{
	color:#ff7b54;
	font-weight:800;
}

.event_container_notice{
	margin-top:8px;
	font-size:0.92rem;
	color:#64748b;
}

.event_container.special{
	background:linear-gradient(135deg, #fff3e0 0%, #ffffff 100%);
	border:1px solid #ffd9b3;
}

.event_container_title_tag.special_tag{
	background:linear-gradient(90deg, #ff8c42, #ff3c00);
}

.event_container_content_text .special_highlight{
	color:#ff3c00;
	font-weight:800;
	font-size:1.15rem;
}

/* =========================
   Main shell
   ========================= */

.member_join_form_shell{
	margin-top:0;
}

.join_wrap{
	max-width:none;
	margin:0;
	display:flex;
	flex-direction:column;
	gap:20px;
}

.join_box,
.member_join_terms_shell{
	background:#fff;
	border:1px solid #e5edf8;
	border-radius:24px;
	padding:28px 26px 24px;
	box-shadow:
		0 10px 28px rgba(15, 23, 42, 0.05),
		0 2px 8px rgba(15, 23, 42, 0.03);
}

.member_join_section_title{
	margin-bottom:22px;
}

.member_join_section_badge{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	height:28px;
	padding:0 10px;
	border-radius:999px;
	background:#eef2ff;
	color:#4f46e5;
	font-size:12px;
	font-weight:800;
	letter-spacing:-0.2px;
	margin-bottom:10px;
}

.member_join_section_title h3{
	margin:0 0 8px 0;
	font-size:24px;
	font-weight:800;
	line-height:1.35;
	color:#111827;
	letter-spacing:-0.3px;
}

.member_join_section_title p{
	margin:0;
	font-size:14px;
	line-height:1.7;
	color:#64748b;
}

/* =========================
   List / spacing
   ========================= */

.join_box ul{
	list-style:none;
	margin:0;
	padding:0;
}

.join_box ul > li{
	margin:0;
	padding:18px 0;
}

.join_box hr{
	border:none;
	height:1px;
	background:linear-gradient(90deg, rgba(226,232,240,0) 0%, rgba(226,232,240,1) 16%, rgba(226,232,240,1) 84%, rgba(226,232,240,0) 100%);
	margin:6px 0;
}

/* =========================
   Labels / text
   ========================= */

.input_label,
.input_title,
.info-title{
	display:block;
	margin-bottom:10px;
	font-size:15px;
	font-weight:700;
	color:#1e293b;
	letter-spacing:-0.2px;
}

.input_required{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	margin-left:6px;
	padding:2px 8px;
	border-radius:999px;
	background:#fff1f2;
	color:#e11d48;
	font-size:11px;
	font-weight:700;
	vertical-align:middle;
}

.input_restrictions{
	margin-left:8px;
	font-size:12px;
	color:#64748b;
	font-weight:500;
	line-height:1.5;
}

.member_join_guide_label{
	color:#2563eb;
	font-weight:700;
}

.member_join_guide_label_secondary{
	margin-top:14px;
}

/* =========================
   Inputs / selects
   ========================= */

.join_box input[type="text"],
.join_box input[type="password"],
.join_box input[type="number"],
.join_box input[type="email"],
.join_box select{
	height:50px;
	padding:0 16px;
	border:1px solid #dbe4f0;
	border-radius:14px;
	background:#fbfdff;
	color:#0f172a;
	font-size:14px;
	transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
	box-sizing:border-box;
}

.join_box input[type="text"]:focus,
.join_box input[type="password"]:focus,
.join_box input[type="number"]:focus,
.join_box input[type="email"]:focus,
.join_box select:focus{
	outline:none;
	border-color:#8fb4ff;
	background:#fff;
	box-shadow:0 0 0 4px rgba(59,130,246,0.10);
}

.join_box input::placeholder{
	color:#94a3b8;
}

select[readonly],
input[type='text'][readonly],
input[type='number'][readonly],
input[type='checkbox'][readonly]{
	background-color:#eef2f7;
	color:#94a3b8;
	pointer-events:none;
	border-color:#dde5ef;
}

/* =========================
   Layout helpers
   ========================= */

.member_join_region_block{
	padding-top:0;
}

.member_join_region_row{
	margin-bottom: 10px;
	display:flex;
	align-items:center;
	gap:10px;
	flex-wrap:wrap;
}

.member_join_region_row select{
	flex:1 1 180px;
	min-width:0;
}

.member_join_region_row_sub{
	margin-top:0;
}

.member_join_field_group{
	margin-top:18px;
}

.member_join_checkbox_line{
	display:flex;
	align-items:center;
	gap:8px;
}

.member_join_checkbox_line label{
	margin:0;
	font-size:14px;
	font-weight:500;
	color:#334155;
}

.member_join_auth_row{
	display:flex;
	align-items:center;
	gap:12px;
	flex-wrap:wrap;
	margin-top:4px;
}

.flex_input_block{
	display:flex;
	align-items:center;
	gap:10px;
	flex-wrap:wrap;
}

.flex_input_block > input{
	flex:1 1 280px;
	min-width:0;
}

.phone_input_box{
	display:flex;
	align-items:center;
	gap:8px;
	flex-wrap:wrap;
}

.phone_input_box .h{
	color:#94a3b8;
	font-weight:700;
}

.phone_input_box select,
.phone_input_box input{
	width:110px;
}

.nowrap_div{
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	gap:10px;
	padding:14px 16px;
	background:#f8fbff;
	border:1px solid #e6eef8;
	border-radius:14px;
}

.nowrap_div > div{
	display:inline-flex;
	align-items:center;
}

.member_join_address_box{
	align-items:center;
}

.member_join_lot_number_row{
	display:inline-flex;
	align-items:center;
	gap:8px;
	flex-wrap:wrap;
}

.member_join_lot_number_row input{
	width:150px;
}

#real_estate_search,
#real_estate_name,
#represent,
#business_number,
#address,
#mb_email,
#reg_mb_id,
#reg_mb_password,
#password_confirm,
#mb_recommand{
	width:100%;
}

#mb_gen_name_wrapper{
	display:flex;
	align-items:center;
	gap:10px;
	flex-wrap:wrap;
	margin-bottom:10px;
}

#mb_gen_name_wrapper select{
	min-width:200px;
	flex:0 0 200px;
}

#mb_gen_name_direct{
	flex:1 1 220px;
	min-width:180px;
}

/* =========================
   Real estate list
   ========================= */

.real_estate_list ul{
	margin-top:0;
}

.real_estate_list li:first-child{
	border-top:none;
}

.real_estate_list li{
	border-bottom:none;
	padding-bottom:0;
	padding-top:0;
	margin-bottom:0;
	margin-top:0;
}

.real_estate_choose{
	max-height:320px;
	overflow-y:auto;
	border:1px solid #e5e7eb;
	border-radius:14px;
	background:#fff;
	padding:8px;
	box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.real_estate_choose::-webkit-scrollbar{
	width:6px;
}

.real_estate_choose::-webkit-scrollbar-thumb{
	background-color:#cbd5e1;
	border-radius:6px;
}

.real_estate_choose::-webkit-scrollbar-thumb:hover{
	background-color:#94a3b8;
}

.real_estate_choose ul{
	list-style:none;
	margin:0;
	padding:0;
}

.real_estate_choose li{
	margin-bottom:8px;
}

.real_estate_choooser{
	padding:12px 14px;
	border-radius:10px;
	background:#f8fafc;
	cursor:pointer;
	transition:all 0.2s ease-in-out;
	border:1px solid transparent;
}

.real_estate_choooser:hover{
	background:#eef4ff;
	border-color:#8fb4ff;
	transform:translateY(-1px);
	box-shadow:0 4px 12px rgba(59,130,246,0.08);
}

.real_estate_choooser > div{
	pointer-events:none;
}

.real_estate_title{
	font-weight:700;
	color:#1e293b;
	font-size:14px;
}

.real_estate_title span{
	font-weight:500;
	color:#475569;
}

.real_estate_address{
	font-size:12px;
	color:#64748b;
	margin-top:4px;
}

.real_estate_empty{
	text-align:center;
	padding:20px;
	color:#94a3b8;
	font-size:14px;
}

/* =========================
   Buttons
   ========================= */

.btn_rounded.sm_btn.flex_btn,
#pr_check{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	height:46px;
	padding:0 18px;
	border:none;
	border-radius:14px;
	background:linear-gradient(135deg, #2d5bff 0%, #5b7cff 100%);
	color:#fff;
	font-size:14px;
	font-weight:700;
	letter-spacing:-0.2px;
	cursor:pointer;
	box-shadow:0 8px 18px rgba(45,91,255,0.18);
	transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.btn_rounded.sm_btn.flex_btn:hover,
#pr_check:hover{
	transform:translateY(-1px);
	box-shadow:0 12px 24px rgba(45,91,255,0.22);
}

.btn-all-agree{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	height:34px;
	padding:0 12px;
	border-radius:10px;
	border:1px solid #d6dfeb;
	background:#fff;
	color:#334155;
	font-size:12px;
	font-weight:700;
	text-decoration:none;
	margin-right:2px;
	transition:background .18s ease, border-color .18s ease, color .18s ease;
}

.btn-all-agree:hover,
.btn-all-agree:focus{
	background:#f8fbff;
	border-color:#9fb9ff;
	color:#2d5bff;
	outline:none;
}

.login-btn-wrap{
	display:flex;
	align-items:center;
	justify-content:center;
	margin-top:18px;
}

.login-btn-wrap a{
	display:flex;
	align-items:center;
	justify-content:center;
	width:100%;
	height:56px;
	border-radius:18px;
	background:#111827;
	color:#fff;
	font-size:15px;
	font-weight:800;
	text-decoration:none;
	box-shadow:0 8px 18px rgba(17, 24, 39, 0.14);
	transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.login-btn-wrap a:hover{
	transform:translateY(-1px);
	background:#373ebb;
	box-shadow:0 12px 24px rgba(55, 62, 187, 0.18);
}

/* =========================
   Terms
   ========================= */

.all-agreetment{
	background:#f8fbff;
	border:1px solid #e3ecf8;
	border-radius:16px;
	padding:16px 18px;
	margin-bottom:14px;
}

.agreet-check-wrap{
	list-style:none;
	margin:0;
	padding:0;
}

.agreet-check-wrap > li{
	border:1px solid #e8eef6;
	border-radius:16px;
	padding:16px 18px;
	background:#fff;
	margin-bottom:12px;
	box-shadow:0 2px 8px rgba(15,23,42,0.03);
}

.checks-box2{
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	gap:8px;
}

.checks-box2 label{
	margin:0;
	font-size:14px;
	color:#334155;
	font-weight:600;
}

.checks-box2 label.bold{
	font-weight:800;
	color:#0f172a;
}

.checks-box2 label span{
	color:#ef4444;
	margin-left:4px;
	font-weight:700;
}

input[type="checkbox"]{
	display:inline-block;
	width:auto;
	height:auto;
	margin:0;
	padding:0;
	border:none;
	overflow:visible;
	-webkit-appearance:checkbox;
	-moz-appearance:checkbox;
	appearance:checkbox;
}

.agree-text{
	display:none;
	margin-top:14px;
	padding:16px 18px;
	background:#f8fafc;
	border:1px solid #e5e7eb;
	border-radius:14px;
	max-height:280px;
	overflow:auto;
	font-size:13px;
	line-height:1.75;
	color:#475569;
}

.agree-text .sub_title{
	font-size:14px;
	font-weight:800;
	color:#1e293b;
	margin-bottom:8px;
}

.agree-text .content,
.agree-text .sub_content{
	margin-bottom:8px;
}

.agree-text .line{
	margin-bottom:6px;
}

/* =========================
   Helper text
   ========================= */

#pr_check_info,
#id_duplicate_check{
	display:inline-block;
	font-size:13px;
	color:#64748b;
	font-weight:600;
}

/* =========================
   Responsive
   ========================= */

@media (max-width:920px){
	.member_join_contents{
		min-height:auto;
		display:block;
		padding:24px 0 50px;
	}

	.member_join_panel{
		padding:28px 20px 24px;
		border-radius:24px;
	}

	.member_join_head h2{
		font-size:26px;
	}

	.join_box,
	.member_join_terms_shell{
		padding:22px 18px 20px;
		border-radius:20px;
	}

	.flex_input_block{
		flex-direction:column;
		align-items:stretch;
	}

	.flex_input_block > input,
	.flex_input_block > button{
		width:100%;
	}

	.member_join_region_row{
		flex-direction:column;
		align-items:stretch;
	}

	.member_join_region_row select{
		width:100%;
	}

	#mb_gen_name_wrapper{
		flex-direction:column;
		align-items:stretch;
	}

	#mb_gen_name_wrapper select,
	#mb_gen_name_direct{
		width:100%;
		min-width:0;
		flex:auto;
	}

	.phone_input_box select,
	.phone_input_box input{
		flex:1 1 0;
		width:auto;
		min-width:0;
	}

	.member_join_lot_number_row{
		width:100%;
	}

	.member_join_lot_number_row input{
		flex:1 1 0;
		width:auto;
	}

	.member_join_auth_row{
		flex-direction:column;
		align-items:stretch;
	}

	.member_join_auth_row #pr_check{
		width:100%;
	}

	.nowrap_div{
		align-items:flex-start;
	}
}

@media (max-width:640px){
	.member_join_panel{
		padding:24px 16px 20px;
	}

	.member_join_head h2{
		font-size:24px;
	}

	.member_join_head p{
		font-size:14px;
	}

	.event_container{
		padding:18px;
		border-radius:16px;
	}

	.event_container_title{
		font-size:1.08rem;
	}

	.join_box ul > li{
		padding:14px 0;
	}

	.member_join_section_title h3{
		font-size:21px;
	}
}