/* BASIC css start */
/* --- 입력창 라운드 강제 적용 --- */
main#join .tableBox input.MS_input_txt,
main#join .tableBox input.input-text,
main#join .tableBox input.txt-input,
main#join .tableBox input[type="text"],
main#join .tableBox input[type="password"],
main#join .tableBox input[type="email"],
main#join .tableBox input[type="tel"] {
    border-radius: 8px !important; /* ★ 둥근 모서리 강제 적용! ★ */
    -webkit-border-radius: 8px !important; /* 구형 브라우저 호환성 */
    -moz-border-radius: 8px !important; /* 구형 브라우저 호환성 */
    overflow: hidden !important; /* 내부 내용물이 튀어나오지 않게 */
    -webkit-appearance: none !important; /* iOS 기본 스타일 제거 */
    -moz-appearance: none !important;
    appearance: none !important;
}


/* --- 전체 테이블 박스 배경색 변경 --- */
main#join .tableBox {
    background-color: #fdfaf6 !important; /* ★ 부드러운 베이지 배경으로 강제 적용 */
    border: 1px solid #e0d5c6 !important; /* 테두리도 베이지 톤으로 맞춤 */
}

/* --- 라벨(th) 배경색도 박스 색상과 통일 (혹시 다른 색이 적용되어 있다면) --- */
main#join .tableBox th {
    background-color: #fdfaf6 !important; /* ★ 라벨 배경도 박스 색상과 통일 */
}

/* --- 입력칸(td) 배경색은 흰색으로 유지 (혹시 다른 색이 적용되어 있다면) --- */
main#join .tableBox td {
    background-color: #ffffff !important; /* ★ 입력칸 배경은 흰색으로 강제 적용 */
}


/* --- 입력칸 (td) 스타일 --- */
main#join .tableBox td {
    background-color: #fdfaf6 !important; /* ★★★ 흰색(#ffffff) 대신 박스 배경색(#fdfaf6)으로 변경! ★★★ */
    color: #333 !important;
    font-size: 14px !important;

    vertical-align: middle !important;
    text-align: left !important;
}


/* --- 모바일 회원가입 페이지 (최종 수정) --- */

/* 기본 폰트 및 배경 */
body, html {
    font-family: 'Malgun Gothic', sans-serif;
    background-color: #fdfaf6;
}

/* 컨테이너 */
#container { padding-bottom: 60px; }
#contents { padding: 0 15px; }
main#join { max-width: 500px; margin: 0 auto; }

/* 페이지 제목 */
#join .h_title {
    text-align: center; padding: 30px 0;
    border-bottom: 1px solid #e0d5c6; margin-bottom: 25px;
}
#join .h_title h3 {
    font-size: 22px; font-weight: bold; color: #4a3f35;
}

/* 입력 테이블 */
#join .tableBox {
    background: #fff;
    border: 1px solid #e0d5c6;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 30px;
}
#join .tableBox table { width: 100%; border-collapse: collapse; }
#join .tableBox th {
    text-align: left;
    font-size: 14px;
    color: #4a3f35;
    padding: 10px 0;
    white-space: nowrap;
    width: 85px;
    vertical-align: middle;
}
#join .tableBox td {
    padding: 8px 0;
}

/* --- 입력창 --- */
#join .tableBox input.MS_input_txt,
#join .tableBox input.input-text,
#join .tableBox input.txt-input,
#join .tableBox input[type="text"],
#join .tableBox input[type="password"],
#join .tableBox input[type="email"],
#join .tableBox input[type="tel"],
#join .tableBox select {
    width: 100%;
    height: 48px; 
    padding: 0 14px;
    font-size: 15px;
    color: #333;
    border: 1px solid #e0d5c6;
    border-radius: 8px; /* 라운드 적용 */
    box-sizing: border-box;
    transition: all 0.2s ease;
    background-color: #fff;
}
#join .tableBox input:focus,
#join .tableBox select:focus {
    border-color: #b59d7f;
    box-shadow: 0 0 5px rgba(181,157,127,0.3);
    outline: none;
}
#join .tableBox input::placeholder { color: #aaa; }

/* --- 인증 버튼 영역 --- */
#join .btn_box a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 42px;
    padding: 0 15px;
    font-size: 14px;
    font-weight: bold;
    color: #4a3f35;
    border: 1px solid #e0d5c6;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
}
#join .btn_box a:hover {
    background-color: #fdfaf6;
    border-color: #b59d7f;
}
/* --- 인증/확인 버튼을 회원가입 버튼 색상으로 통일 --- */
#join .btn_box a {
  background-color: #4a3f35 !important; /* 회원가입 버튼과 동일한 진한 브라운 */
  color: #fff !important;
  border: 1px solid #4a3f35 !important;
}

#join .btn_box a:hover {
  background-color: #b59d7f !important; /* 호버 시 회원가입 버튼과 동일한 베이지톤 */
  border-color: #b59d7f !important;
}


/* --- 약관 영역 --- */
#join .privacy_wrap {
    background: #fff;
    border: 1px solid #e0d5c6;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
#join .privacy_wrap .join-msg {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 15px;
}
#join .privacy_wrap .join-msg label {
    display: flex; align-items: center; cursor: pointer;
}
#join .privacy_wrap .join-msg .text { font-size: 13px; color: #555; margin-left: 5px; }
#join .privacy_wrap .join-msg p {
    font-size: 12px; color: #777; line-height: 1.6;
    margin-top: 10px;
}
#join .privacy_wrap h3 {
    font-size: 15px;
    font-weight: bold;
    color: #4a3f35;
    margin-bottom: 8px;
}
#join .privacy_wrap .desc-3 {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}
#join .privacy_wrap a.open-pop {
    display: inline-block;
    margin-top: 5px;
    font-size: 12px;
    color: #b59d7f;
    text-decoration: underline;
}

/* 약관 동의 체크 */
#join .privacy_wrap .desc p label {
    font-size: 13px;
    color: #444;
    display: flex;
    align-items: center;
    cursor: pointer;
}
#join .privacy_wrap .desc p label input {
    margin-right: 5px;
}

/* --- 버튼 영역 --- */
#join .btn_bottom_box {
    margin-top: 20px;
}
#join .btn_bottom_box .btn_basic_1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #4a3f35;
    border: 1px solid #4a3f35;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}
#join .btn_bottom_box .btn_basic_1:hover {
    background-color: #b59d7f;
    border-color: #b59d7f;
}

/* --- 약관 탭 --- */
#join .privercy-contract-tap ul {
    display: flex;
    border-bottom: 1px solid #e0d5c6;
    margin-bottom: 10px;
    padding-left: 0;
}
#join .privercy-contract-tap li {
    flex: 1;
    text-align: center;
    list-style: none;
}
#join .privercy-contract-tap li a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    color: #777;
}
#join .privercy-contract-tap li.sel a {
    color: #4a3f35;
    font-weight: bold;
    border-bottom: 2px solid #b59d7f;
}

/* --- 팝업 레이어 (전문보기) --- */
.layer-pop {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e0d5c6;
}
.layer-pop h3 {
    font-size: 16px;
    color: #4a3f35;
    margin-bottom: 10px;
}
.layer-pop .txt {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    max-height: 60vh;
    overflow-y: auto;
}
.layer-pop .close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #aaa;
}

<!-- SNS 버튼 추가 CSS (기존 로그인 페이지 스타일 활용) -->
<style>
/* SNS 버튼 */
#join .sns_login {
    margin-bottom: 30px; text-align: center;
}
#join .sns_login .sns_title {
    font-size: 14px; color: #888; margin-bottom: 20px;
    position: relative; overflow: hidden; text-align: center;
}
#join .sns_login .sns_title b {
    font-weight: bold; color: #555;
    background-color: #fdfaf6;
    padding: 0 10px;
}
#join .sns_login ul {
    list-style: none; padding: 0; margin: 0 auto;
    display: flex; flex-direction: column; gap: 10px;
    max-width: 320px;
}
#join .sns_login li {
    border-radius: 8px; overflow: hidden; margin-bottom: 10px;
    border: 1px solid rgba(0,0,0,0.1); display: block; position: relative;
}
#join .sns_login li a {
    display: flex; align-items: center; justify-content: center;
    height: 48px; font-size: 15px; font-weight: bold;
    text-decoration: none; position: relative; box-sizing: border-box;
    background: none !important; border: none; color: inherit; padding: 0 15px;
}
#join .sns_login li a::before {
    content: '';
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
    width: 20px; height: 20px; background-size: contain; background-repeat: no-repeat; background-position: center;
}
/* 실제 아이콘 경로 */
#join .sns_login li a.naver { color: #fff; background-image: url('/design/daehangold/naver_icon.png'); }
#join .sns_login li a.kakaotalk { color: #3C1E1E; background-image: url('/design/daehangold/kakao_icon.png'); }
#join .sns_login li a.apple { color: #000; background-image: url('/design/daehangold/apple_icon.png'); }
#join .sns_login li a.facebook { color: white; background-image: url('/design/daehangold/facebook_icon.png'); }

/* li 마지막 여백 제거 */
#join .sns_login li:last-child { margin-bottom: 0; }
</style>

<style>
/* --- 기본 폰트 및 배경 --- */
body, html {
    font-family: 'Malgun Gothic', sans-serif;
    background-color: #fdfaf6;
    margin:0; padding:0;
}

/* --- 메인 컨테이너 --- */
#container { padding-bottom: 60px; }
#contents { padding: 0 15px; }
main#join { max-width: 500px; margin: 0 auto; }

/* --- 제목 --- */
#join .h_title { text-align: center; padding: 30px 0; border-bottom:1px solid #e0d5c6; margin-bottom:25px; }
#join .h_title h3 { font-size: 22px; font-weight:bold; color:#4a3f35; }

/* --- SNS 로그인 --- */
#join .sns_login { margin-bottom: 40px; text-align:center; }
#join .sns_login .sns_title {
    font-size:14px; color:#888; margin-bottom:20px;
    position:relative; overflow:hidden; text-align:center;
}
#join .sns_login .sns_title b {
    font-weight:bold; color:#555;
    background-color:#fdfaf6; padding:0 10px;
}
#join .sns_login ul {
    list-style:none; padding:0; margin:0 auto;
    display:flex; flex-direction:column; gap:10px;
    max-width:320px;
}
#join .sns_login li {
    border-radius:8px; overflow:hidden; margin-bottom:0;
    position:relative;
}
#join .sns_login li a {
    display:flex; align-items:center; justify-content:center;
    height:48px; font-size:15px; font-weight:bold;
    text-decoration:none; color:#fff;
}

/* SNS별 텍스트/색상 조정 */
#join .sns_login li a.naver { color:#fff; }
#join .sns_login li a.kakaotalk { color:#3C1E1E; }
#join .sns_login li a.apple { color:#000; }
#join .sns_login li a.facebook { color:#fff; }

/* --- 회원가입 폼 --- */
#join .join .tableBox {
    background:#fff; border:1px solid #e0d5c6; border-radius:12px;
    box-shadow:0 4px 10px rgba(0,0,0,0.05); padding:20px; margin-bottom:30px;
}
#join .tableBox table { width:100%; border-collapse:collapse; }
#join .tableBox th { text-align:left; font-size:14px; color:#4a3f35; padding:10px 0; vertical-align:middle; width:85px; }
#join .tableBox td { padding:8px 0; }
#join .tableBox input[type="text"],
#join .tableBox input[type="password"],
#join .tableBox input[type="email"],
#join .tableBox input[type="tel"] {
    width:100%; height:30px; padding:0 10px; font-size:14px;
    border:1px solid #e0d5c6; border-radius:8px; box-sizing:border-box;
}
#join .tableBox input:focus { border-color:#b59d7f; outline:none; box-shadow:0 0 5px rgba(181,157,127,0.3); }

/* --- 회원가입 버튼 --- */
#join .btn_bottom_box .btn_basic_1 {
    display:flex; justify-content:center; align-items:center;
    width:100%; height:50px; font-size:16px; font-weight:bold;
    background-color:#4a3f35; color:#fff; border-radius:8px;
    text-decoration:none; border:1px solid #4a3f35; transition:all 0.3s;
}
#join .btn_bottom_box .btn_basic_1:hover { background-color:#b59d7f; border-color:#b59d7f; }
</style>
/* BASIC css end */

