/* ============================================================
   joinmember_v3.css — 회원가입 페이지 UI 현대화 (Bootstrap 5.3.5 기반)
   기존 색상 체계 유지, float → flexbox 전환
   ============================================================ */

/* --- Bootstrap 기본 스타일 리셋 (마스터 페이지 영향 방지) --- */
#top_bar ul {
	padding-left: 0;
	margin-bottom: 0;
}

/* --- 페이지 타이틀 배너 --- */
#page_title {
	position: relative;
	background-image: url(/images/common/title/main_title.png);
	height: 112px;
}
#page_title > #page_title_text {
	position: absolute;
	top: 30%;
	left: 8%;
	font-size: 24pt;
	font-weight: bold;
}

/* --- 스텝 인디케이터 --- */
.step-indicator {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 0 10px 0;
}
.step-indicator .step {
	display: flex;
	align-items: center;
	font-size: 10.5pt;
	color: #a6a6a6;
}
.step-indicator .step.active {
	color: #0070c0;
	font-weight: bold;
}
.step-indicator .step.completed {
	color: #333;
}
.step-indicator .step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid #a6a6a6;
	font-size: 10pt;
	font-weight: bold;
	margin-right: 6px;
	flex-shrink: 0;
}
.step-indicator .step.active .step-number {
	background-color: #0070c0;
	border-color: #0070c0;
	color: #fff;
}
.step-indicator .step.completed .step-number {
	background-color: #dae3f3;
	border-color: #dae3f3;
	color: #333;
}
.step-indicator .step-divider {
	width: 40px;
	height: 2px;
	background-color: #dae3f3;
	margin: 0 12px;
}

/* --- 페이지 레이아웃 (2컬럼) --- */
#page_wrap {
	display: flex;
	min-height: 400px;
}
#page_wrap > #aside {
	width: 210px;
	flex-shrink: 0;
	padding-top: 20px;
	padding-left: 30px;
	font-size: 12pt;
	line-height: 40px;
}
#page_wrap > #aside ul {
	padding-left: 0;
	margin-bottom: 0;
}
#page_wrap > #section {
	flex: 1;
	padding: 20px 35px 15px 35px;
	max-width: 790px;
}

/* --- 구분선 --- */
#page_wrap > #section > .line {
	width: 100%;
	height: 3px;
	margin-top: 13px;
	margin-bottom: 15px;
	background-color: #dae3f3;
}

/* --- Step1: 약관 동의 --- */
.terms-box {
	max-height: 220px;
	overflow-y: auto;
	padding: 15px;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	background-color: #fcfcfc;
	font-size: 10.5pt;
	line-height: 1.7;
	color: #333;
	white-space: pre-wrap;
	word-break: keep-all;
}
.terms-section {
	margin-bottom: 15px;
}
.terms-section .form-check {
	padding-top: 8px;
	padding-bottom: 3px;
}
.terms-section .form-check-label {
	font-weight: bold;
	font-size: 12pt;
	cursor: pointer;
}
.terms-section .form-check-input {
	width: 1.2em;
	height: 1.2em;
	cursor: pointer;
}
.terms-section .form-check-input:checked {
	background-color: #0070c0;
	border-color: #0070c0;
}

/* --- Step2: 정보 입력 필드 --- */
.join-form .field-row {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
}
.join-form .field-row:first-child {
	margin-top: 25px;
}
.join-form .field-label {
	width: 120px;
	text-align: right;
	padding-right: 12px;
	font-size: 11pt;
	flex-shrink: 0;
}
.join-form .field-value {
	flex: 1;
}
.join-form .field-value .form-control,
.join-form .field-value .form-select {
	display: inline-block;
	font-size: 11pt;
}
.join-form .field-hint {
	font-size: 9.5pt;
	color: #a6a6a6;
	margin-left: 8px;
}
.join-form .info-box {
	margin-top: 20px;
	margin-bottom: 10px;
	margin-left: 120px;
	padding: 15px;
	background: #fcfcfc;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	line-height: 25px;
	font-size: 10.5pt;
}

/* --- JoinMemberEnd: 가입 완료 --- */
#page_wrap .content {
	padding-top: 20px;
	line-height: 25px;
}
#page_wrap .client_info {
	margin-top: 30px;
	margin-bottom: 30px;
	padding: 20px 25px;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	background-color: #fcfcfc;
	line-height: 25px;
}

/* --- 버튼 영역 --- */
.btn-area {
	display: flex;
	gap: 12px;
	padding-top: 20px;
	padding-bottom: 40px;
}
.join-form .btn-area {
	margin-left: 120px;
}
.btn-area.centered {
	justify-content: center;
}
.btn-area.right-aligned {
	justify-content: flex-end;
}

/* 기존 색상 유지 버튼 */
.btn-bh-primary {
	display: inline-block;
	min-width: 160px;
	padding: 8px 24px;
	font-size: 12pt;
	font-weight: normal;
	color: #ffffff;
	background-color: #0070c0;
	border: none;
	border-radius: 4px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	line-height: 1.5;
}
.btn-bh-primary:hover {
	background-color: #005a9e;
	color: #ffffff;
	text-decoration: none;
}
.btn-bh-outline {
	display: inline-block;
	min-width: 160px;
	padding: 8px 24px;
	font-size: 12pt;
	font-weight: normal;
	color: #333;
	background-color: #ffffff;
	border: 1px solid #999999;
	border-radius: 4px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	line-height: 1.5;
}
.btn-bh-outline:hover {
	background-color: #f5f5f5;
	text-decoration: none;
}

/* JoinMemberEnd 버튼 그룹 */
#joinend_btn_area {
	display: flex;
	gap: 12px;
	padding-top: 15px;
	padding-bottom: 50px;
}
#joinend_btn_area .btn-bh-primary {
	flex: 1;
	min-width: 0;
	white-space: nowrap;
	padding: 8px 10px;
}

/* --- 테이블 (가입 완료 체험 정보) --- */
.exp-info-table {
	margin-top: 10px;
	margin-bottom: 20px;
}
.exp-info-table th {
	background-color: #f2f2f2;
	text-align: center;
	vertical-align: middle;
	font-weight: normal;
}
.exp-info-table td {
	text-align: center;
	vertical-align: middle;
}

/* --- 유틸리티 --- */
.red_font_11 {
	font-size: 11pt;
	color: #ff0000;
}
.url {
	font-size: 11pt;
	color: #0070C0;
	text-decoration: none;
}
.url:hover {
	text-decoration: underline;
}
