2018-05-14@charset "utf-8";

/* ### 기본 스타일 커스터마이징 시작 ### */

/* 버튼 */
.mbskin a.btn01 {}
.mbskin a.btn01:focus, .mbskin .btn01:hover {}
.mbskin a.btn02 {}
.mbskin a.btn02:focus, .mbskin .btn02:hover {}
.mbskin .btn_confirm {} /* 서식단계 진행 */
.mbskin .btn_submit {}
.mbskin button.btn_submit {}
.mbskin fieldset .btn_submit {}
.mbskin .btn_cancel {}
.mbskin button.btn_cancel {}
.mbskin .btn_cancel:focus, .mbskin .btn_cancel:hover {}
.mbskin a.btn_frmline, .mbskin button.btn_frmline {} /* 우편번호검색버튼 등 */
.mbskin button.btn_frmline {}
.mbskin .win_btn {} /* 새창용 */
.mbskin .win_btn button {}
.mbskin .win_btn input {}
.mbskin .win_btn a {}
.mbskin .win_btn a:focus, .mbskin .win_btn a:hover {}

/* 게시판용 버튼 */
.mbskin a.btn_b01 {}
.mbskin a.btn_b01:focus, .mbskin .btn_b01:hover {}
.mbskin a.btn_b02 {}
.mbskin a.btn_b02:focus, .mbskin .btn_b02:hover {}
.mbskin a.btn_admin {} /* 관리자 전용 버튼 */
.mbskin a.btn_admin:focus, .mbskin a.btn_admin:hover {}

/* 기본박스 */
.mbskin{position: relative;margin:100px auto 0; max-width:500px;background:#fff;text-align:center;}
.mbskin .frm_input{width:100%}
.mbskin .btn_submit{width:100%;margin:10px 0 0;height:45px;font-weight:bold;font-size:1.25em}
.mbskin  h1{margin: 20px 0 30px;font-size: 2em;}


/* 기본테이블 */

.mbskin .tbl_head01 {}
.mbskin .tbl_head01 caption {}
.mbskin .tbl_head01 thead th {}
.mbskin .tbl_head01 thead a {}
.mbskin .tbl_head01 thead th input {} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
.mbskin .tbl_head01 tfoot th {}
.mbskin .tbl_head01 tfoot td {}
.mbskin .tbl_head01 tbody th {}
.mbskin .tbl_head01 td {}
.mbskin .tbl_head01 a {}
.mbskin td.empty_table {}

/* 폼 테이블 */
.mbskin table {}
.mbskin caption {}
.mbskin .frm_info {}
.mbskin .frm_file {}

.mbskin .tbl_frm01 {}
.mbskin .tbl_frm01 th {width:85px;}
.mbskin .tbl_frm01 td {}
.mbskin .tbl_frm01 textarea, .mb_skin tbl_frm01 .frm_input {}
.mbskin .tbl_frm01 textarea {}
/*
.mbskin .tbl_frm01 #captcha {}
.mbskin .tbl_frm01 #captcha input {}
*/
.mbskin .tbl_frm01 a {}

/* 필수입력 */
.mbskin .required, .mbskin textarea.required {}

/* 테이블 항목별 정의 */
.mbskin .td_board {}
.mbskin .td_chk {}
.mbskin .td_date {}
.mbskin .td_datetime {}
.mbskin .td_group {}
.mbskin .td_mb_id {}
.mbskin .td_mng {}
.mbskin .td_name {}
.mbskin .td_nick {}
.mbskin .td_num {}
.mbskin .td_numbig {}

.mbskin .txt_active {}
.mbskin .txt_expired {}

/* ### 기본 스타일 커스터마이징 끝 ### */

/* 회원가입 약관 */

#fregister {margin-bottom:30px;}

#fregister p{text-align:center;color: #c7254e;background: #f9f2f4;padding:10px;border:1px solid #ecc7d2;margin:0 0 5px}

#fregister section {;margin:10px auto 30px;border:1px solid #dbdbdb;position:relative;border-radius:3px 3px 0 0 ;
-webkit-box-shadow:  0 1px 3px #eee;
-moz-box-shadow:  0 1px 3px #eee;
box-shadow: 0 1px 3px #eee;
}
#fregister_chkall{text-align:right}
#fregister h2 {text-align:left;padding:15px 20px;border-bottom:1px solid #dbdbdb;background:#f8f8f8}
#fregister textarea {display:block;padding:20px;width:100%;height:150px;background:#fff;border:0;line-height:1.6em}
#fregister .fregister_agree {position:absolute;top:0;right:0;;padding:15px}
#fregister_private div{padding:20px;background:#fff}

#fregister_private table{width:100%;border-collapse:collapse}
#fregister_private table caption {position:absolute;font-size:0;line-height:0;overflow:hidden}
#fregister_private table  th{background:#646982;width:33.33%;color:#fff;padding:10px;border:1px solid #555971}
#fregister_private table  td{border:1px solid #ddd;padding:10px;}
#fregister .btn_confirm{text-align:center;}

#fregister .btn_confirm .btn_submit{height:50px;border-radius:3px;padding:0 40px;font-weight:bold;font-size:1.083em}

/* 회원가입 입력 */
#register_form{background:#fff;padding:20px;margin-bottom:20px}
#fregisterform {margin-bottom:30px;}
#fregisterform #msg_certify {margin:5px 0 0;padding:5px;border:1px solid #dbecff;background:#eaf4ff;text-align:center}
#fregisterform .frm_address {margin:5px 0 0}
#fregisterform #mb_addr3 {display:inline-block;margin:5px 0 0;vertical-align:middle}
#fregisterform #mb_addr_jibeon {display:block;margin:5px 0 0}
#fregisterform .btn_confirm{text-align:center}
#fregisterform .btn_confirm .btn_submit{height:45px;padding:0 30px;font-weight:bold;font-size:1.083em}
#fregisterform .btn_confirm .btn_cancel{height:45px;line-height:45px;padding:0 30px;font-weight:bold;font-size:1.083em; margin-top:-6px;}
#fregisterform .frm_info{display:block;color:#3497d9;font-size:0.92em; line-height:100%;}
#fregisterform .form_01 div{margin: 0 0 50px}
#fregisterform .captcha{display:block;margin:5px 0 0}
#fregisterform .reg_mb_img_file img{max-width:100%;height:auto}


/* 회원가입 완료 */
#reg_result {padding:100px 0 40px;text-align:center;background:#fff}
#reg_result h2{font-size:2em;margin:0 0 20px}
#reg_result h2 strong{}
#reg_result #result_email {margin:20px 0;padding:10px 50px;border-top:1px solid #e9e9e9;border-bottom:1px solid #dde4e9;background:#fff;line-height:2em}
#reg_result #result_email span {display:inline-block;width:150px}
#reg_result #result_email strong {color:#e8180c;font-size:1.2em}
#reg_result p {line-height:1.8em}
#reg_result .btn_confirm {margin:50px 0}
#reg_result .reg_result_p{font-size:1.25em;margin:0 0 10px;}
#reg_result .reg_result_p strong{color:#3497d9}
#reg_result .btn_submit{padding: 0 30px;font-weight:bold;height:40px;line-height:40px;display:inline-block;margin:30px 0 0 ;font-size:1.083em;color:#fff;}

/* 아이디/비밀번호 찾기 */
#find_info #mb_hp_label {display:inline-block;margin-left:10px}
#find_info p {line-height:1.5em}
#find_info #mb_email{margin:10px 0;}

/* 로그인 */
#mb_login {}
#login_fs{padding:0 50px}
@media(max-width:768px){
	#register_form{padding:0px;}
	#login_fs{padding:0 2%}
	.register_tb_w table th {padding:5px !important;letter-spacing:-1px;}
	#fregister .fregister_agree {position:relative;border-top:1px solid #ddd;}
}

#mb_login #login_fs .frm_input{margin:0 0 10px}
#mb_login #login_fs .btn_submit {margin:0 0 20px}
#mb_login #login_info{max-width:400px; background:#f8f8f8; padding:25px 10px;border:1px solid #e8e8e8; margin:20px auto 0 }
#mb_login #login_info:after {display:block;visibility:hidden;clear:both;content:""}
#mb_login #login_info h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#mb_login #login_info a{display:inline-block;width:50%;float:left}
#login_password_lost{border-right:1px solid #ddd}

#mb_login_notmb{margin:30px auto;padding:20px 30px }
#mb_login_notmb h2{font-size:1.25em;margin:20px 0 10px}
#guest_privacy{border:1px solid #ccc;text-align:left;line-height:1.6em;color:#666;background:#fafafa;padding:10px;height:150px;margin:10px 0;overflow-y:auto}
#mb_login_notmb .btn_submit{display:block;text-align:center;line-height:45px}

#mb_login_od_wr{margin:30px auto;padding:20px 30px }
#mb_login_od_wr h2{font-size:20px;margin:20px 0 10px;color:#000;}
#mb_login_od_wr .frm_input{margin:10px 0 0 }
#mb_login_od_wr p{background:#f3f3f3;margin:20px 0 0 ;padding:15px 20px;line-height:1.5em}

/* 쪽지 */
#memo_list .memo_name,#memo_list .memo_name .sv_wrap{font-weight:bold}
#memo_list .memo_datetime{float:right;font-size:0.92em;color:#777;font-style:italic}
#memo_list .memo_del{margin-left: 5px; color: #49857c;font-size: 15px;}

#memo_view_contents {margin:10px 0;border:1px solid #ddd;}
#memo_view_contents h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#memo_view_ul {margin:0;border-bottom:1px solid #eee;list-style:none;background:#f3f3f3;}
#memo_view_ul:after {display:block;visibility:hidden;clear:both;content:""}
.memo_view_li {position:relative;padding:10px;float:left;width:50%;}
.memo_view_name strong,.memo_view_name .sv_wrap{font-weight:bold !important}
.memo_view_subj{display: inline-block;height: 20px;line-height: 18px;border: 1px solid #3497d9;color: #3497d9;padding: 0 5px;border-radius: 15px;font-size: 11px;}
.memo_view_li .profile_img img{border-radius:50%}
.memo_view_date{text-align:right;color:#555;font-style:italic}
.memo_view_date strong{font-weight:normal}
#memo_view .btn_b02{float:right}
#memo_view .btn_b02.reply_btn{margin-left:4px}
#memo_view p {padding:10px;border-top:1px solid #ddd;min-height:150px;height:auto !important;height:150px;background:#fff;line-height:1.8em}

#memo_write textarea {height:100px}

/* 스크랩 */
#scrap .scrap_tit{font-weight:bold;display:block;font-size:1.083em;margin-bottom:5px;line-height:1.3em}
#scrap .scrap_cate{ display:block;color:#3598db ;font-size:0.92em;float:left}
#scrap .scrap_datetime{;color:#777;font-style:italic;float:right}
#scrap .scrap_del{position:absolute;top:5px;right:10px;font-size:18px;color:#49857c}
#scrap .scrap_del:hover{color:#98ca69}
#scrap_do table {margin:0 0 10px;width:100%}
#scrap_do textarea {height:100px}
#scrap_do .scrap_tit{background:#f3f3f3;padding:10px 15px;font-size:1.083em;font-weight:bold}
#scrap_do label{display:block;margin:0 0 5px;font-size:0.92em}
/*포인트*/
#point .point_top{line-height:15px;margin:0 0 5px}
#point .point_top:after {display:block;visibility:hidden;clear:both;content:""}
#point .point_tit{font-weight:bold;float:left;font-size:1.083em;display:block;}
#point .point_num{font-size:1.25em;color:#00c4ac;font-weight:bold;float:right;}
#point .point_date1{float:left;color:#555;font-style:italic}
#point .point_date{float:right;color:#555;font-style:italic}
#point .txt_expired {color:#aaa;}
#point .point_all{background:#ae99da;border:0;border-bottom:2px solid #9781c5;color:#fff;font-weight:bold;font-size:1.083em}
#point .point_all span,#point .point_status span{float:right;}
#point .point_status{background:#737373;border:0;color:#fff;font-weight:bold;font-size:1.083em}
#point .point_status  span{margin-left:10px}

/* 회원 비밀번호 확인 */
#mb_confirm {}
#mb_confirm h1 {margin:60px 0 30px;font-size:2em}
#mb_confirm p {padding:0 20px 40px;border-bottom:1px solid #e9e9e9;font-size:1.083em;line-height:1.4em;color:#656565}
#mb_confirm p strong {display:block;color:#3ca1ff;font-size:1.167em;margin:0 0 5px}
#mb_confirm fieldset {;padding:50px;text-align:left}
#mb_confirm fieldset .frm_input {background-color:#fff !important}
#mb_confirm label {letter-spacing:-0.1em}
#mb_confirm_id {display:block;margin:5px 0 10px;font-weight:bold}
#mb_confirm .confirm_id{font-size:0.92em;color:#666}

/* 비밀글 비밀번호 확인 */
#pw_confirm h1 {margin:60px 20px 30px;font-size:2em}
#pw_confirm p {padding:0 20px 40px;border-bottom:1px solid #e9e9e9;font-size:1.083em;line-height:1.4em;color:#656565}
#pw_confirm p strong {display:block;color:#3ca1ff;font-size:1.167em;margin:0 0 5px}
#pw_confirm fieldset {;padding:50px;text-align:center}
#pw_confirm fieldset .frm_input {background-color:#fff !important}
#pw_confirm label {letter-spacing:-0.1em}
#pw_confirm_id {display:inline-block;margin-right:20px;font-weight:bold}
#mb_confirm_id{}

/* 폼메일 */
#formmail textarea {height:100px}
#formmail .formmail_flie{position:relative}
#formmail .formmail_flie .file_wr {border: 1px solid #ccc;background: #fff;color: #000;vertical-align: middle;border-radius: 3px;padding: 5px;height: 40px;margin: 0;}
#formmail .lb_icon {position: absolute;top: 1px;left: 1px;border-radius: 3px 0 0 3px;height: 38px;line-height: 38px;width: 40px;background: #eee;text-align: center;color: #888;}
#formmail .frm_file {padding-left: 50px;}
#formmail .frm_info{color: #3497d9;font-size: 0.92em;}

/* 자기소개 */
#profile h1 a{color:#fff}
#profile table {margin-bottom:0}
#profile table th{text-align:left;padding:10px;width:100px}
#profile section {color: #2d4c7b;background: #eff9f9;padding: 10px;border: 1px solid #bfd4dc;margin: 10px 0;}
#profile h2 {margin:0 0 5px}
#profile .profile_name{text-align:center;font-weight:bold}
#profile .my_profile_img{display:block;margin:20px 0 5px;}
#profile .my_profile_img img{border-radius:50%;border:1px solid #aaa}
#profile .profile_img img{border-radius:50%}
#profile .profile_name .sv_wrap{font-weight:bold;text-align:left}

#mb_login_odinfo {font-size:12px;}
#mb_login_odinfo strong {color:#af0000;}
/* ==========================================================
   BA 회원가입 리뉴얼 (26.07.13) — register / register_form / register_result
   ========================================================== */
.ba-join {width:100%; max-width:1200px; margin:100px auto 140px; padding:0;} /* Figma 2719:5787 재작성 (26.07.22) */
.ba-join--inline {max-width:none; margin:0;} /* 마이페이지 .ba-my__content 안 인라인(회원정보 수정) */
.ba-join--inline .ba-form__row {flex-wrap:wrap;} /* 880 폭 대응 */
@media(max-width:1240px){.ba-join {padding:0 4%;}}
.ba-join__tit {margin:0 0 60px; font-size:36px; font-weight:700; line-height:1; color:var(--gray-950);}

/* 3단계 탭 — active 상단 라운드 grad 보더 + 이후 구간 하단 2px 라인 */
.ba-join-tabs {display:flex; position:relative; margin:0 0 100px; padding:0; list-style:none;}
.ba-join-tabs::after {content:''; position:absolute; right:0; bottom:0; left:0; height:2px; background:var(--main-color);} /* 전체 라인 — active 위치와 무관 (K1 허용) */
.ba-join-tabs li {display:flex; align-items:center; justify-content:center; gap:4px; width:160px; padding:19px 20px; font-size:16px; font-weight:400; line-height:1.38; color:var(--fifth); list-style:none; opacity:0.6;} /* 비활성 = 프레임 60% (Figma 2719:5803, 원·텍스트 fifth 유지) */
.ba-join-tabs li i {display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; width:18px; height:18px; border-radius:50%; background:var(--fifth); color:var(--white); font-size:12px; font-style:normal; font-weight:700; line-height:1;} /* 원형 스텝 — D8 예외 */
.ba-join-tabs li.is-active {position:relative; z-index:1; padding:17px 18px 19px; border:2px solid transparent; border-bottom:0; border-radius:30px 30px 0 0; background:linear-gradient(var(--white), var(--white)) padding-box, var(--grad04) border-box; font-weight:700; opacity:1;} /* 보더 2px 포함 높이 60 유지 */
.ba-join-tabs li.is-active::after {content:''; position:absolute; right:2px; bottom:0; left:2px; height:2px; background:var(--white);} /* 자기 폭만 하단 라인 가림 (좌우 보더 2px는 남겨 라인과 연결) */
.ba-join-tabs li.is-active i {background:var(--fifth);}

/* 섹션 라벨 — 우측에 모두 동의하기 */
.ba-join__sec {display:flex; justify-content:space-between; align-items:center; margin:0 0 40px; padding:0; border:0; font-size:20px; font-weight:700; line-height:1; color:var(--fifth);}

/* 약관 */
.ba-terms__bar {display:flex; justify-content:space-between; align-items:center; margin:0 0 20px; padding:19px 20px; border:0; border-radius:10px; background:var(--bg01); font-size:16px; font-weight:400; line-height:1.38; color:var(--gray-950);}
.ba-terms__bar em {font-style:normal; font-weight:700; color:var(--main-color);}
#fregister section.ba-terms__box, .ba-terms__box {display:flex; flex-direction:column; height:180px; margin:0 0 40px; padding:20px; border:1px solid var(--gray-300); border-radius:10px; background:var(--white); box-shadow:none;} /* 고정 높이 스크롤 컨테이너 — D8 예외 (Figma 180). #fregister section 레거시(1,0,1) 대응 특이도 강화 */
.ba-terms__scroll h3 {margin:0 0 14px; font-size:20px; font-weight:700; line-height:1.4; color:var(--gray-950);} /* 제목도 본문과 함께 스크롤 (26.07.22) */
.ba-terms__scroll {flex:1; min-height:0; max-height:none; overflow-y:auto; padding-right:14px; font-size:16px; font-weight:400; line-height:1.75; color:var(--gray-950);}
.ba-terms__scroll::-webkit-scrollbar {width:6px;}
.ba-terms__scroll::-webkit-scrollbar-thumb {border-radius:4px; background:var(--main-color);}
.ba-terms__scroll::-webkit-scrollbar-track {background:none;}

/* 공용 체크박스 — M9 (appearance:none + 체크 SVG) */
.ba-chk {display:inline-flex; align-items:center; gap:12px; font-size:16px; font-weight:400; line-height:1.38; color:var(--rgba01); cursor:pointer;} /* 60% */
.ba-chk input {appearance:none; -webkit-appearance:none; flex:0 0 auto; width:18px; height:18px; margin:0; border:1px solid var(--gray-300); border-radius:4px; background:var(--white); cursor:pointer;}
.ba-chk input:checked {background:var(--white) url('./img/ico_check_blue.svg') no-repeat center / 10px 8px;}
.ba-chk--sub {margin-top:10px;}

/* 폼 — Figma 2719:6051 재작성 (26.07.22) */
.ba-form {padding:0;}
.ba-form + .ba-join__sec {margin-top:60px;}
.ba-form--captcha {margin-top:40px; padding-top:40px; border-top:1px solid var(--gray-300);}
.ba-form__row {display:flex; align-items:flex-start;}
.ba-form__row + .ba-form__row {margin-top:20px;}
.ba-form__lb {flex:0 0 183px; margin-right:20px; padding-top:11px; font-size:20px; font-weight:400; line-height:1.4; color:var(--fifth);}
.ba-form__lb em {font-style:normal; color:var(--secondary);}
.ba-form__fd {flex:1; min-width:0;}
.ba-form__fd--inline {display:flex; align-items:center; gap:20px; flex-wrap:wrap; min-height:50px;} /* input 행과 동일 높이 — 체크박스 행(교육학년 등)도 라벨과 세로 중앙 정렬 */
.ba-form__fd--inline .ba-chk + .ba-chk {margin-left:127px;} /* 교육학년 중등↔고등 — Figma 체크 시작점 간격 204 (라벨 자연폭 57 + gap 20 + 127, 실측 보정) */
.ba-form__dash {font-size:16px; color:var(--fifth);}
.ba-form__msg {display:block; margin-top:6px; font-size:13px; color:var(--secondary);}
.ba-form__addr1 {display:flex; align-items:center; gap:20px; flex-wrap:wrap;} /* B5 — 중간 폭(768~1000)에서 버튼 자연 줄바꿈 (고정 184+388+160 넘침 방지) */

.ba-inp, input.ba-inp {padding:13px 19px; border:1px solid var(--gray-300); border-radius:30px; background:var(--white); font-size:16px; line-height:1.38; color:var(--gray-950); box-sizing:border-box;} /* 높이 50 = 22 + 26 + 2. input. 병기 — 레거시 input[type=text] radius 리셋(0,1,1) 대응 */
#fregisterform #ba_id_check {margin-left:16px;} /* 아이디 input과 20 간격 (inline-block 공백 보정) */
.ba-inp::placeholder {color:var(--rgba01); opacity:1;}
input.ba-inp:focus {padding:12px 18px; border:2px solid transparent; background:linear-gradient(var(--white), var(--white)) padding-box, var(--grad04) border-box; outline:0;} /* grad04 focus */
input.ba-inp[readonly]:focus {padding:13px 19px; border:1px solid var(--gray-300); background:var(--white);} /* readonly(우편/주소)는 focus 효과 제외 */
.ba-inp[disabled] {background:var(--gray-100); color:var(--rgba01);}
.ba-inp--half {width:388px; max-width:100%;}
.ba-inp--full {display:block; width:100%; max-width:590px; margin-top:20px;}
.ba-inp--zip {flex:0 0 auto; width:184px;}
.ba-inp--grow {flex:0 0 auto; width:388px; max-width:100%;}
.ba-inp--em {flex:0 0 auto; width:184px;}

.ba-btn {flex:0 0 auto; min-width:160px; padding:16px 31px; border:0; border-radius:10px; font-size:18px; font-weight:700; line-height:1; cursor:pointer; white-space:nowrap;} /* 160×50 */
.ba-btn--gray {background:var(--gray-200); color:var(--gray-500);}
.ba-btn--gray[disabled] {cursor:default;}
.ba-btn--blue {background:var(--main-color); color:var(--white);}

/* 커스텀 셀렉트 — pt-select 동일 (50h 버전) */
.ba-select {position:relative; flex:0 0 auto; width:174px;}
.ba-select--sm {width:120px;}
.ba-select--lg {width:184px;}
.ba-select select {display:none;}
.ba-select__btn {display:block; position:relative; z-index:6; width:100%; padding:13px 38px 13px 19px; border:1px solid var(--gray-300); border-radius:30px; background:var(--white) url('./img/ico_select_down.svg') no-repeat right 10px center / 24px 24px; font-size:16px; line-height:1.38; color:var(--rgba01); text-align:left; cursor:pointer;} /* 목록(z5)보다 위 */
.ba-select__btn.is-set {color:var(--gray-950);}
.ba-select.is-open .ba-select__btn {padding:12px 37px 12px 18px; border:2px solid transparent; background:url('./img/ico_select_down.svg') no-repeat right 9px center / 24px 24px padding-box, linear-gradient(var(--white), var(--white)) padding-box, var(--grad04) border-box;} /* 열림 = grad04 보더 */
.ba-select__list {display:none; position:absolute; top:25px; right:0; left:0; z-index:5; margin:0; padding:25px 0 0; max-height:400px; overflow-y:auto; background:var(--bg02); border:1px solid var(--main-color); list-style:none;} /* K1 예외: 플로팅 드롭다운 */
.ba-select.is-open .ba-select__list {display:block;}
.ba-select__list button {display:block; width:100%; padding:14px 19px; border:0; border-bottom:1px solid var(--bg05); background:none; font-size:16px; line-height:1.38; color:var(--rgba01); text-align:left; cursor:pointer;}
.ba-select__list li:last-child button {border-bottom:0;}

/* 하단 버튼 */
.ba-join__btns {margin:140px 0 0; text-align:center;}
.ba-join__next {min-width:160px; padding:15px 31px; border:0; border-radius:10px; background:var(--gray-200); font-size:18px; font-weight:700; line-height:1; color:var(--gray-500); cursor:default; transition:background 0.3s, color 0.3s;} /* Figma 160×48 — disabled 기본 */
.ba-join__next:not([disabled]) {background:var(--grad01); color:var(--white); cursor:pointer;}

/* 가입완료 — Figma 2719:5871 재작성 (26.07.22) */
.ba-done {width:100%; max-width:400px; margin:0 auto; text-align:center;}
.ba-done__tit {margin:0 0 20px; font-size:36px; font-weight:700; line-height:1; color:var(--gray-950);}
.ba-done__illust {display:block; width:400px; max-width:100%; margin:0 0 60px;}
.ba-done__box {display:flex; flex-direction:column; gap:20px; margin:0 0 20px; padding:20px; border-radius:10px; background:var(--bg01);}
.ba-done__msg {margin:0; font-size:16px; font-weight:700; line-height:1.38; color:var(--gray-950);}
.ba-done__id {display:flex; align-items:center; justify-content:center; gap:20px; margin:0; font-size:16px; font-weight:400; line-height:1.38; color:var(--fifth); opacity:0.8;}
.ba-done__bar {flex:0 0 auto; width:1px; height:10px; background:var(--fifth); opacity:0.75;} /* Figma op0.6 (부모 0.8 중첩 보정) */
.ba-done__mail {margin:0 0 20px; font-size:14px; line-height:1.6; color:var(--fifth);}
.ba-done__login, a.ba-done__login:link, a.ba-done__login:visited {display:flex; align-items:center; justify-content:space-between; width:100%; padding:11px 20px 12px; border-radius:30px; background:var(--grad04); font-size:18px; font-weight:700; line-height:1.39; color:var(--white); text-decoration:none;} /* 400×48 — a:link 특이도 병기 */
a.ba-done__login:hover {color:var(--white);}
.ba-done__login img {width:18px; height:18px;}

@media (max-width:768px) {
    .ba-join {margin:34px auto 70px;}
    .ba-join__tit {margin:0 0 40px; font-size:28px;}
    .ba-join-tabs {margin:0 0 60px;}
    .ba-join-tabs li {padding:12px 12px; font-size:13px;}
    .ba-join__sec {font-size:17px;}
    .ba-form__row {flex-direction:column; gap:6px;}
    .ba-form__lb {flex:none; padding-top:0; font-size:16px;}
    .ba-terms__bar {flex-direction:column; align-items:flex-start; gap:8px;}
    /* 행 공통 — 필드 래퍼를 flex로: 인풋+버튼이 한 줄로 이어붙고, 좁으면 자연 wrap */
    .ba-form__fd {display:flex; flex-wrap:wrap; gap:12px; align-items:center;}
    .ba-form__msg {flex:0 0 100%; margin-top:0;}
    .ba-form__fd > .ba-chk {flex:0 0 100%;} /* '기본 입력 정보와 동일' — 버튼 옆에 끼지 않게 */
    .ba-form__fd--inline > .ba-chk {flex:0 0 auto;} /* 교육학년 중등/고등 — 한 줄 유지 */
    .ba-inp--half {flex:1 1 auto; width:auto; min-width:0;} /* 아이디 인풋 + 중복확인 버튼 한 줄 */
    #fregisterform #ba_id_check {margin-left:0;} /* 간격은 gap이 담당 */
    .ba-btn {min-width:0; padding:14px 20px; font-size:16px;}
    /* 전화번호 — 줄1: 통신사·010·- / 줄2: 번호 인풋 + 인증번호 발송 */
    .ba-form__fd--inline {gap:12px;}
    .ba-form__fd--inline .ba-inp--grow {flex:1 1 160px; width:auto; min-width:0;}
    /* 이메일 — 이메일@이메일 비례, 도메인 select는 풀폭 새 줄 */
    .ba-inp--em {flex:1 1 100px; width:auto; min-width:0;}
    .ba-form__fd--inline .ba-select:not(.ba-select--sm):not(.ba-select--lg) {flex:1 1 100%; width:auto;} /* 이메일 도메인 select만 — 학원전화 --lg(184)는 한 줄 유지 */
    /* 주소 — order 재배치: 줄1 우편번호+주소찾기 / 줄2 주소 풀폭 (마크업 순서는 zip·주소·버튼) */
    .ba-form__addr1 {flex-wrap:wrap; gap:12px;}
    .ba-inp--zip {flex:1 1 auto; width:auto; min-width:0; order:1;}
    .ba-form__addr1 .ba-btn {flex:0 0 auto; order:2;}
    .ba-form__addr1 .ba-inp--grow {flex:1 1 100%; width:auto; order:3;}
    .ba-inp--full {max-width:none; margin-top:0;} /* 상하 간격은 fd gap이 담당 */
    .ba-form__fd--inline .ba-chk + .ba-chk {margin-left:28px;} /* 교육학년 간격 축소 */
    .ba-join__btns {margin:80px 0 0;}
    .ba-done__tit {font-size:28px;}
}

/* 테마 #fregister p / #fregisterform 간섭 방어 (26.07.13) */
#fregister .ba-join__sec, #fregisterform .ba-join__sec {background:none; text-align:left; border:0; padding:0;} /* 1단계 시안: 라벨 하단 보더 없음 (26.07.22) */
#fregisterform .ba-join__sec {padding:0 0 40px; border-bottom:1px solid var(--gray-300);} /* 2단계 시안(2719:6051): 라벨 아래 1px 라인 */
#fregister .ba-terms__scroll, #fregister .ba-terms__scroll * {text-align:left;}

/* (26.07.22 제거) 구 required 삼각형 마커 대응 !important — required class를 마크업에서 제거하는 방식으로 대체. focus grad04 배경을 죽이던 원인 */
