/* 로그인 페이지 스타일 */
#mb_login {
    max-width: 500px;
    margin: 50px auto;
    padding: 20px;
    box-sizing: border-box;
}

.mbskin_box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.mbskin_box .img_box{
    text-align:center;
	margin-bottom:30px;
}

#mb_login h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.mb_log_cate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.mb_log_cate h2 {
    font-size: 20px;
    color: #333;
}

.mb_log_cate .join {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.mb_log_cate .join:hover {
    color: #333;
}

#login_fs {
    border: none;
    padding: 0;
}

#login_fs input[type="text"],
#login_fs input[type="password"] {
    width: 100%;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 15px;
    margin-bottom: 15px;
    margin-top: 10px;
    font-size: 15px;
    box-sizing: border-box;
}

#login_fs input[type="text"]:focus,
#login_fs input[type="password"]:focus {
    border-color: #4a90e2;
    outline: none;
}

.btn_submit {
    width: 100%;
    height: 50px;
    background: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
}

.btn_submit:hover {
    background: #357abd;
}

#login_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.login_if_auto {
    display: flex;
    align-items: center;
}

.login_if_auto input[type="checkbox"] {
    margin-right: 5px;
}

.login_if_lpl a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.login_if_lpl a:hover {
    color: #333;
}

/* 비회원 구매 섹션 */
#mb_login_notmb {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

#mb_login_notmb h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

#guest_privacy {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    max-height: 200px;
    overflow-y: auto;
}

/* 반응형 스타일 */
@media screen and (max-width: 768px) {
    #mb_login {
        margin: 20px auto;
        padding: 15px;
    }

    .mbskin_box {
        padding: 20px;
    }

    #mb_login h1 {
        font-size: 20px;
    }

    .mb_log_cate h2 {
        font-size: 18px;
    }

    #login_fs input[type="text"],
    #login_fs input[type="password"] {
        height: 45px;
    }

    .btn_submit {
        height: 45px;
    }
}

@media screen and (max-width: 480px) {
    #mb_login {
        margin: 10px auto;
        padding: 10px;
    }

    .mbskin_box {
        padding: 15px;
    }

    #login_info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .login_if_lpl {
        margin-top: 10px;
    }
}

/* 체크박스 커스텀 스타일 */
.chk_box {
    position: relative;
    display: inline-block;
}

.chk_box input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.chk_box label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.chk_box label span {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fff;
}

.chk_box input[type="checkbox"]:checked + label span {
    background: #4a90e2;
    border-color: #4a90e2;
}

.chk_box input[type="checkbox"]:checked + label span:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 회원가입 스타일 */
.register {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.register p {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 15px;
}

.register p i {
    color: #4a90e2;
    margin-right: 5px;
}

/* 약관동의 페이지 */
#fregister_term,
#fregister_private {
    margin-bottom: 30px;
}

#fregister_term h2,
#fregister_private h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4a90e2;
}

#fregister_term textarea {
    width: 100%;
    height: 200px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    resize: none;
}

#fregister_private table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

#fregister_private table th,
#fregister_private table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
}

#fregister_private table th {
    background: #f9f9f9;
    font-weight: bold;
}

.fregister_agree {
    margin: 20px 0;
}

.fregister_agree label {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #333;
    cursor: pointer;
}

.fregister_agree input[type="checkbox"] {
    margin-right: 10px;
	float:left;
	margin-top:5px;
}

#fregister_chkall {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

/* 회원가입 폼 */
.form_01 {
    margin-top: 0;
}

.register_form_inner {
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 30px;
}

.register_form_inner h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #2c3e50;
    font-weight: 500;
}

.register_form_inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.register_form_inner li {
    margin-bottom: 25px;
    position: relative;
}

.register_form_inner label {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.register_form_inner .tooltip_icon {
    display: inline-block;
    margin-left: 5px;
    color: #666;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.register_form_inner .tooltip {
    display: none;
    position: absolute;
    background: #2c3e50;
    color: #fff;
    padding: 12px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
    z-index: 1000;
    max-width: 300px;
    left: 0;
    top: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.register_form_inner input[type="text"],
.register_form_inner input[type="password"],
.register_form_inner input[type="email"],
.register_form_inner input[type="tel"],
.register_form_inner select,
.register_form_inner textarea {
    width: 100%;
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 15px;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.register_form_inner textarea {
    height: 120px;
    padding: 15px;
    resize: vertical;
}

.register_form_inner input:focus,
.register_form_inner select:focus,
.register_form_inner textarea:focus {
    border-color: #2c3e50;
    outline: none;
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.1);
}

.half_input {
    width: 100%;
}

.left_input {
    margin-right: 4%;
}

.margin_input {
    margin-bottom: 25px;
}

/* 본인인증 버튼 */
.btn_frmline {
    display: inline-block;
    padding: 10px 20px;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 5px;
    transition: all 0.3s ease;
}

.btn_frmline:hover {
    background: #34495e;
}

.cert_desc {
    color: #666;
    font-size: 13px;
    margin-left: 5px;
}

.cert_req {
    color: #e74c3c;
    font-size: 13px;
    margin-left: 5px;
}

#msg_certify {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
    border: 1px solid #e5e5e5;
}

#msg_certify strong {
    color: #2c3e50;
}

/* 주소 검색 */
#reg_zip_find {
    display: inline-block;
    margin-left: 10px;
}

.frm_address {
    margin-top: 8px;
}

/* 체크박스 스타일 */
.chk_box {
    position: relative;
    margin-bottom: 15px;
}

.chk_box input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.chk_box label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.chk_box label span {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    transition: all 0.3s ease;
}

.chk_box input[type="checkbox"]:checked + label span {
    background: #2c3e50;
    border-color: #2c3e50;
}

.chk_box input[type="checkbox"]:checked + label span:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.chk_li {
    margin-left: 8px;
    color: #666;
}

/* 파일 업로드 */
.reg_mb_img_file {
    margin-top: 25px;
}

.reg_mb_img_file img {
    max-width: 200px;
    margin: 15px 0;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.reg_mb_img_file .inline {
    margin-left: 10px;
}

/* 자동등록방지 */
.is_captcha_use {
    margin-top: 25px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
}

/* 버튼 스타일 */
.btn_confirm {
    text-align: center;
    margin-top: 40px;
	display:flex;
}
.btn_out_box{display:flex; justify-content:flex-end;}
.btn_out{border:1px solid #999; padding:5px 10px; border-radius:5px; width:fit-content; margin-top:0;}

.btn_confirm a,
.btn_confirm button {
    display: inline-block;
    padding: 14px 35px;
    margin: 0 5px;
	width:49%;
    border-radius: 4px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
	height:45px;
	line-height:0;
}
.btn_confirm a{
	line-height:1.0;
}
.btn_submit {
    background: #2c3e50;
    color: #fff;
    border: none;
    cursor: pointer;
}

.btn_close {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn_submit:hover,
.btn_close:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* 반응형 스타일 */
@media screen and (max-width: 768px) {
    .register {
        margin: 0 auto;
        padding: 20px 15px;
    }

    .register_form_inner {
        padding: 20px;
    }

    .half_input {
        width: 100%;
        float: none;
        margin-right: 0;
    }

    .register_form_inner h2 {
        font-size: 20px;
    }

    .register_form_inner input[type="text"],
    .register_form_inner input[type="password"],
    .register_form_inner input[type="email"],
    .register_form_inner input[type="tel"],
    .register_form_inner select {
        height: 45px;
    }

    .btn_confirm a,
    .btn_confirm button {
        width: 100%;
        margin: 5px 0;
        padding: 12px 20px;
    }

    .btn_frmline {
        width: 100%;
        margin: 5px 0;
    }
}

@media screen and (max-width: 480px) {
    .register {
        padding: 15px 10px;
    }

    .register_form_inner {
        padding: 15px;
    }

    .tooltip {
        max-width: 250px;
    }

    .register_form_inner h2 {
        font-size: 18px;
    }
}


#wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#container {
    flex: 1;
}

/* 반응형 스타일 수정 */
@media screen and (max-width: 768px) {
    #container {
        padding: 0 10px;
    }

    #register {
        margin: 20px auto;
        padding: 15px;
        width: 100%;
    }

    .register_box {
        padding: 20px;
        width: 100%;
    }

    .agree_box h2,
    .register_form h2 {
        font-size: 18px;
    }

    .form_group input[type="text"],
    .form_group input[type="password"],
    .form_group input[type="email"],
    .form_group input[type="tel"],
    .form_group select {
        height: 40px;
    }

    .address_search {
        flex-wrap: wrap;
    }

    .address_search button {
        width: 100%;
        margin-top: 10px;
    }

    .register_complete h2 {
        font-size: 20px;
    }

    .register_complete p {
        font-size: 14px;
    }

    .register_complete .btn_group {
        flex-direction: column;
    }

    .register_complete .btn_group a {
        width: 100%;
        margin: 5px 0;
    }
}

@media screen and (max-width: 480px) {
    #container {
        padding: 0 5px;
    }

    #register {
        margin: 10px auto;
        padding: 10px;
    }

    .register_box {
        padding: 15px;
    }

    .address_search {
        flex-direction: column;
    }

    .address_search button {
        width: 100%;
        margin-top: 10px;
    }

    .register_complete .btn_group {
        flex-direction: column;
    }

    .register_complete .btn_group a {
        width: 100%;
        margin: 5px 0;
    }
}

/* 비밀번호 확인 페이지 스타일 */
#mb_confirm {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

#mb_confirm h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

#mb_confirm p {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

#mb_confirm p strong {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
}

#mb_confirm fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

#mb_confirm .confirm_id {
    display: block;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

#mb_confirm #mb_confirm_id {
    display: block;
    margin-bottom: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    color: #333;
    font-weight: 500;
}

#mb_confirm input[type="password"] {
    width: 100%;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 15px;
    margin-bottom: 20px;
    font-size: 15px;
    box-sizing: border-box;
}

#mb_confirm input[type="password"]:focus {
    border-color: #2c3e50;
    outline: none;
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.1);
}

#mb_confirm .btn_submit {
    width: 100%;
    height: 50px;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

#mb_confirm .btn_submit:hover {
    background: #34495e;
}

@media screen and (max-width: 768px) {
    #mb_confirm {
        margin: 30px auto;
        padding: 20px;
    }

    #mb_confirm h1 {
        font-size: 20px;
    }

    #mb_confirm input[type="password"] {
        height: 45px;
    }

    #mb_confirm .btn_submit {
        height: 45px;
    }
}

@media screen and (max-width: 480px) {
    #mb_confirm {
        margin: 20px auto;
        padding: 15px;
    }

    #mb_confirm h1 {
        font-size: 18px;
    }

    #mb_confirm p {
        font-size: 14px;
    }
} 



