/* Dim 배경 */
.dim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

/* 팝업 모달 */
.signup-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 100%;
    max-width: 68rem;
    background-color: #fff;
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 4rem;
    z-index: 9999;
}

/* 활성화 클래스 */
.dim.active,
.signup-modal.active {
    opacity: 1;
    visibility: visible;
}

.signup-modal.active {
    transform: translate(-50%, -50%) scale(1);
}

/* 팝업 내부 요소 스타일 */
.modal-title {
    text-align: center;
    font-size: 3.2rem;
    font-weight: 700;
    border-bottom: 0.2rem solid #000;
    padding-bottom: 4rem;
    margin-bottom: 3.2rem;
    color: #000;
}

.modal-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* 각 타입별 링크 공통 스타일 */
.type-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* 내부 요소들을 항상 세로 중앙 정렬 */
    text-decoration: none;
    border: 0.1rem solid #ccc;
    border-radius: 0.4rem;
    padding: 0 2rem;
    /* 높이를 고정했으므로 상하 패딩은 제거 */
    height: 12.8rem;
    /* ★ 요청하신 높이 고정 ★ */
    box-sizing: border-box;
    transition: all 0.3s ease;
    background-color: #fff;
}

.type-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #333;
    transition: color 0.3s ease;
}

/* 숨겨진 텍스트 (호버 시 나타남) */
.type-desc {
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: all 0.3s ease;
    text-align: center;
}

.type-startup .type-title {
    color: #0167CA;
}

.type-sk .type-title {
    color: #EA002C;
}

.ttype-partners .type-title {
    color: #0A090E;
}

/* --- 호버 효과 (색상별 분기) --- */
@media screen and (min-width: 581px) {
    /* 1. 일반 / Startups (Blue) */
    .type-startup:hover {
        border-color: #0167CA;
        background: #0167CA;
    }

    .type-startup:hover .type-title {
        color: #fff;
    }

    /* 2. SK Members (Red) */
    .type-sk:hover {
        border-color: #EA002C;
        background: #EA002C;
    }

    .type-sk:hover .type-title {
        color: #fff;
    }

    /* 3. Partners (Green) */
    .type-partners:hover {
        border-color: #06DBCB;
        background: #06DBCB;
    }

    .type-partners:hover .type-title {
        color: #0A090E;
    }

    .type-partners:hover .type-desc {
        color: #0A090E;
    }

    /* 호버 시 텍스트 펼쳐짐 공통 애니메이션 */
    .type-link:hover .type-desc {
        max-height: 4rem;
        opacity: 1;
        margin-top: 0.4rem;
    }
}

/* 취소 버튼 */
.btn-cancel {
    display: block;
    width: 16rem;
    height: 4.8rem;
    margin: 4rem auto 0;
    background: #E5E5E5;
    border-radius: 99.9rem;
    color: rgba(10, 9, 14, 0.3);
    font-size: 1.8rem;
    font-weight: 700;
    cursor: pointer;
}

/* 회원가입  START */
/* ==================== 공통 레이아웃 & 래퍼 ==================== */
.join-page-wrap {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    overflow: hidden;
}

.join-title h1 {
    font-size: 4rem;
    font-weight: 500;
    color: #0A090E;
    margin-bottom: 2rem;
    font-family: "Jamsil";
}


/* ==================== STEP 네비게이션 ==================== */
.step-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    max-width: 68rem;
    width: 100%;
}

.step-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    cursor: default;
    user-select: none;
}

#stepTab2 .step-num,
#stepTab3 .step-num {
    line-height: 1px;
}

.step-num {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: rgba(10, 9, 14, 0.2);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.35s ease, color 0.35s ease;
    font-family: "Jamsil_Regular";
    line-height: 1;
    padding-top: 0.1rem; /* 잠실 폰트 특유의 상단 치우침 보정을 위한 미세 패딩 */
    box-sizing: border-box;
}

.step-label {
    font-size: 1.6rem;
    font-weight: 400;
    color: rgba(10, 9, 14, 0.6);
    white-space: nowrap;
    transition: color 0.35s ease, font-weight 0.1s;
}

.step-sub-counter {
    font-size: 1.6rem;
    color: #666;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.35s ease;
}

.step-item.active .step-sub-counter {
    color: #0167CA;
}

.step-item.done .step-sub-counter {
    color: #0167CA;
}

.step-item.active .step-num {
    background: #0167CA;
    color: #fff;
}

.step-item.active .step-label {
    color: #0167CA;
    font-weight: 700;
}

.step-item.done .step-num {
    background: #0167CA;
    color: #fff;
}

.step-item.done .step-label {
    color: #0167CA;
    font-weight: 600;
}


/* ==================== 컨테이너 & 패널 ==================== */
.join-content-mask {
    position: relative;
    width: 100%;
    height: 50rem;
    padding: 4rem 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.join-content-mask.is-detail-open,
.join-content-mask.is-detail-closing {
    overflow: visible;
}

.join-container {
    width: 100%;
    max-width: 68rem;
    position: relative;
    height: 100%;
    transition: max-width 0.4s ease 0.2s, height 0.5s ease;
}

.panel-card-style {
    background: #fff;
    border-radius: 2.4rem;
    border: 1px solid rgba(10, 9, 14, 0.2);
    overflow: hidden;
    height: 100%;
    box-sizing: border-box;
}

.complete-inner.panel-card-style {
    border: 1px solid #0167CA;
}

.agree-detail-col {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 68rem;
    max-width: 140rem;
    height: 50rem;
    opacity: 1;
    visibility: hidden;
    z-index: 100;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        visibility 0s 0s,
        width 0s 0s,
        height 0s 0s;
    background: #fff;
    border-radius: 2.4rem;
    border: 1px solid #0A090E;
    box-sizing: border-box;
    overflow: hidden;
}

.join-content-mask.is-detail-open .agree-detail-col {
    width: calc(100% - 4rem);
    max-width: 140rem;
    height: 64.4rem;
    opacity: 1;
    visibility: visible;
    transition: width 2s cubic-bezier(0.25, 1, 0.5, 1),
        height .6s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
        visibility 0s 0s;
}

.join-panel {
    display: none;
    position: absolute;
    width: 100%;
    height: 50rem;
    overflow: visible;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(100%);
    transition: transform 1s ease, opacity 0.5s ease, visibility 0.5s ease;
}

.join-panel.active {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.join-container.is-animating .join-panel {
    display: block;
}

.join-panel.exit-up {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-100%);
}

.panel-inner {
    padding: 4rem;
    height: 100%;
    box-sizing: border-box;
}

.panel-inner::-webkit-scrollbar {
    width: 6px;
}

.panel-inner::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 3px;
}

.panel-inner::-webkit-scrollbar-thumb {
    background: rgba(0, 82, 212, 0.15);
    border-radius: 3px;
    transition: background 0.2s;
}

.panel-inner::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 82, 212, 0.3);
}

.complete-inner {
    height: 100%;
    box-sizing: border-box;
}


/* ==================== 하단 버튼 영역 ==================== */
.join-btn-wrap {
    display: flex;
    justify-content: center;
    gap: 1.6rem;
    padding: 0 0 5rem;
    width: 100%;
    max-width: 68rem;
    margin: 0 auto;
    box-sizing: border-box;
}

.join-btn-wrap button {
    flex: 1;
}

.btn-base {
    height: 5.6rem;
    border-radius: 99rem;
    font-size: 1.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    flex: 1;
}

#btnPrev.btn-prev {
    background: #e5e5e5 url(/static/imgs/member/keyboard_arrow_left-icon.png) left 1.4rem center no-repeat;
    color: #999;
}

.btn-next {
    background: #0167CA url(/static/imgs/member/keyboard_arrow_right-icon.png) right 1.4rem center no-repeat;
    color: #fff;
    flex: 1;
}

.btn-next.email-pending {
    background: #454E5B url(/static/imgs/member/keyboard_arrow_right-icon.png) right 1.4rem center no-repeat;
    color: #fff;
    cursor: default;
}

.btn-next.email-sent {
    background: #0167CA url(/static/imgs/member/keyboard_arrow_right-icon.png) right 1.4rem center no-repeat;
    color: #fff;
    cursor: pointer;
}

.join-clear-btn {
    display: none;
    background: #0167CA;
    color: #fff;
    max-width: 32rem;
    width: 100%;
    text-decoration: none;
}


/* ==================== STEP 1 - 약관 동의 ==================== */
.agree-all-wrap {
    padding: 1.8rem;
    border-radius: 4px;
    background: rgba(1, 103, 202, 0.1);
    margin-bottom: 2.4rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    cursor: pointer;
}

.agree-all-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0A090E;
    cursor: pointer;
}

.agree-all-label {
    display: block;
    width: 2rem;
    height: 2rem;
    background: url(/static/imgs/member/new-check-box-off.svg) no-repeat center / contain;
    cursor: pointer;
    flex-shrink: 0;
}

#agreeAll:checked+.agree-all-label {
    background-image: url(/static/imgs/member/new-check-box-on.svg);
}

.sub-tit {
    font-size: 1.4rem;
    margin-top: unset;
    color: #999999;
    font-weight: 500;
    margin-bottom: .8rem;
}

.agree-list {
    display: flex;
    flex-direction: column;
}

.agree-item:not(:last-child) {
    padding-bottom: .8rem;
}

.agree-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    height: 3.2rem;
}

.agree-text-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.agree-name {
    font-size: 1.6rem;
    color: #0A090E;
    font-weight: 500;
}

.agree-type {
    color: #808080;
    font-weight: 400;
}

.agree-type.required {
    color: #0167CA;
    font-weight: 400;
}

.agree-type.optional {
    color: #999;
}

.agree-subtext {
    margin-top: 0.2rem;
    font-size: 1.4rem;
    font-weight: 400;
    color: #666666;
    padding-left: 3.2rem;
}

.agree-divider {
    border: none;
    border-top: 1px solid #E5E5E5;
    margin: 1.6rem 0;
}

.agree-arrow-btn {
    width: 2rem;
    height: 2rem;
    background: url(/static/imgs/member/add-btn-icon.svg) no-repeat center / contain;
    flex-shrink: 0;
    cursor: pointer;
}

.agree-arrow-btn.active {
    background: url(/static/imgs/member/remove-btn-icon.svg) no-repeat center / contain;
}

.agree-arrow-btn svg {
    width: 1.4rem;
    height: 1.4rem;
    stroke: #aaa;
    transition: stroke 0.2s;
}

.agree-arrow-btn:hover svg {
    stroke: #0167CA;
}

.radio-group {
    display: flex;
    gap: 2.4rem;
    margin-top: 1.2rem;
    padding-left: 3.2rem;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.radio-item>label:last-child {
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
}

.agree-error {
    display: none;
    margin-top: 1.6rem;
    font-size: 1.4rem;
    color: #E52020;
    text-align: left;
}

.agree-error.show {
    display: block;
}

.custom-check-input,
.custom-radio-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.custom-check-label {
    display: block;
    width: 1.8rem;
    height: 1.8rem;
    background: url(/static/imgs/member/new-check-box-off.svg) no-repeat center / contain;
    cursor: pointer;
    flex-shrink: 0;
}

.custom-check-input:checked+.custom-check-label {
    background-image: url(/static/imgs/member/new-check-box-on.svg);
}

.custom-radio-label {
    display: block;
    width: 1.9rem;
    height: 1.9rem;
    background: url(/static/imgs/member/radio_off.svg) no-repeat center / contain;
    cursor: pointer;
    flex-shrink: 0;
}

.custom-radio-input:checked+.custom-radio-label {
    background-image: url(/static/imgs/member/radio_on.svg);
}


/* ==================== STEP 2 - 회원정보 입력 ==================== */
.sub-step-container {
    position: relative;
    min-height: 28rem;
}

.form-sub-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.form-sub-step.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.form-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 2rem;
}

.input-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.input-wrap+.input-wrap {
    margin-top: 2.4rem;
}

.input-label {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0A090E;
}

.input-label-bold {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0A090E;
}

.input-label .req {
    color: #0167CA;
    margin-left: 0.2rem;
}

.input-st {
    width: 100%;
    height: 5.6rem !important;
    border: 1px solid #e5e5e5;
    border-radius: .4rem;
    padding: 0 1.6rem;
    font-size: 2rem;
    font-weight: 400;
    color: #111;
    transition: border-color 0.2s ease;
    outline: none;
    background: #fff;
}
select.input-st {
	background: url(/static/imgs/member/selectDown_icon.png) right 1.6rem center no-repeat;
}

.input-st::placeholder {
    color: #999;
}

.field-error {
    color: #DE3412;
    font-size: 1.4rem;
    font-weight: 400;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-0.3rem);
    transition: max-height 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.field-error.show {
    max-height: 4rem;
    opacity: 1;
    transform: translateY(0);
}

.field-error.pasingPW,
.field-error.select {
	margin-top: .8rem;
}

.select-st {
    width: 100%;
    height: 5.2rem;
    border: 1px solid #e5e5e5;
    border-radius: 0.8rem;
    padding: 0 1.6rem;
    font-size: 1.6rem;
    color: #111;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") right 1.6rem center no-repeat;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    transition: border-color 0.2s ease;
    cursor: pointer;
}

.select-st:focus {
    border-color: #0167CA;
}

.email-send-btn-wrap {
    margin-top: 2.4rem;
    display: flex;
    justify-content: center;
}

.btn-email-send {
    width: auto;
    min-width: 27.2rem;
    height: 5rem;
    color: #fff;
    border-radius: .4rem;
    background: #0167CA;
    border: unset;
    font-size: 1.6rem;
    font-weight: 700;
    padding: 0 2.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    transition: all 0.3s ease;
}

.btn-email-send.sent {
    background: #454E5B;
    color: #fff;
    border: unset;
    cursor: default;
}

.captcha-row {
    display: flex;
    gap: 0.4rem;
    align-items: stretch;
}

.captcha-box {
    display: flex;
    flex-shrink: 0;
}

.captcha-input {
    flex: 1;
    min-width: 0;
}

.captcha-img-wrap {
    flex-shrink: 0;
    width: 16rem;
    height: 100%;
    border-radius: .4rem 0 0 .4rem;
    background: #B7C0CD;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #fafafa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.4rem;
    font-family: 'Arial', sans-serif;
    letter-spacing: 2px;
    user-select: none;
}

.btn-captcha-refresh {
    flex-shrink: 0;
    width: 3.2rem;
    height: 100%;
    border-radius: 0 .4rem .4rem 0;
    background: #454E5B url(/static/imgs/member/refresh-icon.svg) no-repeat center;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-captcha-refresh svg {
    width: 1.8rem;
    height: 1.8rem;
    stroke: #fff;
}

.verify-code-wrap {
    display: none;
    margin-top: 1.2rem;
}

.verify-code-wrap.show {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.verify-timer {
    font-size: 1.4rem;
    color: #E52020;
    white-space: nowrap;
    font-weight: 600;
}

.email-notice {
    margin-top: 1.2rem;
    font-size: 1.3rem;
    color: #E52020;
    display: none;
}

.email-notice.show {
    display: block;
}

.input-pw-wrap {
    position: relative;
}

.input-pw-wrap .input-st {
    padding-right: 5rem;
}

.btn-pw-toggle {
    position: absolute;
    right: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-pw-toggle svg {
    width: 2rem;
    height: 2rem;
    stroke: #aaa;
}

.pw-conditions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 1.6rem;
}

.pw-cond-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    color: #bbb;
    transition: color 0.25s ease;
    margin: unset;
}

.pw-cond-item.met {
    color: #228738;
}

.pw-cond-item.error {
    color: #DE3412;
}

.pw-cond-icon {
    width: 1.4rem;
    height: 1.4rem;
    flex-shrink: 0;
}


/* ==================== STEP 3 - 가입 완료 ==================== */
.complete-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.complete-icon {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background: #0167CA;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3.2rem;
    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.complete-icon svg {
    width: 4rem;
    height: 4rem;
}

.complete-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0A090E;
    margin-bottom: 1.6rem;
}

.complete-desc {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 4rem;
}

.complete-desc strong {
    color: #0167CA;
    font-weight: 700;
}

.complete-card {
    padding-top: 17.6rem;
    background: url(/static/imgs/member/join-end-icon.svg) center top no-repeat;
}

.complete-card>p {
    color: rgba(10, 9, 14, 0.6);
    font-size: 1.8rem;
    font-weight: 400;
}

.complete-card-icon {
    font-size: 5.6rem;
    line-height: 1;
}

.complete-card-text {
    font-size: 2rem;
    font-weight: 600;
    color: #111;
}

.complete-card-text strong {
    color: #0167CA;
}

.btn-go-main {
    width: 100%;
    max-width: 28rem;
    height: 5.6rem;
    background: #0167CA;
    color: #fff;
    border: none;
    border-radius: 99rem;
    font-size: 1.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s;
}

.btn-go-main:hover {
    background: #003faa;
}


/* ==================== 약관 상세 2컬럼 레이아웃 (PC) ==================== */
#panel1 .agree-layout-wrap {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 0;
}

.agree-form-col {
    flex: 0 0 68rem;
    max-width: 68rem;
    min-width: 0;
}

.agree-detail-inner {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: calc(100vw - 4rem);
    max-width: 140rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2.4rem 4rem;
    box-sizing: border-box;
}

.agree-detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.4rem;
    padding-bottom: 2.4rem;
    border-bottom: 1px solid rgba(10, 9, 14, 0.4);
}

.agree-detail-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0A090E;
}

.agree-detail-close {
    width: 3.2rem;
    height: 3.2rem;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
    flex-shrink: 0;
    background: url('/static/imgs/member/join-close-btn.svg') no-repeat center;
}

.agree-detail-close svg {
    width: 1.6rem;
    height: 1.6rem;
    stroke: #555;
}

.agree-detail-body {
    flex: 1;
    min-height: 0;
    font-size: 1.4rem;
    line-height: 1.8;
    color: #555;
    overflow-y: auto;
    padding-right: 0.4rem;
}

.agree-detail-body strong {
    display: block;
    color: #111;
    font-size: 1.5rem;
    margin: 1.6rem 0 0.6rem;
    font-weight: 700;
}

.agree-detail-body strong:first-child {
    margin-top: 0;
}


/* ==================== 애니메이션 ==================== */
@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/* ==================== 미디어 쿼리 (max-width: 1023px) ==================== */
@media screen and (max-width: 1023px) {
    .join-title {
        margin-top: 6rem;
    }
}


/* ==================== 미디어 쿼리 (max-width: 767px) ==================== */
@media screen and (max-width: 767px) {
    .join-page-wrap {
    	margin-top: 6rem;
        min-height: auto;
        height: calc(100dvh - 6rem);
    	justify-content: flex-start;
    }

    .signup-modal {
        width: calc(100% - 4rem);
        padding: 2.8rem 0 3.2rem;
    }
    
    .modal-title {
    	margin-bottom: 1.6rem;
	    padding-bottom: 2.4rem;
	    font-size: 2rem;
    }
    
    .modal-content {
    	padding: 0 1.2rem;
    	gap: .4rem;
    }
    
    .type-title {
    	font-size: 1.6rem;
    }
    
    .type-desc {
    	font-size: 1.4rem;
    }
    
    .btn-cancel {
    	width: 14.5rem;
	    height: 4rem;
	    font-size: 1.4rem;
    }

    .agree-detail-col {
        width: 100%;
        transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
            visibility 0s 0s,
            width 0s 0s,
            height 0s 0s;
    }

    .agree-detail-inner {
        position: static;
        width: 100%;
        max-width: none;
        transform: none;
        height: 100%;
    }

    .join-content-mask.is-detail-open .agree-detail-col {
        width: 100%;
    }

    .join-title {
        margin-top: 8rem;
        order: 2;
    }

    .join-title h1 {
        margin-bottom: unset;
    }

    .step-nav {
        order: 1;
        border-bottom: 2px dashed #CCC;
        height: 10rem;
        align-items: stretch;
        max-width: 100%;
    }

    .step-divider {
        display: none;
    }

    .step-item.active::after {
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        background: #0167CA;
        position: absolute;
        left: 0;
        bottom: -2px;
    }

    .step-item {
        position: relative;
        flex-direction: column;
        flex: 1;
        justify-content: center;
        align-items: center;
    }

    .join-content-mask {
        padding: 4rem;
        order: 3;
    }

    .join-btn-wrap {
        padding: 0 4rem 4rem;
        order: 4;
    }
}


/* ==================== 미디어 쿼리 (max-width: 580px) ==================== */
@media screen and (max-width: 580px) {
	.type-link {
		height: 8rem;
	}
	
    .join-title {
        margin-top: 4rem;
    }

    .join-panel {
        height: 38.9rem;
    }

    .btn-base {
        height: 4.8rem;
    }

    .join-title h1 {
        font-size: 2.4rem;
    }

    .step-nav {
        height: 5rem;
    }

    .step-item {
        gap: .4rem;
    }
    
    .step-num { 
    	width: 1.6rem;
	    height: 1.6rem;
	    font-size: 1rem;
    }

    .join-content-mask {
        padding: 2rem 2rem 3.7rem;
    }

    .join-btn-wrap {
        padding: 0 2rem 4rem;
    }

    .join-container {
        border-radius: 0;
        box-shadow: none;
    }

    .agree-all-wrap {
        padding: 0 1.2rem;
        height: 4rem;
        gap: .8rem;
        margin-bottom: 1.6rem;
    }

    .agree-all-label {
        width: 1.6rem;
        height: 1.6rem;
    }

    .agree-all-text {
        font-size: 1.6em;
    }

    .sub-tit {
        font-size: 1.2rem;
    }

    .agree-item:not(:last-child) {
        padding-bottom: .4rem;
    }

    .agree-row {
        height: 3rem;
    }

    .panel-card-style {
        box-shadow: none;
    }

    .panel-inner {
        padding: 2rem;
    }

    .agree-name {
        font-size: 1.4rem;
    }

    .custom-check-label {
        width: 1.3rem;
        height: 1.3rem;
    }

    .agree-subtext {
        font-size: 1.2rem;
        padding-left: 2.2rem;
        margin-top: unset;
    }

    .agree-error {
        margin-top: 0.4rem;
    }

    .agree-arrow-btn {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .agree-divider {
        margin: 1.2rem 0;
    }

    .join-btn-wrap {
        padding: 2rem 2rem 3.2rem;
    }

    .join-clear-btn {
        max-width: 100%;
    }

    .step-divider {
        width: 5rem;
        margin: 0 0.8rem;
    }

    .step-label,
    .step-sub-counter {
        font-size: 1.4rem;
    }

    .btn-prev {
        min-width: 10rem;
        font-size: 1.6rem;
    }

    .btn-next {
        font-size: 1.6rem;
    }

    .agree-detail-col {
        width: calc(100% - 4rem);
        height: 38.9rem;
        bottom: 3.7rem;
        transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
            visibility 0s 0s,
            width 0s 0s,
            height 0s 0s;
    }

    .join-content-mask.is-detail-open .agree-detail-col {
        width: calc(100% - 4rem);
        height: 100%;
        bottom: 3.7rem;
        transition: width 2s cubic-bezier(0.25, 1, 0.5, 1),
            height .6s cubic-bezier(0.25, 1, 0.5, 1),
            opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
            visibility 0s 0s;
    }

    .agree-detail-col {
        border-radius: 2rem;
    }

    .agree-detail-inner {
        padding: 1.6rem 2rem;
    }

    .agree-detail-head {
        margin-bottom: 1.6rem;
        padding-bottom: 1.6rem;
    }

    .agree-detail-title {
        font-size: 1.6rem;
    }

    .agree-detail-close {
        width: 2.4rem;
        height: 2.4rem;
    }

    .input-wrap {
        gap: 0.6rem;
    }

    .input-label-bold,
    .input-label {
        font-size: 1.4rem;
    }

    .input-st {
        height: 4rem !important;
        font-size: 1.4rem;
        flex: unset;
    }
    
    .SumoSelect > .CaptionCont > span,
    .SumoSelect > .optWrapper > .options li label {
    	font-size: 1.4rem !important;
    }

    .field-error {
        font-size: 1rem;
    }
    
    #stepTab2 .step-num, #stepTab3 .step-num {
	    line-height: 2px;
	}

    .input-wrap+.input-wrap {
        margin-top: 1.6rem;
    }

    .btn-email-send {
    	min-width: 20rem;
        height: 4rem;
        font-size: 1.4rem;
    }

    .pw-conditions {
        margin-top: unset;
    }

    .pw-cond-item {
        font-size: 1rem;
        gap: 0.2rem;
    }

    .pw-cond-icon {
        width: 1.2rem;
        height: 1.2rem;
    }

    .captcha-row {
        flex-direction: column;
    }

    .captcha-img-wrap {
        width: calc(100% - 3.2rem);
        height: 4rem;
    }

    .btn-captcha-refresh {
        height: 4rem;
    }

    .complete-card {
        background-size: 9.6rem;
        padding-top: 12rem;
    }

    .complete-title {
        font-size: 1.6rem;
        margin-bottom: .8rem;
    }

    .complete-card>p {
        font-size: 1.2rem;
    }

    .agree-detail-body .detail {
        font-size: 1.2rem;
    }

}

/* ==================== 1024px~1920px 해상도 고정 및 레이아웃 조정 ==================== */
@media screen and (min-width: 1024px) {
    html {
        font-size: 10px !important;
    }
    .join-page-wrap {
        justify-content: end; /* 1080px 이상의 높은 화면에서는 하단 밀착 정렬 */
        box-sizing: border-box;
    }
}

/* 1024px 이상 데스크탑이면서, 브라우저 뷰포트 높이가 1080px 미만인 경우에만 상단 정렬 및 패딩 적용 */
@media screen and (min-width: 1024px) and (max-height: 1079px) {
    .join-page-wrap {
        justify-content: flex-start;
        padding-top: 14rem;
    }
}

/* ==========================================================
   PAGE: 로그인 & 비밀번호 찾기 커스텀 (.newloginForm / .page-member-findpwd)
   ========================================================== */
.leftSide.newloginForm { width: 82rem;}
.rightSide.newloginForm { padding: unset; display: flex; justify-content: center; align-items: center; background: #fff;}
.rightSide.newloginForm .loginForm { max-width: 68rem; width: 100%;}
.rightSide.newloginForm h2 { border-bottom: unset;}
.rightSide.newloginForm .loginSection { border: 1px solid #CCCCCC; border-radius: 24px; padding: 4rem;}
.rightSide.newloginForm .loginSection .captchaArea { margin-top: 4rem;}
.rightSide.newloginForm .captchFlex { gap: 4px;}
.rightSide.newloginForm .newCaptcha { order: 2; width: 16rem;}
.rightSide.newloginForm .joinBtnBox { gap: 16px;}
.rightSide.newloginForm .joinBtnBox a { background: #737B89; color: #fff; flex: 1; height: 5.6rem; line-height: 5.6rem;}
.rightSide.newloginForm .joinBtnBox button { flex: 1; height: 5.6rem;}

@media screen and (max-width: 1023px) {
    .leftSide.newloginForm { width: 100%;}
    .rightSide.newloginForm { justify-content: center;}
    .rightSide.newloginForm .loginForm { padding: 0 2rem;}
    .rightSide.newloginForm h2 { padding-bottom: 2rem;}
    .rightSide.newloginForm .loginSection,
    .page-member-findpwd .rightSide .loginSection { padding: 2rem;}
    .rightSide.newloginForm .newCaptcha { width: 14rem; height: 4rem;}
    .rightSide.newloginForm .joinBtnBox { padding-bottom: 2rem; gap: 8px; margin-top: 5.7rem;}
    .rightSide.newloginForm .joinBtnBox a,
    .rightSide.newloginForm .joinBtnBox button { height: 4.8rem; line-height: 4.8rem; font-size: 1.6rem;}
}

/* ==========================================================
   PAGE: 비밀번호 찾기 (findPassword.jsp) | .page-member-findpwd
   ========================================================== */
.page-member-findpwd .rightSide { width: 100%; max-width: 68rem; padding: unset; background: unset; }
.page-member-findpwd .rightSide h2 { border-bottom: unset; }
.page-member-findpwd .rightSide .loginSection { border: 1px solid rgba(10, 9, 14, 0.2); border-radius: 24px; padding: 4rem; }
.page-member-findpwd .rightSide .loginSection > p { font-size: 2rem; padding-bottom: 4rem; margin-bottom: 4.8rem; border-color: rgba(10, 9, 14, 0.1); font-weight: 400;}
.page-member-findpwd .rightSide .loginSection .captchaArea { margin-top: 2.4rem; }

.page-member-findpwd .captchFlex { gap: .4rem; }
.page-member-findpwd .newCaptcha { width: 16rem; order: 2; }

.page-member-findpwd .joinBtnBox { gap: 1.6rem; }
.page-member-findpwd .joinBtnBox a { flex: 1; height: 5.6rem; line-height: 5.6rem; }
.page-member-findpwd .joinBtnBox button { flex: 1; height: 5.6rem; }

.page-member-findpwd.loginWrap,
.page-member-findpwd .loginWrap { justify-content: center; align-items: center; }

@media screen and (max-width: 580px) {
    .page-member-findpwd .rightSide .loginSection > p { font-size: 1.4rem; margin-bottom: 2rem; padding-bottom: 2rem; }
    .rightSide.newloginForm .loginSection, .page-member-findpwd .rightSide .loginSection {
        padding: 2rem;
    }
}

/* SumoSelect Custom Style */
.SumoSelect > .CaptionCont {
    height: 5.6rem;
    font-size: 2rem;
}
.SumoSelect > .CaptionCont > span {
    font-size: 2rem;
}
.SumoSelect > .optWrapper > .options li label {
    font-size: 1.8rem;
}