@import url("color.css");

html, body {
    width: 100%;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-family: Arial, 'Microsoft YaHei', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

div, ul, li, ol, dl {
    box-sizing: border-box;
}

img, input, textarea {
    display: block;
    margin: 0;
    padding: 0;
}

ul, li, ol, dl {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    margin: 0;
    padding: 0;
}

header {
    width: 100%;
    background-color: #fff;

    & .header-container {
        width: 1200px;
        margin: 0 auto;
        padding: 20px 0 21px;
        display: flex;
        justify-content: space-between;
        align-items: center;

        & .login-btn {
            border-radius: 4px;
            padding: 8px 22px;
            background-color: var(--login-btn-bg);
            flex: 0 0 auto;
            cursor: pointer;
            display: block;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;

            &::before {
                content: '';
                position: absolute;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100%;
                background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
                transition: 0.5s;
            }

            &:hover::before {
                left: 100%;
            }
        }

        & .login-btn span {
            color: #fff;
            font-size: 18px;
        }

        & .logo {
            width: 179px;
            height: 51px;
            flex: 0 0 auto;

            & img {
                width: 100%;
                height: 100%;
                display: block;
                margin: 0;
                padding: 0;
            }
        }

        & nav {
            display: flex;
            justify-content: center;
            align-items: center;
            flex: 1 1 auto;

            & a {
                /* min-width: 72px; */
                text-align: center;
                color: #000;
                font-size: 18px;
                /* font-weight: 500; */
                padding: 0 20px;
                text-decoration: none;
                flex: 0 0 auto;

                & span {
                    position: relative;
                    padding: 0;

                    &::after {
                        content: '';
                        width: 0;
                        height: 2px;
                        background-color: var(--font-color-ahover);
                        position: absolute;
                        bottom: -5px;
                        left: 50%;
                        transform: translateX(-50%);
                        transition: all 0.3s ease;
                    }
                }
            }

            & a:hover, a.active {
                color: var(--font-color-ahover);
                /* font-weight: 600; */

                & span::after {
                    /* content: ''; */
                    width: 90%;
                    /* height: 2px;
                    background-color: var(--font-color-ahover);
                    position: absolute;
                    bottom: -5px;
                    left: 50%;
                    transform: translateX(-50%); */
                }
            }
        }

        & .userHead {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            overflow: hidden;
            display: block;

            & img {
                width: 100%;
                height: 100%;
                display: block;
                margin: 0;
                padding: 0;
            }
        }
    }
}

footer {
    width: 100%;
    background-color: #45465E;
    padding: 40px 0 50px;

    & a {
        color: rgba(255, 255, 255, .7);
        font-size: 15px;
        font-style: normal;
        text-decoration: none;
        transform: translateX(0);
        transition: all 0.3s ease;
        display: block;
        position: relative;
    }

    & a:hover {
        color: #fff;
        transform: translateX(10px);
    }

    & .footer-container {
        width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: row;

        & .a-list {
            width: 753px;
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-direction: row;

            & ul {
                width: 33.33%;
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                align-items: flex-start;
            }

            & ul li:first-child {
                font-size: 18px;
                color: #fff;
            }

            & ul li {
                font-size: 15px;
                color: rgba(255, 255, 255, .7);
                margin: 10px 0 0;
                white-space: nowrap;
            }

            & ul li span:nth-child(2) {
                padding-left: 10px;
            }
        }

        & .code-content {
            width: 177px;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: flex-start;

            & .code-img {
                width: 70px;
                height: auto;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
            }

            & .code-img .img {
                width: 70px;
                height: 70px;
                overflow: hidden;
                display: flex;
                background-color: #fff;
            }

            & .code-img .img img {
                width: 64px;
                height: 64px;
                margin: auto;
            }

            & .code-img span {
                font-size: 15px;
                color: rgba(255, 255, 255, .7);
                display: block;
                margin-top: 5px;
                white-space: nowrap;
            }
        }

        & .record-filing {
            & .r-tit {
                font-size: 18px;
                color: #fff;
                margin-top: 10px;
            }

            & .company, & .record, & .record p {
                font-size: 15px;
                color: rgba(255, 255, 255, .7);
                margin-top: 10px;
            }
        }
    }
}

.login-box {
    width: 475px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 222;
    user-select: none;
    display: none;

    & .close-btn {
        width: 40px;
        height: 40px;
        position: absolute;
        top: 15px;
        right: 15px;
        background-color: #fff;
        display: flex;
        cursor: pointer;
        z-index: 222;

        & svg {
            width: 22px;
            height: 22px;
            margin: auto;
        }
    }

    & .login-container {
        width: 100%;
        padding: 80px 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        position: relative;
        background-color: #fff;
        border-radius: 12px;
        z-index: 202;

        & .login-title {
            font-size: 24px;
            font-weight: bold;
            color: #000;
        }
    }

    &::after {
        content: '';
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.2);
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 200;
    }

    & .txt-input {
        width: 356px;
        border-bottom: 1px solid #EDEDED;
        position: relative;
        padding: 28px 0 0;

        & .el-input__wrapper {
            box-shadow: none;
        }

        & .code-btn {
            font-size: 20px;
            color: #a9a9a9;
            position: absolute;
            top: 32px;
            right: 0;
            cursor: pointer;
        }

        & input {
            width: 100%;
            height: 34px;
            line-height: 34px;
            border: 0;
            outline: none;
            background-color: transparent;
            font-size: 20px;
            color: #000;
            padding: 0;

            &::placeholder {
                font-size: 20px;
                color: #a9a9a9;
            }

            &:focus {
                outline: none;
            }

            &:-internal-autofill-selected, &:valid, &:-webkit-autofill {
                background-color: transparent !important;
            }
        }
    }

    & .pact {
        padding: 30px 0 0;
        font-size: 16px;
        color: #999;

        & .el-checkbox__label {
            font-size: 16px;
            padding-left: 4px;
        }

        & input[type="checkbox"] {
            display: inline-block;
        }

        & input[type="checkbox"]~span {
            margin-left: 4px;
        }

        & a {
            color: inherit;
            font-size: inherit;
        }

        & a:hover {
            color: #409EFF;
        }
    }

    & .login-btn {
        width: 75%;
        background-color: var(--login-btn-bg);
        color: #fff;
        font-size: 18px;
        text-align: center;
        line-height: 1;
        padding: 14px 0 16px;
        border: 0;
        border-radius: 8px;
        margin-top: 20px;
        cursor: pointer;
    }

    & .login-btn.unable {
        background-color: #ccc;
        color: #fff;
        cursor: not-allowed;
    }
}

.success-box {
    width: 500px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 222;
    display: none;

    &::after {
        content: '';
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.2);
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 200;
    }

    & .box-top {
        width: 100%;
        height: 116px;
        overflow: hidden;
        border-radius: 12px 12px 0 0;
        position: relative;
        z-index: 201;

        &::before {
            content: '';
            width: 100%;
            height: 100%;
            background: url('../../images/icon-4.png') center top / contain no-repeat;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 0;
        }

        &::after {
            content: '';
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, #0f68ff 0%, #6ca0ff 100%);
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
        }

        & .box-title {
            font-size: 20px;
            font-weight: bold;
            color: #fff;
            margin: 32px 0 0 19px;
            position: relative;
            z-index: 1;
        }
    }

    & .box-content {
        width: 100%;
        background-color: #fff;
        padding: 22px 0 21px;
        margin-top: -20px;
        border-radius: 12px 12px 0 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        position: relative;
        z-index: 202;

        & .txt {
            width: 50%;
            font-size: 16px;
            color: #000;
            text-align: center;
            line-height: 1.5;
            padding: 11px 0;
        }

        & .btn {
            width: 150px;
            font-size: 16px;
            color: var(--btn-bg);
            text-align: center;
            border: 1px solid var(--btn-bg);
            border-radius: 16px;
            padding: 6px 0;
            margin: 12px 0 0;
            cursor: pointer;
        }

        & .qrcode {
            width: 154px;
            height: 154px;
            display: flex;

            & img {
                width: 100%;
                object-fit: cover;
                margin: auto;
            }
        }
    }
}

.banner {
    width: 100%;
    height: 388px;
    background-color: #0A40C2;
    overflow-y: hidden;

    & img.carousel-img {
        width: 100%;
        height: 388px;
        margin: 0;
        padding: 0;
    }
}

.pact-container {
    width: 100%;
    background-color: #F9F9F9;
    padding: 30px 0;

    & .content {
        width: 62.5%;
        border-radius: 6px;
        background-color: #fff;
        margin: auto;
        padding: 30px;

        & p {
            padding: 0.5em 0;
            margin: 0;
        }
    }
}

.page-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin: 40px 0 0;

    & ul {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;

        & li {
            min-width: 32px;
            min-height: 32px;
            line-height: 24px;
            font-size: 16px;
            cursor: pointer;
            text-align: center;
            line-height: 32px;
            margin: 0 2px;
            color: #606266;
            border-radius: 2px;
            background-color: #F0F2F5;
            box-sizing: border-box;
            padding: 0 6px;

            &:hover {
                background-color: #409EFF;
                color: #fff;
            }

            & a {
                width: 100%;
                height: 100%;
                display: blcok;
                font-size: inherit;
                color: inherit;
            }
        }
    }
}

@media only screen and (min-width: 750px) and (max-width: 1190px) {
    header .header-container, footer .footer-container {
        width: 750px;
    }

    header .header-container {
        padding: 10px 0;

        & nav a {
            padding: 0 5px;
        }
    }

    footer {
        padding: 20px 0 25px;

        & .footer-container .a-list {
            width: 55%;

            & ul li:first-child {
                font-size: 16px;
            }

            & ul li {
                font-size: 12px;
            }

            & ul li span:nth-child(2) {
                padding-left: 6px;
            }
        }

        & .footer-container .record-filing {
            & .r-tit {
                font-size: 14px;
                margin-top: 10px;
            }

            & .company, & .record, & .record p {
                font-size: 12px;
                margin-top: 10px;
            }
        }

        & .footer-container .code-content {
            width: 16%;
            justify-content: center;
            padding: 12px 0 0 16px;

            & .code-img {
                width: 70px;
                height: auto;
                margin: 0 5px;
            }
        }
    }
}

@media only screen and (max-width: 700px) {
    header {
        width: 100vw;
        position: sticky;
        top: 0;
        left: 0;
        z-index: 111;

        /* & .logo, & nav, & nav a {
            display: none;
        } */

        & .header-container {
            width: 100%;
            padding: 0.4rem;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;

            & .login-btn {
                padding: 0.1rem 0.4rem 0.3rem;

                & span {
                    font-size: 1rem;
                }
            }

            & .logo {
                display: block;
                width: 2.28rem;
                height: 2.28rem;
                overflow: hidden;

                & img {
                    width: 8.04rem;
                    height: 2.28rem;
                }
            }

            & nav {
                width: 5.5rem;
                height: 0;
                overflow: hidden;
                backdrop-filter: blur(10px) brightness(80%);
                background-color: rgba(255, 255, 255, 0.8);
                border-radius: 0 0 0.4rem 0.4rem;
                position: absolute;
                top: 3.1rem;
                left: 0.5rem;
                display: flex;
                justify-content: flex-start;
                align-items: center;
                flex-direction: column;
                padding: 0.4rem 0.2rem;
                transition: all 0.3s ease-out;
                box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.2);
                opacity: 0;

                & a {
                    width: 100%;
                    display: block;
                    font-size: 1rem;
                    padding: 0.3rem 0;
                    text-align: center;
                    line-height: 1.2rem;
                    text-shadow: 0 0 0.2rem #fff;
                }

                & a:hover {
                    color: #000;


                    & span::after {
                        display: none;
                    }
                }

                & a.active {
                    font-size: 1rem;
                    color: #000;
                    position: relative;

                    & span::after {
                        display: none;
                    }
                }

                & a.active::after {
                    content: '';
                    width: 100%;
                    height: 100%;
                    background-color: rgba(255, 255, 255, 0.2);
                    position: absolute;
                    bottom: 0;
                    left: 0;
                }
            }
        }
    }

    footer {
        padding: 1rem 2rem 2rem;
        box-sizing: border-box;

        & .footer-container {
            width: 100%;
            flex-direction: column;
            justify-content: flex-start;
            position: relative;

            & .a-list {
                width: 100%;
                /* flex-flow: row wrap;
                justify-content: center;
                align-items: flex-start; */
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                justify-content: stretch;
                align-content: center;
            }

            & .a-list ul {
                width: 100%;
                /* flex: 1 0 auto; */
            }

            & .a-list ul:last-child {
                grid-column: 1 / 3;
            }

            & .a-list ul li:first-child {
                font-size: 0.9rem;
            }

            & .a-list ul:nth-child(2) {
                align-items: center;
            }

            & .a-list ul:nth-child(3) {
                align-items: flex-end;
            }

            & .a-list ul li a {
                font-size: 0.8rem;
            }

            & .code-content {
                width: auto;
                padding: 0.5rem 0;
                justify-content: flex-start;
                flex-direction: column;
                row-gap: 0.4rem;
                position: absolute;
                top: 5.5rem;
                right: 0;
            }

            & .record-filing {
                width: 100%;
            }
        }
    }

    .login-box {
        width: 100%;
        user-select: none;
    }

    .pact-container {
        width: 100%;
        background-color: #F9F9F9;
        padding: 1rem 0;

        & .content {
            width: 90%;
            border-radius: 6px;
            background-color: #fff;
            margin: auto;
            padding: 1rem;

            & p {
                padding: 0.5em 0;
                margin: 0;
            }
        }
    }

    .banner {
        width: 100%;
        height: 8.5rem;
        background-color: #0A40C2;
        overflow-y: hidden;

        & img.carousel-img {
            width: 100%;
            height: 8.5rem;
            margin: 0;
            padding: 0;
        }
    }

    .page-box {
        margin: 1rem 0 0;

        & ul li {
            font-size: 0.8rem;
            min-width: 1.6rem;
            min-height: 1.6rem;
            line-height: 1.6rem;
        }
    }
}