:root {
    --main-color: #3498db;
}

.header-box {
    width: 100%;
    height: 130px;
    padding: 0 50px;
    border-radius: 12px;
    justify-content: space-between;
    position: relative;
    margin-bottom: 20px;

    &:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 12px;
        background-image: linear-gradient(to right, rgba(60, 26, 94, 0.717647), rgba(53, 60, 90, 0.886275));
        z-index: -1;
    }

    .bj {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -2;
        width: 100%;
        height: 130px;
        border-radius: 12px;
    }

    .search {
        width: 610px;
        height: 48px;
        background-color: rgba(255, 255, 255, 0.4);
        border-radius: 183px;
        padding: 0 20px;
        cursor: pointer;
        position: relative;
        z-index: 10;
        transition: all 0.1s;

        &.input-active {
            border: 1px solid #c4c7ce;
            background-color: #ffffff;
            border-radius: 10px 10px 0 0;
            border-bottom: none;
            .input {
                color: #333;
            }
        }

        .input {
            height: 48px;
            line-height: 48px;
            background-color: transparent;
            color: #ffffff;
            border: none;
            outline: none;
            font-size: 16px;
            font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
            padding-right: 10px;
            &::placeholder {
                color: #ffffff;
            }
        }

        .search-icon {
            width: 22px;
            height: 22px;
        }

        .hint-list {
            position: absolute;
            width: 610px;
            height: 0;
            max-height: 400px;
            top: 46px;
            left: -1px;
            background-color: rgba(255, 255, 255, 1);
            border-radius: 0 0 10px 10px;
            z-index: 10;
            overflow: auto;
            animation: hintShow 0.3s forwards;
            border: 0px solid #c4c7ce;
            border-top: none;
            // box-shadow: 0px 5px 5px #dfdfdf;

            @keyframes hintShow {
                0% {
                    height: 0;
                }

                100% {
                    border-width: 1px;
                    height: auto;
                }
            }

            .item {
                color: #333333;
                font-size: 14px;
                padding: 10px 20px;
                cursor: pointer;
                line-height: 30px;
                display: block;

                &:not(:last-of-type) {
                    border-bottom: 1px #e6e4e4 dotted;
                }
            }
        }
    }

    .btn {
        .item {
            width: 160px;
            height: 40px;
            background: -webkit-linear-gradient(194.036243467926deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
            background: -moz-linear-gradient(255.963756532074deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
            background: linear-gradient(255.963756532074deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
            border-radius: 70px;
            margin-left: 20px;
            font-size: 16px;
            color: #000000;
            cursor: pointer;

            .icon {
                height: 22px;
                margin-right: 8px;
            }
        }
    }
}
.screen {
    margin-bottom: 20px;

    .block {
        // height: 250px;
        background-color: rgba(255, 255, 255, 1);
        border-radius: 12px;
        padding: 24px 34px 32px;

        .title {
            font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
            font-weight: 650;
            font-size: 18px;
            color: #000000;
            margin-bottom: 26px;

            .icon {
                width: 40px;
                height: 40px;
                border-radius: 50%;
                margin-right: 10px;
                .img {
                    width: 24px;
                }
            }
        }

        .list {
            .item {
                width: fit-content;
                height: 36px;
                line-height: 36px;
                background-color: rgba(251, 251, 251, 1);
                border: 1px solid rgba(235, 235, 235, 1);
                border-radius: 12px;
                font-size: 14px;
                color: #333;
                cursor: pointer;
                text-align: center;
            }
        }

        &.school {
            width: 500px;
            margin-right: 20px;
            .title {
                .icon {
                    background-color: rgb(213, 241, 247);
                }
            }

            .list {
                display: grid;
                grid-template-columns: repeat(5, 1fr);
                gap: 10px;
                .item {
                    width: 78px;
                }
            }
        }

        &.subject {
            padding-bottom: 12px;
            .title {
                .icon {
                    background-color: rgb(253, 239, 188);
                }
            }

            .list {
                flex-wrap: wrap;
                .item {
                    padding: 0 17px;
                    margin-right: 10px;
                    margin-bottom: 10px;
                }
            }
        }
    }
}

.fate {
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 31px 37px 10px;

    .title {
        justify-content: space-between;
        font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
        font-weight: 650;
        font-size: 18px;
        color: #000000;
        margin-bottom: 6px;

        .btn {
            font-weight: 400;
            color: #555555;
            font-size: 14px;
            cursor: pointer;

            .icon {
                width: 16px;
                height: 16px;
                margin-right: 8px;
                transition: transform 0.5s ease;
                transform: rotate(var(--rotation, 0deg)); /* 使用CSS变量 */
            }
        }
    }

    .list {
        justify-content: space-between;
        flex-wrap: wrap;
        .item {
            width: 510px;
            margin-left: 20px;
            padding-top: 22px;
            padding-bottom: 22px;
            justify-content: space-between;
            &:not(:nth-last-child(-n + 2)) {
                border-bottom: 1px dotted rgb(235, 235, 235);
            }
            .left {
                position: relative;
                &::after {
                    content: "";
                    position: absolute;
                    top: 10px;
                    left: -20px;
                    transform: translateY(-50%);
                    width: 8px;
                    height: 8px;
                    background-color: rgba(242, 242, 242, 1);
                    border: 1px solid rgba(215, 215, 215, 1);
                    border-radius: 39px;
                    box-sizing: border-box;
                }

                .name {
                    font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
                    font-weight: 400;
                    font-size: 16px;
                    color: #000000;
                    margin-bottom: 7px;
                    position: relative;
                    max-width: 405px;
                    box-sizing: border-box;
                }
                .message {
                    color: #7f7f7f;
                    font-size: 14px;
                    .project {
                        max-width: 280px;
                        font-weight: 400;
                        font-size: 14px;
                    }
                    .virgule {
                        color: #d7d7d7;
                        margin: 0 9px;
                    }
                }
            }
            .btn {
                width: 110px;
                height: 32px;
                background: -webkit-linear-gradient(196.220193695603deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
                background: -moz-linear-gradient(253.779806304397deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
                background: linear-gradient(253.779806304397deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
                border-radius: 61px;
                font-size: 14px;
                color: #000000;
                cursor: pointer;
                .add {
                    width: 24px;
                    height: 24px;
                    background-color: rgba(255, 255, 255, 1);
                    border: 1px solid rgba(219, 227, 253, 1);
                    border-radius: 20px;
                    margin: 0 3px;
                    .icon {
                        width: 10px;
                        height: 10px;
                    }
                }
            }

            .already {
                font-size: 14px;
                color: #7f7f7f;
                .tick-box {
                    width: 20px;
                    height: 20px;
                    background-color: rgba(246, 246, 246, 1);
                    border: 1px solid rgba(215, 215, 215, 1);
                    border-radius: 20px;
                    margin-right: 5px;

                    .img-tick {
                        width: 10px;
                        height: 8px;
                    }
                }
            }
        }
    }
}

.recruit {
    width: 100%;
    // height: 502px;
    // background: linear-gradient(-36.4940455615096deg, rgba(207, 224, 249, 1) -23%, rgba(241, 242, 223, 1) 39%, rgba(238, 247, 245, 1) 114%);
    border: 1px solid rgba(235, 235, 235, 1);
    border-radius: 16px;
    padding: 24px 30px 24px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;

    .title {
        justify-content: space-between;
        margin-bottom: 20px;
        .img {
            width: 100px;
            height: 26px;
        }
        .btn {
            font-size: 14px;
            color: #333333;
            cursor: pointer;
            .icon {
                width: 16px;
                height: 16px;
                margin-left: 7px;
                transform: rotate(270deg);
            }
        }
    }
    .list {
        overflow: hidden;
        margin-bottom: 20px;
        width: 1140px;
        .list-item {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }
        .item {
            width: 565px;
            background-color: rgba(255, 255, 255, 1);
            border: 1px solid rgba(235, 235, 235, 1);
            border-radius: 12px;
            // padding-top: 25px;
            padding: 25px 24px;
            align-items: flex-start;
            position: relative;
            .avatar {
                width: 32px;
                object-fit: contain;
                margin-right: 10px;
            }

            .info {
                .school {
                    font-size: 14px;
                    color: #333333;
                    margin-bottom: 10px;
                }
                .name {
                    font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
                    font-weight: 650;
                    font-size: 16px;
                    color: #000000;
                    margin-bottom: 10px;
                    width: 490px;
                }
                .name-en {
                    font-size: 14px;
                    color: #7f7f7f;
                    // margin-bottom: 15px;
                    width: 490px;
                    font-weight: 40;
                }

                .aq {
                    width: 477px;
                    height: 36px;
                    line-height: 36px;
                    background-color: rgba(249, 248, 248, 1);
                    border-radius: 3px;
                    padding: 0 10px;
                    .text {
                        font-size: 14px;
                        color: #e4c762;
                        margin-right: 10px;
                    }
                    .value {
                        font-size: 15px;
                        color: #333333;
                    }
                    .icon {
                        width: 20px;
                        height: 20px;
                    }
                }
            }

            .operate {
                // height: 80px;
                position: relative;
                position: absolute;
                top: 24px;
                right: 24px;
                .circle {
                    position: relative;
                    z-index: 1;
                    cursor: pointer;
                    width: 28px;
                    height: 28px;
                    background-color: rgba(219, 227, 253, 1);
                    border: 1px solid rgba(175, 181, 202, 1);
                    border-radius: 20px;
                    .img-add {
                        width: 12px;
                        height: 12px;
                    }
                    .img-dot {
                        width: 18px;
                        height: 8px;
                    }
                }
                .select {
                    position: absolute;
                    right: -24px;
                    top: -24px;
                    background-color: rgba(251, 251, 251, 1);
                    border-radius: 8px;
                    -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.180392156862745);
                    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.180392156862745);
                    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.180392156862745);
                    flex-direction: column;
                    transition: all 0.3s;
                    overflow: hidden;
                    opacity: 0;
                    height: 0;
                    width: 300px;
                    // z-index: 2;
                    &.show {
                        height: 180px;
                        opacity: 1;
                        z-index: 2;
                    }
                    flex-direction: column;
                    align-items: center;

                    .title {
                        .dot {
                            width: 8px;
                            height: 8px;
                            border-radius: 50%;
                            border: 1px solid rgb(202, 177, 87);
                            background-color: rgb(253, 223, 109);
                            margin-right: 5px;
                        }

                        font-size: 14px;
                        color: #7f7f7f;
                        margin-top: 75px;
                        margin-bottom: 19px;
                    }

                    .btn {
                        cursor: pointer;
                        width: 144px;
                        height: 36px;
                        background: -webkit-linear-gradient(194.036243467926deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
                        background: -moz-linear-gradient(255.963756532074deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
                        background: linear-gradient(255.963756532074deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
                        border-radius: 158px;
                        font-size: 14px;
                        color: #333333;

                        .img {
                            width: 16px;
                            height: 16px;
                            margin-right: 8px;
                        }
                    }
                }

                .select-mask {
                    position: fixed;
                    width: 100%;
                    height: 100%;
                    z-index: 2;
                    top: 0;
                    left: 0;
                }
                .already {
                    font-size: 14px;
                    color: #7f7f7f;
                    .tick-box {
                        width: 20px;
                        height: 20px;
                        background-color: rgba(246, 246, 246, 1);
                        border: 1px solid rgba(215, 215, 215, 1);
                        border-radius: 20px;
                        margin-right: 5px;

                        .img-tick {
                            width: 10px;
                            height: 8px;
                        }
                    }
                }
            }
        }
    }

    .indicate {
        line-height: 12px;

        .icon {
            width: 7px;
            height: 12px;
            cursor: pointer;

            &.btn-right {
                transform: rotate(180deg);
            }
        }
        .text {
            color: #555555;
            font-size: 13px;
            margin: 0 12px;
        }
    }

    .bj {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        border-radius: 12px;
    }
}

.data {
    .fall {
        // width: 285px;
        width: 284px;
        height: 284px;
        display: block;
        margin-bottom: 20px;
        border-radius: 12px;
    }

    .item {
        width: 285px;
        background-color: rgba(255, 255, 255, 1);
        border: 1px solid rgba(235, 235, 235, 1);
        border-radius: 12px;
        padding: 21px 15px 0;
        margin-bottom: 20px;

        .school {
            .img {
                height: 20px;
                margin-right: 8px;
            }
            font-size: 14px;
            color: #333333;
            margin-bottom: 12px;
        }

        .name {
            font-family: "PingFangSC-Semibold", "PingFang SC Semibold", "PingFang SC", sans-serif;
            font-weight: 650;
            font-style: normal;
            font-size: 16px;
            color: #000000;
            margin-bottom: 12px;
        }

        .name-en {
            font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
            font-weight: 400;
            font-style: normal;
            font-size: 14px;
            color: #555555;
            margin-bottom: 12px;
        }
        .introduce {
            color: #555555;
            font-size: 14px;
            margin-bottom: 12px;
            flex-wrap: wrap;
            .quantity {
                font-family: "Arial-Black", "Arial Black", sans-serif;
                font-weight: 900;
                color: #000000;
                margin-left: 8px;
            }
            .line {
                color: #d7d7d7;
                margin: 0 10px;
            }
        }
        .word {
            background-color: rgba(249, 248, 248, 1);
            border-radius: 3px;
            padding: 10px;
            font-size: 14px;
            color: #7f7f7f;
            margin-bottom: 12px;
        }

        .type {
            width: 284px;
            height: 38px;
            background: linear-gradient(82.2713630040484deg, rgba(236, 246, 246, 1) 0%, rgba(221, 235, 248, 1) 65%, rgba(227, 228, 251, 1) 99%);
            border-radius: 0 0 12px 12px;
            margin-left: -15px;
            .type-name {
                width: 70px;
                height: 18px;
            }

            .type-icon {
                width: 40px;
                height: 40px;
                position: absolute;
                bottom: 36px;
                right: 0;
            }
        }

        .operate {
            height: 80px;
            position: relative;
            cursor: auto;
            .circle {
                position: relative;
                // z-index: 1;
                z-index: 6;
                cursor: pointer;
                width: 28px;
                height: 28px;
                background-color: rgba(219, 227, 253, 1);
                border: 1px solid rgba(175, 181, 202, 1);
                border-radius: 20px;
                margin-bottom: 10px;
                .img-add {
                    width: 12px;
                    height: 12px;
                }
                .img-dot {
                    width: 18px;
                    height: 8px;
                }
            }
            .select {
                position: absolute;
                bottom: 0;
                width: 285px;
                background-color: rgba(251, 251, 251, 1);
                border-radius: 8px;
                -moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.180392156862745);
                -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.180392156862745);
                box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.180392156862745);
                flex-direction: column;
                transition: all 0.3s;
                overflow: hidden;
                opacity: 0;
                height: 0;
                z-index: 4;
                &.show {
                    height: 211px;
                    opacity: 1;
                }
                .top {
                    flex-direction: column;
                    .title {
                        .dot {
                            width: 8px;
                            height: 8px;
                            border-radius: 50%;
                            border: 1px solid rgb(202, 177, 87);
                            background-color: rgb(253, 223, 109);
                            margin-right: 5px;
                        }

                        font-size: 14px;
                        color: #7f7f7f;
                        margin-bottom: 19px;
                    }

                    .btn {
                        cursor: pointer;
                        width: 144px;
                        height: 36px;
                        background: -webkit-linear-gradient(194.036243467926deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
                        background: -moz-linear-gradient(255.963756532074deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
                        background: linear-gradient(255.963756532074deg, rgba(219, 227, 253, 1) 0%, rgba(238, 247, 245, 1) 100%);
                        border-radius: 158px;

                        font-size: 14px;
                        color: #333333;

                        .img {
                            width: 16px;
                            height: 16px;
                            margin-right: 8px;
                        }
                    }
                }
                .bottom {
                    border-top: 1px dotted #ebebeb;
                    height: 80px;
                }
            }

            .select-mask {
                position: fixed;
                width: 100%;
                height: 100%;
                z-index: 2;
                top: 0;
                left: 0;
            }

            .already {
                font-size: 14px;
                color: #7f7f7f;
                .tick-box {
                    width: 20px;
                    height: 20px;
                    background-color: rgba(246, 246, 246, 1);
                    border: 1px solid rgba(215, 215, 215, 1);
                    border-radius: 20px;
                    margin-right: 5px;

                    .img-tick {
                        width: 10px;
                        height: 8px;
                    }
                }
            }
        }
    }
}
