@charset "UTF-8";

/* 회원 화면 공통 — 로그인 · 회원가입 · 아이디/비밀번호 찾기
 * skin/member/doje/*.skin.php 가 함께 쓰는 스타일입니다. */

.memberPage{position:relative; display:flex; align-items:center; justify-content:center; min-height:calc(100vh - 100px); padding:140px 20px 100px;}
.memberPage::before{content:''; position:absolute; top:0; left:0; z-index:-1; width:100%; height:100%; background:url(../../theme/basic/doje/image/contents/signature_bg.jpg) no-repeat center/cover; opacity:.25;}

.member_box{width:100%; max-width:460px; padding:56px 50px 48px; background:#fff; border:1px solid #F0E7DC; box-shadow:0 18px 40px rgba(53,49,48,.06);}
.member_box--wide{max-width:640px;}

/*머리말*/
.member_head{text-align:center; margin-bottom:40px;}
.member_head .logo{width:auto; max-width:110px; height:auto; margin:0 auto 22px; filter:brightness(0) saturate(100%);}
.member_head .eng_titl{font-family:'marcellus'; font-size:22px; letter-spacing:.06em; color:#BC9171; margin-bottom:14px;}
.member_head .subs{font-size:15px; line-height:1.6; color:#797979;}

/*입력*/
.m_field{margin-bottom:18px;}
.m_field > label,
.m_field .f_label{display:block; font-size:15px; color:#353130; margin-bottom:8px;}
.m_field .req{color:#BC9171;}
.m_field input[type=text],
.m_field input[type=email],
.m_field input[type=tel],
.m_field input[type=password]{background-image:none !important; width:100%; height:54px; padding:0 18px; border:1px solid #E3D6C6; border-radius:6px; background:#fff; font-size:16px; color:#353130;}
.m_field input::placeholder{color:#B5ADA5;}
.m_field input:focus{outline:none; border-color:#BC9171;}
.m_field input[readonly]{background:#F7F3EE; color:#9C948C;}
.m_help{margin-top:6px; font-size:13px; line-height:1.5; color:#9C948C;}
.m_help--contact{margin:-10px 0 18px;}
.m_msg{display:block; margin-top:6px; font-size:13px; line-height:1.5; color:#C97B7B;}
.m_msg:empty{display:none;}

.m_row{display:grid; grid-template-columns:1fr 1fr; gap:0 14px;}
.m_row .m_field{margin-bottom:18px;}

/*체크박스 줄*/
.m_chk{margin-bottom:12px;}
.m_chk label{font-size:14px; color:#353130;}
.m_chk label::before{width:18px; height:18px; flex:0 0 18px;}
.m_chk input:checked + label::after{left:4px; width:5px; height:8px;}

.m_opt{display:flex; align-items:center; justify-content:space-between; gap:10px; margin:22px 0 24px;}
.m_opt .find{display:inline-block; font-size:14px; color:#797979; text-decoration:underline; text-underline-offset:3px;}
.m_opt .find:hover{color:#BC9171;}

/*약관*/
.m_terms{margin-bottom:26px;}
.m_terms h2{font-size:15px; color:#353130; margin-bottom:10px;}
.m_terms h2 .req{color:#BC9171;}
.m_terms .box{height:150px; overflow-y:auto; padding:16px 18px; border:1px solid #E3D6C6; border-radius:6px; background:#FCFAF7; font-size:14px; line-height:1.7; color:#6B6460; white-space:pre-line; word-break:keep-all;}
.m_terms .box table{width:100%; border-collapse:collapse; font-size:13px;}
.m_terms .box th,
.m_terms .box td{padding:8px 6px; border:1px solid #E7DED4; text-align:left; vertical-align:top;}
.m_terms .box th{background:#F7F1EA; color:#353130; font-weight:600; white-space:nowrap;}
.m_terms .policyText{white-space:normal;}
.m_terms .policyText h2{margin:20px 0 7px; color:#8A654C; font-size:14px;}
.m_terms .policyText h2:first-child{margin-top:0;}
.m_terms .policyText h3{margin:14px 0 5px; color:#554E49; font-size:13px;}
.m_terms .policyText ol{margin-left:18px; list-style:decimal;}
.m_terms .policyText ul{margin-left:18px; list-style:disc;}
.m_terms .policyText li{margin-top:4px;}
.m_terms_link{margin-top:8px; text-align:right;}
.m_terms_link a{color:#9C7358; font-size:13px; text-decoration:underline; text-underline-offset:3px;}
.m_terms .chk{margin-top:10px;}
.m_terms .chk label{font-size:14px; color:#353130;}
.m_terms .chk label::before{width:18px; height:18px; flex:0 0 18px;}
.m_terms .chk input:checked + label::after{left:4px; width:5px; height:8px;}

.m_allchk{margin:0 0 26px; padding:16px 18px; border:1px solid #E3D6C6; border-radius:6px; background:#FAF0E4;}
.m_allchk label{font-size:15px; font-weight:600; color:#353130;}
.m_allchk label::before{width:20px; height:20px; flex:0 0 20px;}

/*회원정보 찾기 탭*/
.m_find_tabs{display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:24px;}
.m_find_tabs button{height:46px; border:1px solid #E3D6C6; border-radius:6px; background:#fff; color:#8A7A6C; font-size:15px; cursor:pointer;}
.m_find_tabs button.is_active{border-color:#BB8F72; background:#BB8F72; color:#fff;}
.m_find_password[hidden]{display:none;}

/*자동등록방지 (plugin/kcaptcha 마크업에 맞춘 스타일)*/
.m_captcha{margin-bottom:26px;}
.m_captcha .f_label{display:block; font-size:15px; color:#353130; margin-bottom:8px;}
.m_captcha #captcha{display:grid !important; grid-template-columns:128px minmax(0,1fr) 42px 42px; align-items:center; gap:8px; width:100%; min-width:0; border:0 !important; padding:0 !important; margin:0 !important;}
.m_captcha #captcha > *{min-width:0; box-sizing:border-box;}
.m_captcha #captcha legend{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0);}
.m_captcha #captcha #captcha_img{display:block !important; width:100% !important; max-width:100% !important; height:42px !important; margin:0 !important; padding:0 !important; border:1px solid #E3D6C6 !important; border-radius:6px !important; background:#fff !important; object-fit:contain !important;}
.m_captcha #captcha #captcha_key{display:block !important; min-width:0 !important; width:100% !important; max-width:100% !important; height:42px !important; margin:0 !important; padding:0 8px !important; line-height:normal !important; border:1px solid #E3D6C6 !important; border-radius:6px !important; background:#fff !important; font-size:15px !important; font-weight:400 !important; letter-spacing:.08em !important; text-align:center !important;}
.m_captcha #captcha #captcha_key:focus{outline:none; border-color:#BC9171 !important;}
.m_captcha #captcha #captcha_mp3,
.m_captcha #captcha #captcha_reload{display:flex !important; align-items:center !important; justify-content:center !important; width:42px !important; max-width:42px !important; height:42px !important; margin:0 !important; padding:0 !important; border:1px solid #E3D6C6 !important; border-radius:6px !important; background:#fff !important; overflow:hidden !important; font-size:0 !important; color:transparent !important; text-indent:0 !important; cursor:pointer;}
.m_captcha #captcha #captcha_mp3:hover,
.m_captcha #captcha #captcha_reload:hover{border-color:#BC9171 !important;}
.m_captcha #captcha #captcha_mp3 span,
.m_captcha #captcha #captcha_reload span{display:block !important; width:100% !important; height:100% !important; background-repeat:no-repeat !important; background-position:50% 50% !important; background-size:18px 18px !important;}
.m_captcha #captcha_mp3 span{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239C948C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='11 5 6 9 2 9 2 15 6 15 11 19 11 5'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7'/%3E%3C/svg%3E");}
.m_captcha #captcha_reload span{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239C948C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7'/%3E%3Cpolyline points='21 3 21 9 15 9'/%3E%3C/svg%3E");}
.m_captcha #captcha #captcha_info{grid-column:1/-1; margin:0 !important; font-size:12px; line-height:1.5; letter-spacing:0; color:#9C948C;}
.m_captcha .captcha_box{background-image:none !important;}

/*버튼*/
.m_submit{width:100%; height:60px; border:0; border-radius:6px; background:#BB8F72; color:#fff; font-size:17px; cursor:pointer; transition:.2s;}
.m_submit:hover{background:#A87B5E;}
.m_submit:disabled{background:#E3D6C6; cursor:default;}

.m_btns{display:grid; grid-template-columns:1fr 2fr; gap:10px;}
.m_btns .m_btn{display:flex; align-items:center; justify-content:center; height:60px; border:1px solid #E3D6C6; border-radius:6px; background:#fff; font-size:16px; color:#9C948C; cursor:pointer;}
.m_btns .m_btn:hover{border-color:#BC9171; color:#BC9171;}

/*하단*/
.m_foot{margin-top:28px; padding-top:26px; border-top:1px solid #F0E7DC; text-align:center; font-size:15px; color:#797979;}
.m_foot a{display:inline-block; margin-left:6px; color:#BC9171; font-weight:600; text-decoration:underline; text-underline-offset:3px;}

.m_note{margin-top:18px; padding:14px 16px; border-radius:6px; background:#FAF0E4; font-size:13px; line-height:1.6; color:#8A7A6C;}

/*가입완료*/
.m_result{text-align:center;}
.m_result .done{font-size:20px; font-weight:600; color:#BC9171; margin-bottom:16px;}
.m_result .subs{font-size:15px; line-height:1.7; color:#797979; margin-bottom:30px;}
.m_result .info{margin-bottom:30px; padding:20px; border:1px solid #F0E7DC; border-radius:6px; background:#FCFAF7; text-align:left;}
.m_result .info dl{display:grid; grid-template-columns:90px 1fr; gap:10px 14px; font-size:15px; color:#353130;}
.m_result .info dt{color:#9C948C;}

@media screen and (max-width:768px){
    .memberPage{min-height:calc(100vh - 80px); padding:110px 20px 70px;}
    .member_box,
    .member_box--wide{max-width:100%; padding:40px 24px 36px;}
    .member_head{margin-bottom:30px;}
    .member_head .logo{max-width:90px; margin-bottom:18px;}
    .member_head .eng_titl{font-size:20px;}
    .member_head .subs{font-size:14px;}
    .m_field input[type=text],
    .m_field input[type=email],
    .m_field input[type=tel],
    .m_field input[type=password]{height:50px; font-size:15px;}
    .m_submit,
    .m_btns .m_btn{height:54px; font-size:16px;}
    .m_opt{flex-wrap:wrap;}
    .m_row{grid-template-columns:1fr; gap:0;}
    .m_terms .box{height:130px;}
    .m_captcha #captcha{grid-template-columns:112px minmax(0,1fr) 40px 40px; gap:6px;}
    .m_captcha #captcha #captcha_img,
    .m_captcha #captcha #captcha_key,
    .m_captcha #captcha #captcha_mp3,
    .m_captcha #captcha #captcha_reload{height:40px !important;}
    .m_captcha #captcha #captcha_mp3,
    .m_captcha #captcha #captcha_reload{width:40px !important; max-width:40px !important;}
}

@media screen and (max-width:480px){
    .m_captcha #captcha{grid-template-columns:88px minmax(0,1fr) 36px 36px; gap:4px;}
    .m_captcha #captcha #captcha_img,
    .m_captcha #captcha #captcha_key,
    .m_captcha #captcha #captcha_mp3,
    .m_captcha #captcha #captcha_reload{height:40px !important;}
    .m_captcha #captcha #captcha_key{padding:0 4px !important; font-size:14px !important; letter-spacing:.04em !important;}
    .m_captcha #captcha #captcha_mp3,
    .m_captcha #captcha #captcha_reload{width:36px !important; max-width:36px !important;}
}
