/* 新版登录框样式：由前端稿 2026-10-28 webset(1).css 转换而来
   （PC 断点这版也改成 rem，1rem=100px@1920，和页面 reset.css 的 html font-size 一致）。
   转换规则：选择器统一加 .loginbox-v2 前缀；.mask/.popup 改名 .loginbox-mask/.loginbox-popup，
   避开活动页 closePopup() 里的全局 $(".mask")/$(".popup")；切图路径 ./Public/image/ → ./image/。
   稿子里的全局 reset（*、a、input）不搬，页面 reset.css 已有。 */

.loginbox-v2 input {
    outline: 0;
}

.loginbox-v2 .input-bg .code-yz.disabled {
    opacity: .5;
    cursor: default;
}

/* 底部这行稿子里是「忘记密码 + 去注册」两端对齐，现在只放开一个链接，
   用 margin-left:auto 把它顶到最右，将来补回忘记密码仍然成立。 */
.loginbox-v2 .login-bottom>a {
    margin-left: auto;
}

@media (min-width: 769px) {

    .loginbox-v2 .loginbox-mask {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
    }

    .loginbox-v2 .loginbox-popup {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1000;
    }

    .loginbox-v2 .popup-detail {
        background: url(./image/popup-login.png);
        background-size: 100% 100%;
        width: 5.9933rem;
        height: 4.1467rem;
        padding-top: .7333rem;
        text-align: center;
    }

    .loginbox-v2 .detail-close {
        position: absolute;
        right: .1067rem;
        top: .28rem;
        font-size: .2267rem;
        opacity: 0;
    }


    .loginbox-v2 .login-top {
        display: none;
        align-items: center;
        justify-content: space-between;
        width: 2.9333rem;
        margin: auto;
        position: relative;
    }

    .loginbox-v2 .login-top:nth-child(1)::after {
        content: "";
        position: absolute;
        left: 47%;
        background: url(./image/line.png);
        background-size: 100% 100%;
        width: .1333rem;
        height: .3133rem;
        transform: translate(-50%);
        top: -0.0133rem;
    }

    .loginbox-v2 .login-top:nth-child(2)::after {
        content: "";
        position: absolute;
        left: 47%;
        background: url(./image/line.png);
        background-size: 100% 100%;
        width: .1333rem;
        height: .3133rem;
        transform: translate(-50%);
        top: -0.0133rem;
    }

    .loginbox-v2 .login-top.three {
        width: .9333rem;
    }

    .loginbox-v2 .login-top.show {
        display: flex;
    }

    .loginbox-v2 .login-top>a {
        display: inline-block;
        color: #f7d1fd;
        font-size: .2rem;
        font-weight: 700;
    }

    .loginbox-v2 .login-top>span {
        display: inline-block;
        color: #f9e1a0;
        font-size: .2rem;
        font-weight: 700;
    }

    .loginbox-v2 .login-top>a.geted {
        color: #f9e1a0;
    }

    .loginbox-v2 .login-block {
        width: 5.1rem;
        margin: auto;
        margin-top: .3333rem;
        display: none;
    }

    .loginbox-v2 .login-block.show {
        display: block;
    }

    .loginbox-v2 .input-bg {
        background: url(./image/login-bg.png);
        background-size: 100% 100%;
        width: 5.1rem;
        height: .4rem;
        margin-bottom: .16rem;
        display: flex;
        align-items: center;
    }

    .loginbox-v2 .icon-phone {
        width: .5rem;
        height: .4rem;
        margin-right: .3333rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .loginbox-v2 .icon-phone img {
        width: .14rem;
        height: .2133rem;
    }

    .loginbox-v2 .icon-posw {
        width: .5rem;
        height: .4rem;
        margin-right: .3333rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .loginbox-v2 .icon-posw img {
        width: .16rem;
        height: .2133rem;
    }

    .loginbox-v2 .input-bg>input {
        width: 3.3333rem;
        color: #f7d1fd;
        font-size: .1067rem;
        background: none;
    }

    .loginbox-v2 .input-bg .code-yz {
        color: #f9a33d;
        font-size: .1067rem;
    }

    .loginbox-v2 .input-bg .code-img {
        width: .8rem;
        height: .2933rem;
        margin-left: auto;
        margin-right: .1333rem;
        cursor: pointer;
        border-radius: .0267rem;
    }

    .loginbox-v2 .labe-text {
        width: 5.1rem;
        margin: auto;
        display: flex;
        align-items: center;
    }

    .loginbox-v2 .labe-text>input {
        margin-right: .0267rem;
        width: .12rem;
        height: .12rem;
    }

    .loginbox-v2 .checkbox-text {
        color: #f7d1fd;
        font-size: .1067rem;
    }

    .loginbox-v2 .checkbox-text a {
        color: #f1df43;
    }

    .loginbox-v2 .btn-flex {
        text-align: center;
    }

    .loginbox-v2 .btn-confirm {
        display: inline-block;
        background: url(./image/btn-confirm.png);
        background-size: 100% 100%;
        width: 1.2267rem;
        height: .2867rem;
        margin-top: .2333rem;
    }

    .loginbox-v2 .login-bottom {
        /* 稿子是 4.3867rem，比输入条窄；改成和输入条同宽，右端才能对齐 */
        width: 5.1rem;
        margin: auto;
        display: none;
        justify-content: space-between;
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        bottom: .2333rem;
    }

    .loginbox-v2 .login-bottom.show {
        display: flex;
    }

    .loginbox-v2 .login-bottom>a {
        color: #f7d1fd;
        font-size: .1067rem;
    }

    .loginbox-v2 .popup-qf {
        background: url(./image/popup-js.png);
        background-size: 100% 100%;
        width: 5.9933rem;
        height: 4.1467rem;
        padding-top: 1.2667rem;
        text-align: center;
    }

    .loginbox-v2 .detail-close {
        position: absolute;
        right: .1067rem;
        top: .28rem;
        font-size: .2267rem;
        opacity: 0;
    }

    .loginbox-v2 .custom-select {
        margin: auto;
        width: 5.1rem;
        height: .4rem;
        background-color: #2e1c49;
        font-size: .1067rem;
        color: #f7d1fd;
        position: relative;
    }

    .loginbox-v2 .select-trigger {
        width: 100%;
        height: 100%;
        background: #2e1c49;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 .2667rem;
    }

    .loginbox-v2 .select-trigger {
        width: 100%;
        height: 100%;
        background: #2e1c49;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 .2667rem;
    }

    .loginbox-v2 .select-trigger-flex {
        display: flex;
        align-items: center;
    }

    .loginbox-v2 .select-trigger-flex>span:nth-child(2) {
        margin: 0 0 .0333rem .0667rem;
    }

    .loginbox-v2 .select-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #542b77;
        list-style: none;
        margin: 0;
        padding: 0;
        display: none;
        max-height: 1.2rem;
        overflow-y: auto;
    }

    .loginbox-v2 .select-dropdown li {
        padding: 0rem .08rem;
        cursor: pointer;
        height: .4rem;
        line-height: .4rem;
        color: #fff;
    }

    .loginbox-v2 .select-dropdown li:hover {
        background: #9351a9;
    }

    .loginbox-v2 .custom-select.open .select-dropdown {
        display: block;
    }

    .loginbox-v2 .popup-qf .btn-confirm {
        margin-top: 1.4667rem;
    }

}

@media (max-width: 768px) {
    .loginbox-v2 .loginbox-mask {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
    }

    .loginbox-v2 .loginbox-popup {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1000;
    }

    .loginbox-v2 .popup-detail {
        background: url(./image/popup-login.png);
        background-size: 100% 100%;
        width: 17.98rem;
        height: 12.44rem;
        padding-top: 2.2rem;
        text-align: center;
    }

    .loginbox-v2 .detail-close {
        position: absolute;
        right: .32rem;
        top: .84rem;
        font-size: .68rem;
        opacity: 0;
    }


    .loginbox-v2 .login-top {
        display: none;
        align-items: center;
        justify-content: space-between;
        width: 8.8rem;
        margin: auto;
        position: relative;
    }

    .loginbox-v2 .login-top:nth-child(1)::after {
        content: "";
        position: absolute;
        left: 47%;
        background: url(./image/line.png);
        background-size: 100% 100%;
        width: .4rem;
        height: .94rem;
        transform: translate(-50%);
        top: -0.04rem;
    }

    .loginbox-v2 .login-top:nth-child(2)::after {
        content: "";
        position: absolute;
        left: 47%;
        background: url(./image/line.png);
        background-size: 100% 100%;
        width: .4rem;
        height: .94rem;
        transform: translate(-50%);
        top: -0.04rem;
    }

    .loginbox-v2 .login-top.three {
        width: 2.8rem;
    }

    .loginbox-v2 .login-top.show {
        display: flex;
    }

    .loginbox-v2 .login-top>a {
        display: inline-block;
        color: #f7d1fd;
        font-size: .6rem;
        font-weight: 700;
    }

    .loginbox-v2 .login-top>span {
        display: inline-block;
        color: #f9e1a0;
        font-size: .6rem;
        font-weight: 700;
    }

    .loginbox-v2 .login-top>a.geted {
        color: #f9e1a0;
    }

    .loginbox-v2 .login-block {
        width: 15.3rem;
        margin: auto;
        margin-top: 1rem;
        display: none;
    }

    .loginbox-v2 .login-block.show {
        display: block;
    }

    .loginbox-v2 .input-bg {
        background: url(./image/login-bg.png);
        background-size: 100% 100%;
        width: 15.3rem;
        height: 1.2rem;
        margin-bottom: .48rem;
        display: flex;
        align-items: center;
    }

    .loginbox-v2 .icon-phone {
        width: 1.5rem;
        height: 1.2rem;
        margin-right: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .loginbox-v2 .icon-phone img {
        width: .42rem;
        height: .64rem;
    }

    .loginbox-v2 .icon-posw {
        width: 1.5rem;
        height: 1.2rem;
        margin-right: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .loginbox-v2 .icon-posw img {
        width: .48rem;
        height: .64rem;
    }

    .loginbox-v2 .input-bg>input {
        width: 10rem;
        color: #f7d1fd;
        font-size: .32rem;
        background: none;
    }

    .loginbox-v2 .input-bg .code-yz {
        color: #f9a33d;
        font-size: .32rem;
    }

    .loginbox-v2 .input-bg .code-img {
        width: 2.6rem;
        height: .84rem;
        margin-left: auto;
        margin-right: .2rem;
        cursor: pointer;
        border-radius: .08rem;
    }

    .loginbox-v2 .labe-text {
        width: 15.3rem;
        ;
        margin: auto;
        display: flex;
        align-items: center;
    }

    .loginbox-v2 .labe-text>input {
        margin-right: .08rem;
        width: .5rem;
        height: .5rem;
    }

    .loginbox-v2 .checkbox-text {
        color: #f7d1fd;
        font-size: .32rem;
    }

    .loginbox-v2 .checkbox-text a {
        color: #f1df43;
    }

    .loginbox-v2 .btn-flex {
        text-align: center;
    }

    .loginbox-v2 .btn-confirm {
        display: inline-block;
        background: url(./image/btn-confirm.png);
        background-size: 100% 100%;
        width: 3.68rem;
        height: .86rem;
        margin-top: .7rem;
    }

    .loginbox-v2 .login-bottom {
        /* 同上：和输入条（15.3rem）同宽 */
        width: 15.3rem;
        margin: auto;
        display: none;
        justify-content: space-between;
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        bottom: .7rem;
    }

    .loginbox-v2 .login-bottom.show {
        display: flex;
    }

    .loginbox-v2 .login-bottom>a {
        color: #f7d1fd;
        font-size: .32rem;
    }

    .loginbox-v2 .popup-qf {
        background: url(./image/popup-js.png);
        background-size: 100% 100%;
        width: 17.98rem;
        height: 12.44rem;
        padding-top: 3.8rem;
        text-align: center;
    }

    .loginbox-v2 .detail-close {
        position: absolute;
        right: .32rem;
        top: .84rem;
        font-size: .68rem;
        opacity: 0;
    }

    .loginbox-v2 .custom-select {
        margin: auto;
        width: 15.3rem;
        height: 1.2rem;
        background-color: #2e1c49;
        font-size: .32rem;
        color: #f7d1fd;
        position: relative;
    }

    .loginbox-v2 .select-trigger {
        width: 100%;
        height: 100%;
        background: #2e1c49;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 .8rem;
    }

    .loginbox-v2 .select-trigger {
        width: 100%;
        height: 100%;
        background: #2e1c49;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 .8rem;
    }

    .loginbox-v2 .select-trigger-flex {
        display: flex;
        align-items: center;
    }

    .loginbox-v2 .select-trigger-flex>span:nth-child(2) {
        margin: 0 0 .1rem .2rem;
    }

    .loginbox-v2 .select-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #542b77;
        list-style: none;
        margin: 0;
        padding: 0;
        display: none;
        max-height: 3.6rem;
        overflow-y: auto;
    }

    .loginbox-v2 .select-dropdown li {
        padding: 0rem .24rem;
        cursor: pointer;
        height: 1.2rem;
        line-height: 1.2rem;
        color: #fff;
    }

    .loginbox-v2 .select-dropdown li:hover {
        background: #9351a9;
    }

    .loginbox-v2 .custom-select.open .select-dropdown {
        display: block;
    }

    .loginbox-v2 .popup-qf .btn-confirm {
        margin-top: 4.4rem;
    }


    .layui-layer-msg {
        min-width: 3.6rem !important;
    }

    .layui-layer-dialog .layui-layer-padding {
        padding: .4rem .4rem .4rem 1.1rem !important;
        line-height: .48rem !important;
        font-size: .28rem !important;
    }

    .layui-layer-dialog .layui-layer-content .layui-layer-ico {
        top: .32rem !important;
        left: .3rem !important;
        width: .6rem !important;
        height: .6rem !important;
    }

    .layui-layer-ico.layui-layer-ico1 {
        background-size: 4.2rem;
        background-position: -0.6rem 0;
    }

    .layui-layer-ico.layui-layer-ico2 {
        background-size: 4.2rem;
        background-position: -1.2rem 0;
    }

    .layui-layer-ico.layui-layer-ico3 {
        background-size: 4.2rem;
        background-position: -1.8rem 0;
    }

    .layui-layer-ico.layui-layer-ico4 {
        background-size: 4.2rem;
        background-position: -2.4rem 0;
    }

    .layui-layer-ico.layui-layer-ico5 {
        background-size: 4.2rem;
        background-position: -3rem 0;
    }

    .layui-layer-ico.layui-layer-ico6 {
        background-size: 4.2rem;
        background-position: -3.6rem 0;
    }

    .layui-layer-ico.layui-layer-ico7 {
        background-size: 4.2rem;
        background-position: 0rem 0;
    }

}