.login {

    .loginLogoBox {
        width: 100%;
        height: 4.5rem;
        text-align: center;
        position: relative;

        .loginLogo {
            position: absolute;
            top: 1.5rem;
            left: 50%;
            transform: translateX(-50%);
            background-size: 100%;
        }

    }

    .loginTitleBox {
        width: 100%;

        .loginTitle {
            overflow-wrap: break-word;
            color: #404d74;
            font-size: 0.55rem;
            font-family: PingFangSC-Medium;
            text-align: center;
            white-space: nowrap;
            line-height: 0.55rem;
            display: block;
            margin: 0.1rem auto 0 auto;
            font-weight: 500;
        }
    }

    .loginFormBox {
        width: 100%;
        margin-top: 1rem;;

        // .van-field__body {
        //     // height: 2rem;
        // }

        // .van-field__value {
        //     padding-bottom: 0.7rem;
        // }

        .van-form .van-cell {
            width: 300px;
            padding: 0;
            color: rgba(168, 168, 197, 1);
            margin: 0 auto;
            overflow: visible;

            .van-field__control {
                font-size: 0.35rem;
                margin-bottom: 0.5rem;
                padding: 0.2rem;
                background-color: rgba(255, 255, 255, 1);
                border-radius: 0.2rem;
                border: 0.5px solid rgba(185, 186, 208, 1);

                &:-internal-autofill-previewed,
                &:-internal-autofill-selected {
                    -webkit-text-fill-color: #323233 !important;
                    transition: background-color 5000s ease-in-out 0s !important;
                }
            }

            .van-field__error-message {
                font-size: 0.35rem;
                margin-top: -0.5rem;
            }

            .van-field__control::-webkit-input-placeholder {
                color: rgba(168, 168, 197, 1);
            }

            &::after {
                display: none;
            }

        }

        .checkedPasswordBox {
            width: 300px;
            margin: 0.5rem auto 0 auto;
            font-size: 0.4rem;
            color: #4d6add;
            display: flex;
            justify-content: space-between;
            // height: 13px;
            line-height: 0.4rem;

            .van-checkbox {
                overflow: visible;
            }

            // .van-checkbox__icon {
            //     font-size:  0.3rem;
            // }

            // .van-checkbox__label {
            //     // line-height: 13px;
            // }

            .van-checkbox__icon--checked .van-icon-success {
                border-color: #4d6add;
                background: #4d6add;
            }

            // .checkedPassWord .van-icon-success::before {
            //     content: "";
            //     background: #fff;
            //     width: 40%;
            //     height: 40%;
            //     position: absolute;
            //     top: 30%;
            //     left: 30%;
            //     border-radius: 100%;
            // }

            .van-checkbox__icon--checked+.van-checkbox__label {
                color: #4d6add;
            }

            .forgetPassWord {
                cursor: pointer;
                font-size:  13px;
                line-height:  13px;
            }
        }

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

        .wechat-btn {
            width: 60px;
            height: 60px;
            margin: 0;
            padding: 0;
            border: none;
            border-radius: 50%;
            /* 将按钮样式修改为圆形 */
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .wechat-icon {
            width: 40px;
            height: 40px;
        }

        .buttonBox {
            width: 7rem;
            margin: 0.5rem auto 0 auto;
            display: flex;
            justify-content: space-between;

            .van-button {
                width: 3rem;
                // height: 34px;
                // padding: 0.5rem 0.4rem;
                border: 1px solid rgba(77, 106, 221, 1);
                background-color: rgba(77, 106, 221, 1);
            }

            .register {
                background-color: transparent;
                color: rgba(77, 106, 221, 1);
            }

        }

    }

}
:root {
    --van-width: auto;
    --van-popover-action-width: var(--van-width);
}