* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
}
.flexflex {
    display: flex;
}

.flexcenter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flexjcenter {
    display: flex;
    justify-content: center;
}

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

.flex1 {
    flex: 1;
}

.flexcolumn {
    display: flex;
    flex-direction: column;
}

#app {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tab-box {
    width: 490px;
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;

    .tab {
        width: 150px;
        height: 40px;
        display: flex;
        align-items: center;
        margin: 0 auto;
        border: 1px solid #eee;
        border-radius: 20px;

        .item {
            flex: 1;
            border-radius: 20px;
            text-align: center;
            line-height: 40px;
            cursor: pointer;

            &.pitch {
                background-color: #f7a60a;
                color: #fff;
            }
        }
    }
}

.operate {
    width: 490px;
    display: flex;
    justify-content: center;
    input {
        flex: 1;
        height: 40px;
        border: 1px solid #eee;
        border-radius: 20px;
        padding: 10px;
    }

    .btn {
        padding: 0 20px;
        height: 40px;
        border: 1px solid #eee;
        border-radius: 20px;
        margin-left: 20px;
        text-align: center;
        line-height: 40px;
        cursor: pointer;
    }
}
.main {
    width: 450px;
    padding: 20px 0 0;
}
.box {
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
    .head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 77px;
        .strip {
            position: absolute;
            top: 0;
            right: 0;
            height: 100%;
            width: 232px;
            background: linear-gradient(180deg, rgba(94, 71, 239, 1) 0%, rgba(148, 151, 254, 1) 100%);
            border-radius: 20px;
            z-index: -1;
        }
        .left {
            display: flex;
            align-items: center;
            .index {
                width: 56px;
                height: 65px;
                margin-right: 12px;
            }
            .arrow {
                display: flex;
            }
        }
        .right {
            font-family: "AlibabaPuHuiTiB", "Alibaba PuHuiTi Bold", "Alibaba PuHuiTi Heavy", "Alibaba PuHuiTi", sans-serif;
            font-weight: 700;
            font-style: normal;
            font-size: 24px;
            color: #ffffff;
            text-align: center;
            width: 232px;
            height: 77px;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;

            .right-text {
                position: relative;
                z-index: 1;

                &::after {
                    content: "";
                    width: 100%;
                    height: 12px;
                    background: linear-gradient(180deg, rgba(247, 166, 10, 1) 0%, rgba(255, 224, 163, 1) 100%);
                    border: none;
                    border-radius: 150px;
                    display: block;
                    position: absolute;
                    bottom: 0;
                    z-index: -1;
                }
            }

            &.summary {
                .right-text {
                    &::after {
                        background: linear-gradient(180deg, rgba(102, 198, 57, 1) 0%, rgba(199, 237, 118, 1) 100%);
                    }
                }
            }
        }
    }

    .content {
        background: linear-gradient(269.733509923942deg, rgba(252, 254, 255, 1) 40%, rgba(246, 246, 255, 1) 100%);
        border: 0.0133rem solid rgba(235, 235, 235, 1);
        border-radius: 20px;
        margin-right: 20px;
        width: 430px;

        &.offer-details {
            .details-header {
                padding: 26px 20px 22px;
                display: flex;
                align-items: flex-start;
                border-bottom: 1px solid #f2f2f2;
                .icon {
                    width: 36px;
                    height: 36px;
                    margin-right: 12px;
                }
                .school {
                    .name {
                        font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
                        font-weight: 400;
                        font-size: 24px;
                        color: #000000;
                        margin-bottom: 8px;
                    }
                    .brief {
                        font-size: 15px;
                        color: #7f7f7f;
                    }
                }
            }

            .info {
                padding: 22px 0 24px;
                .item {
                    display: flex;
                    align-items: center;
                    &:not(:last-of-type) {
                        margin-bottom: 20px;
                    }
                    .name {
                        font-size: 16px;
                        color: #7f7f7f;
                        width: 105px;
                        padding-right: 20px;
                        text-align: right;
                    }
                    .value {
                        flex: 1;
                        font-size: 18px;
                        color: #333333;
                    }
                }
            }
        }

        &.bj {
            padding: 0 20px 27px;

            .bj-title {
                color: #555555;
                font-size: 16px;
                margin: 0 auto 24px;
                padding-top: 30px;

                div {
                    margin: 0 6px;
                    color: #d7d7d7;
                }
            }

            .grade-box {
            }

            .background-item-title {
                font-weight: 700;
                font-size: 16px;
                color: #000000;
                margin-bottom: 16px;
            }

            .offer-background-content {
                border-radius: 15px;
                background-color: #f6f6f6;
                border: 1px solid #d7d7d7;
                .grade-content-item {
                    overflow: hidden;
                    &:not(:last-of-type) {
                        .grade-content-key,
                        .grade-content-value {
                            border-right: 1px solid #ebebeb;
                        }
                    }

                    &:last-of-type {
                        font-weight: 650;
                        font-size: 18px;
                        color: #000000;
                    }
                }

                &.offer-background-content-text {
                    padding: 24px 17px;
                    word-break: break-word;
                    font-size: 18px;
                    color: #333333;
                }

                &.offer-background-content1 {
                    height: 56px;
                    .offer-background-content-left {
                        width: 116px;
                        height: 100%;
                        border-right: 1px solid #ebebeb;
                    }
                    .offer-background-content-text {
                        color: #50e3c2;
                    }
                }

                &.offer-background-content2 {
                    .offer-background-content-top {
                        border-bottom: 1px solid #ebebeb;
                        height: 42px;
                        width: 100%;
                        color: #555555;
                    }

                    .offer-background-content-bottom {
                        .offer-background-content-left {
                            height: 42px;
                            width: 174px;
                            border-right: 1px solid #ebebeb;
                        }
                        .offer-background-content-text {
                            height: 42px;
                            color: #50e3c2;
                        }
                    }
                }
            }

            .background-content {
                padding: 26px 0;
            }

            .grade-content-key {
                font-size: 14px;
                color: #555555;
                height: 39px;
                border-bottom: 1px solid #ebebeb;
            }

            .grade-content-value {
                height: 42px;
                font-size: 16px;
                color: #000000;
                text-align: center;
            }

            .offer-background-item {
                align-items: flex-start;

                &:not(:last-of-type) {
                    margin-bottom: 21px;
                }

                .offer-background-key {
                    width: 98px;
                    color: #7f7f7f;
                    font-size: 16px;
                    margin-right: 16px;
                    text-align: right;
                }

                .offer-background-value {
                    color: #333333;
                    font-size: 18px;
                    padding-right: 25px;
                    word-break: break-word;
                    flex: 1;
                }
            }

            .grade-item:not(:last-of-type) {
                margin-bottom: 24px;
            }
        }

        &.mood {
            padding: 16px 20px;

            .offer-mood-text {
                color: #555555;
                word-break: break-word;
                white-space: break-spaces;
                font-size: 18px;
                line-height: 36px;
            }

            .offer-mood-time {
                margin: 20px 0;
                font-size: 16px;
                color: #aaaaaa;
            }
        }

        &.summaryInclude-item {
            position: relative;
            margin-bottom: 30px;

            .semicircle {
                width: 48px;
                height: 24px;
                line-height: 24px;
                position: absolute;
                left: 50%;
                transform: translate(-50%);
                z-index: 1;
                font-size: 14px;
                color: #ffffff;

                .semicircle-bj {
                    width: 48px;
                    height: 24px;
                    position: absolute;
                    top: 0;
                    left: 0;
                    transform: rotate(180deg);
                    z-index: -1;
                }
            }

            .header {
                padding: 44px 0 20px;
                margin: 0 20px;
                border-bottom: 1px solid #f2f2f2;

                .schoolimg {
                    width: 36px;
                    height: 36px;
                    margin-right: 12px;
                }

                .schoolname {
                    font-weight: 400;
                    font-style: normal;
                    font-size: 24px;
                    color: #000000;
                }
            }

            .summaryInclude-content {
                padding: 25px 20px 0;

                .item {
                    font-size: 16px;
                    margin-bottom: 17px;
                    align-items: flex-start;
                    .key {
                        color: #7f7f7f;
                        margin-right: 12px;
                        white-space: nowrap;
                    }
                    .value {
                        color: #333333;
                        word-break: break-word;
                        font-size: 18px;
                    }

                    .vertical-line {
                        background-color: #d7d7d7;
                        width: 1px;
                        height: 17px;
                        margin: 0 8px;
                    }

                    .normal {
                        color: #72db86;
                        height: 22px;
                        line-height: 22px;
                        padding: 0 7px;
                        border-radius: 37px;
                        font-size: 16px;
                        background-color: rgba(246, 246, 246, 1);

                        &.results2 {
                            color: #a7c42e !important;
                        }

                        &.results3 {
                            color: #62b1ff !important;
                        }

                        &.results4 {
                            color: #f95d5d !important;
                        }

                        &.results5 {
                            color: #f59a23 !important;
                        }

                        &.results6 {
                            color: #8080ff !important;
                        }
                    }
                }

                .more-btn {
                    font-size: 16px;
                    color: #aaaaaa;
                    text-align: center;
                    line-height: 24px;
                    .more-btn-icom {
                        margin-left: 6px;
                        width: 16px;
                        height: 16px;
                        transform: rotate(270deg);
                    }
                    padding-bottom: 30px;
                }
            }
        }

        &.summary-text {
            font-size: 18px;
            color: #555555;
            line-height: 36px;
            padding: 16px 20px;
            word-break: keep-all;
            word-wrap: break-word;
        }
    }
}

.more {
    font-weight: 650;
    font-size: 20px;
    color: #000000;
    padding-bottom: 45px;

    .more-icon {
        width: 20px;
        height: 20px;
        margin-left: 6px;
    }
}