@charset "utf-8";

body:has(.register_page) #container_title {
    display: none !important;
}

.register_page {
    width: 100%;
    max-width: 480px;
    margin: 40px auto 80px;
    padding: 0 16px;
    box-sizing: border-box;
}

.register_page_title {
    margin: 0 0 28px;
    font-size: 28px;
    font-weight: 700;
    color: #111;
    text-align: center;
    line-height: 1.3;
}

.register_page_sub {
    margin: -16px 0 28px;
    font-size: 14px;
    line-height: 1.5;
    color: #888;
    text-align: center;
}

.register_page .reg_cert_field {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.register_page .reg_cert_btn {
    height: 40px;
    padding: 0 14px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.register_page .reg_cert_req {
    font-size: 13px;
    color: #e53935;
    font-weight: 600;
}

.register_page .reg_member_connect {
    margin: 28px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid #ececec;
    text-align: center;
}

.register_page .reg_member_connect p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #555;
    font-weight: 600;
}

.register_page .reg_member_connect_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.register_page .reg_member_connect_btn:hover {
    background: #f7f8fa;
}

.reg_org_field.is-hidden,
.reg_org_field[hidden] {
    display: none !important;
}

.reg_member_type {
    margin: 0 0 20px;
}

.reg_member_type_label {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.reg_member_type_label .req {
    color: #e53935;
}

.reg_member_type_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.reg_member_type_item {
    display: block;
    margin: 0;
    cursor: pointer;
}

.reg_member_type_item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.reg_member_type_card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 8px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    box-sizing: border-box;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.reg_member_type_item input:checked + .reg_member_type_card {
    border-color: #FC6A23;
    background: #fff7f2;
    color: #FC6A23;
}

.reg_member_type_item input:focus-visible + .reg_member_type_card {
    outline: 2px solid #FC6A23;
    outline-offset: 2px;
}

@media (max-width: 420px) {
    .reg_member_type_list {
        grid-template-columns: 1fr;
    }
}

.register_page .reg_field {
    margin: 0 0 12px;
    position: relative;
}

.register_page .reg_pw_field .reg_input {
    padding-right: 48px;
}

.register_page .reg_pw_toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 52px;
    border: 0;
    background: transparent;
    color: #888;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register_page .reg_pw_toggle:hover {
    color: #333;
}

.register_page .reg_input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    color: #111;
    box-sizing: border-box;
}

.register_page .reg_input::placeholder {
    color: #b0b5bd;
}

.register_page .reg_input.is-error {
    border-color: #e53935;
}

.register_page .reg_error {
    display: none;
    margin: 6px 2px 0;
    font-size: 13px;
    color: #e53935;
    line-height: 1.4;
}

.register_page .reg_error.is-show {
    display: block;
}

.register_page .reg_inline_row,
.register_page .reg_hp_row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.register_page .reg_inline_row .reg_input,
.register_page .reg_hp_row .reg_input {
    flex: 1 1 auto;
    min-width: 0;
}

.register_page .reg_otp_btn,
.register_page .reg_hp_btn {
    flex: 0 0 auto;
    min-width: 120px;
    height: 52px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: #555;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}

.register_page .reg_otp_btn:disabled,
.register_page .reg_hp_btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.register_page .reg_otp_wrap {
    display: none;
    margin-top: 12px;
}

.register_page .reg_otp_wrap.is-show {
    display: block;
}

.register_page .reg_divider {
    margin: 28px 0 20px;
    border: 0;
    border-top: 1px solid #ececec;
}

.register_page .reg_agree {
    margin: 0 0 8px;
}

.register_page .reg_agree_all {
    margin-bottom: 6px;
}

.register_page .reg_agree_desc {
    margin: 0 0 16px;
    padding-left: 28px;
    font-size: 12px;
    line-height: 1.5;
    color: #888;
}

.register_page .reg_check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    margin: 0 0 12px;
    font-size: 14px;
    color: #222;
    cursor: pointer;
    user-select: none;
    line-height: 1.45;
}

.register_page .reg_check input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.register_page .reg_check .chk {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border: 1px solid #c5c9d0;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
}

.register_page .reg_check input:checked + .chk {
    background: #FC6A23;
    border-color: #FC6A23;
}

.register_page .reg_check input:checked + .chk:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.register_page .reg_check .txt {
    flex: 1 1 auto;
    min-width: 0;
}

.register_page .reg_check .req {
    font-weight: 700;
}

.register_page .reg_check .age {
    color: #FC6A23;
    font-weight: 700;
}

.register_page .reg_check .terms_link {
    flex: 0 0 auto;
    margin-left: auto;
    color: #FC6A23;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 600;
}

.register_page .reg_check .terms_link:hover {
    text-decoration: underline;
}

.register_page .reg_sub_channels {
    display: none;
    gap: 16px;
    padding: 0 0 8px 28px;
    font-size: 13px;
    color: #666;
}

.register_page .reg_sub_channels.is-show {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.register_page .reg_sub_channels .reg_check {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.register_page .reg_sub_channels .reg_check .chk {
    width: 18px;
    height: 18px;
}

.register_page .reg_sub_channels .reg_check input:checked + .chk:after {
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
}

.register_page .reg_submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    margin: 24px 0 0;
    border: 0;
    border-radius: 8px;
    background: #FC6A23;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.register_page .reg_submit:hover {
    opacity: 0.92;
}

.register_page .reg_submit:disabled {
    opacity: 0.6;
    cursor: default;
}

@media (max-width: 768px) {
    .register_page {
        margin: 24px auto 60px;
    }

    .register_page_title {
        font-size: 24px;
        margin-bottom: 22px;
    }
}

/* 회원가입 완료 */
body:has(#reg_result.register_result_page) #container_title {
    display: none !important;
}

body:has(#reg_result.register_result_page) #wrapper {
    display: flex;
    flex-direction: column;
}

#reg_result.register_result_page {
    width: 100%;
    margin: 0;
    padding: 48px 16px;
    flex: 1 0 auto;
    min-height: 0;
    box-sizing: border-box;
    background: #c8e8f8 url("../img/login/loginBg.png") center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
}

#reg_result .register_result_card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 48px 40px 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    text-align: center;
}

#reg_result .register_result_title {
    margin: 0 0 24px;
    font-size: 28px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

#reg_result .register_result_lead {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 1.6;
    color: #333;
}

#reg_result .register_result_lead strong {
    color: #FC6A23;
}

#reg_result .register_result_desc {
    margin: 0 0 28px;
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

#reg_result .register_result_box {
    margin: 0 0 28px;
    padding: 18px 16px;
    background: #f7f8fa;
    border-radius: 8px;
    text-align: left;
}

#reg_result .register_result_box > p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

#reg_result .register_result_info {
    margin: 0 0 12px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

#reg_result .register_result_info > div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}

#reg_result .register_result_info dt {
    flex: 0 0 56px;
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #888;
}

#reg_result .register_result_info dd {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    word-break: break-all;
}

#reg_result .register_result_note {
    margin: 0 !important;
    font-size: 13px !important;
    color: #888 !important;
}

#reg_result .register_result_btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#reg_result .register_result_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
}

#reg_result .register_result_btn_primary {
    background: #FC6A23;
    color: #fff;
    border: 0;
}

#reg_result .register_result_btn_primary:hover {
    opacity: 0.92;
    color: #fff;
}

#reg_result .register_result_btn_secondary {
    background: #fff;
    color: #333;
    border: 1px solid #d0d5dd;
}

#reg_result .register_result_btn_secondary:hover {
    background: #f7f8fa;
    color: #333;
}

@media (max-width: 480px) {
    #reg_result .register_result_card {
        padding: 36px 24px 28px;
    }

    #reg_result .register_result_title {
        font-size: 24px;
    }
}

/* SNS 기존 계정 연결 모달 */
.remodal-overlay {
    background: rgba(17, 24, 39, 0.45) !important;
}

#sns-link-pnl.remodal.sns-link-modal {
    width: 100%;
    max-width: 440px;
    margin: 0 auto 10px;
    padding: 0;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    color: #111;
    text-align: left;
}

#sns-link-pnl .sns-link-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

#sns-link-pnl .sns-link-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 8px 0 20px;
    border-bottom: 1px solid #E5E7EB;
}

#sns-link-pnl .connect-title {
    margin: 0;
    padding: 0;
    line-height: 56px;
    font-size: 17px;
    font-weight: 700;
    color: #111;
    text-align: left;
}

#sns-link-pnl .connect-close {
    position: static;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #6B7280;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}

#sns-link-pnl .connect-close:hover {
    background: #F3F4F6;
    color: #111;
}

#sns-link-pnl .connect-fg {
    height: auto;
    padding: 20px;
    text-align: left;
    box-sizing: border-box;
}

#sns-link-pnl .connect-desc {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid #FDE68A;
    border-radius: 10px;
    background: #FFFBEB;
    color: #92400E;
    font-size: 13px;
    line-height: 1.55;
}

#sns-link-pnl .sns-link-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin: 0;
    text-align: left;
}

#sns-link-pnl .sns-link-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

#sns-link-pnl .sns-link-field label {
    display: block;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    line-height: 1.3;
}

#sns-link-pnl .sns-link-field label .req {
    margin-left: 2px;
    color: #EF4444;
    font-weight: 700;
}

#sns-link-pnl #login_id,
#sns-link-pnl #login_pw,
#sns-link-pnl .sns-link-field .frm_input {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
}

#sns-link-pnl #login_id:focus,
#sns-link-pnl #login_pw:focus,
#sns-link-pnl .sns-link-field .frm_input:focus {
    border-color: #FC6A23;
    box-shadow: 0 0 0 3px rgba(252, 106, 35, 0.12);
}

#sns-link-pnl .login_submit.btn_submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    margin: 6px 0 0;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    background: #FC6A23;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

#sns-link-pnl .login_submit.btn_submit:hover {
    background: #e85a16;
}

@media (max-width: 480px) {
    #sns-link-pnl.remodal.sns-link-modal {
        max-width: calc(100vw - 32px);
        border-radius: 14px;
    }

    #sns-link-pnl .connect-fg {
        padding: 16px;
    }

    #sns-link-pnl .connect-title {
        font-size: 16px;
        line-height: 52px;
    }
}
