/* 회원가입 */
.list-step {
    display: flex;
    position: relative;
}

.list-step::before {
    width: calc(100% - 120px);
    height: 2px;
    position: absolute;
    top: 29px;
    left: 60px;
    z-index: -1;
    background: #dfdfdf;
    content: '';
}

.list-step li {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 120px;
    gap: 12px;
}

.list-step .number {
    width: 60px;
    height: 60px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #666;
    line-height: 60px;
    background: #fff;
    border-radius: 50%;
}

.list-step .text {
    font-weight: 700;
    color: #666;
    line-height: 24px;
}

.list-step li.is-active .number {
    color: #fff;
    background: #1946b9;
}

.list-step li.is-active .text {
    color: #1946b9;
}

.list-step li.is-complete .number {
    color: #fff;
    background: #929ebd;
}

.list-step li.is-complete .text {
    color: #929ebd;
}

.section-signup .ui-card {
    padding: 60px 80px;
}

/* 회원가입 - 약관동의 */
.section-signup.agreement .box-gray {
    padding: 20px 0;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    line-height: 28px;
    background: #f7f8fd;
    border-radius: 20px;
}

.section-signup.agreement .box-check {
    line-height: 24px;
}

.section-signup.agreement .box-check .title {
    margin-top: 10px;
    font-weight: 700;
    color: #666;
}

.section-signup.agreement .box-check .text {
    margin-top: 10px;
    color: #666;
}

.section-signup.agreement .box-check .ui-label-checkbox {
    margin: 34px 0 4px;
    font-size: 20px;
    font-weight: 700;
}

.section-signup.agreement .block-terms {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.block-terms .box-title {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 24px;
    border: 1px solid #dfdfdf;
}

.block-terms .box-title .ui-label-checkbox {
    font-size: 18px;
}

.block-terms .box-title .badge {
    height: 28px;
    margin-left: 8px;
    padding: 0 4px;
    color: #666;
    line-height: 28px;
    border: 1px solid #666;
    border-radius: 8px;
}

.block-terms .box-title .badge.is-active {
    color: #4696ff;
    border-color: #4696ff;
}

.block-terms .box-text {
    height: 160px;
    padding: 20px 24px;
    color: #666;
    line-height: 24px;
    border: 1px solid #dfdfdf;
    border-top: none;
    overflow-y: scroll;
}

/* 회원가입 - 휴대폰 인증 */
.section-signup.phone-verify {
    width: 1400px;
}

.section-signup.phone-verify .ui-card {
    justify-content: center;
}

.section-signup.phone-verify .ui-block-form {
    width: 640px;
    gap: 12px;
}

.section-signup.phone-verify .ui-group-input .button-action {
    flex-basis: 127px;
}

/* 회원가입 - 기본정보 입력 */
.section-signup.basic-info {
    display: flex;
    flex-direction: column;
    width: 1400px;
    gap: 20px;
}

/* 아이디/비밀번호 찾기 */
.section-find {
    display: flex;
    flex-direction: column;
    width: 660px;
    gap: 20px;
}

.section-find .ui-card {
    flex-direction: column;
    padding: 60px 80px;
}

.section-find .title {
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
}

.section-find .text {
    margin-top: 5px;
    color: #666;
    line-height: 24px;
}

.section-find .ui-block-form {
    margin-top: 20px;
}

.section-find .ui-group-input {
    gap: 12px;
}

.section-find .ui-button-primary {
    width: 100%;
    margin-top: 40px;
}

/* 아이디 찾기 결과 */
.find-id-result {
    margin-top: 20px;
    padding: 30px 20px;
    background: #f5f5f5;
    border-radius: 5px;
    text-align: center;
}

.find-id-label {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.find-id-value {
    font-size: 18px;
    color: #0066cc;
    margin-bottom: 20px;
    font-weight: 500;
}

.find-id-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px !important;
    margin-top: 20px;
}

.find-id-buttons button:not(:last-child) {
    margin-bottom: 0;
}

.find-id-buttons button + button {
    margin-top: 20px;
}

.find-id-buttons .ui-button-primary {
    width: 100%;
    margin-top: 0;
}

@media (max-width: 1023px) {
    .ui-inner.is-subpage {
        padding: 32px 0 0;
    }

    .list-step {
        margin-top: -8px;
    }

    .list-step::before {
        width: calc(100% - 98px);
        top: 23px;
        left: 49px;
    }

    .list-step li {
        width: 98px;
        gap: 8px;
    }

    .list-step .number {
        width: 48px;
        height: 48px;
        font-size: 18px;
        line-height: 48px;
    }

    .list-step .text {
        line-height: 20px;
    }

    .section-signup .ui-card {
        padding: 40px 20px;
        border-radius: 0;
    }

    .section-signup.agreement .box-gray {
        padding: 20px;
        font-size: 16px;
        line-height: 20px;
    }

    .ui-block-form {
        gap: 20px;
    }

    .section-signup.agreement .box-check .title {
        line-height: 20px;
    }

    .section-signup.agreement .box-check .text {
        line-height: 20px;
    }

    .section-signup.agreement .box-check .ui-label-checkbox {
        height: 28px;
        margin: 20px 0 0;
        font-size: 18px;
        line-height: 28px;
    }

    .section-signup.agreement .box-check .ui-label-checkbox .icon-check {
        top: 14px;
        left: 0;
    }

    .block-terms .box-title {
        height: 56px;
    }

    .block-terms .box-title .ui-label-checkbox {
        padding-left: 28px;
        font-size: 16px;
        line-height: 20px;
    }

    .block-terms .box-title .ui-label-checkbox .icon-check {
        width: 20px;
        height: 20px;
        background-size: 20px;
    }

    .block-terms .box-title .badge {
        height: 24px;
        padding: 0 6px;
        line-height: 22px;
    }

    .block-terms .box-text {
        height: 200px;
    }

    .section-signup.phone-verify {
        width: 100%;
    }

    .section-signup.phone-verify .ui-group-input .button-action {
        flex-basis: 119px;
    }

    .section-signup.basic-info {
        width: 100%;
        gap: 12px;
    }

    .ui-group-input .box-title {
        font-size: 16px;
    }

    .ui-group-input .button-action {
        flex: 0 0 88px;
    }

    .page-member.find .ui-inner.is-subpage {
        gap: 32px;
    }

    .section-find {
        width: 100%;
        gap: 12px;
    }

    .section-find .ui-card {
        width: 100%;
        padding: 40px 20px 48px;
        border-radius: 0;
    }

    .section-find .text {
        font-size: 13px;
    }

    .section-find .text span {
        font-weight: 700;
    }

    .section-find .ui-button-primary {
        margin-top: 20px;
    }

    .find-id-result {
        padding: 20px 15px;
        margin-top: 20px;
    }

    .find-id-label {
        font-size: 14px;
    }

    .find-id-value {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .find-id-buttons {
        gap: 16px;
        margin-top: 16px;
    }

    .page-member.find .ui-footer {
        margin: 0;
    }
}