#login,
#regist,
#forget {
    min-height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
    background: #eef5ff url('/clientarea/template/pc/dianle/img/dianle/login/bg.png') center / cover no-repeat;
    color: #16233f;
}

#login::before,
#regist::before,
#forget::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(238, 245, 255, 0.9) 0%, rgba(238, 245, 255, 0.42) 46%, rgba(226, 238, 255, 0.84) 100%),
        radial-gradient(circle at 16% 82%, rgba(34, 105, 255, 0.13), transparent 26%);
}

.container-back {
    display: none !important;
}

.login-container {
    width: min(12.8rem, calc(100vw - 1.2rem));
    min-height: 6.2rem;
    height: min(6.9rem, calc(100vh - 1.35rem));
    display: grid;
    grid-template-columns: minmax(5rem, 1fr) 4.5rem;
    align-items: center;
    gap: 0.56rem;
    position: relative;
    z-index: 1;
    background: transparent;
}

.login-jump-btn {
    position: fixed;
    top: 0.32rem;
    right: 0.64rem;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.18rem;
}

.login-jump-btn .btn {
    height: 34px;
    padding: 0 18px;
    border-radius: 6px;
    border: 1px solid rgba(36, 107, 254, 0.16);
    background: rgba(255, 255, 255, 0.72);
    color: #246bfe;
    font-weight: 700;
}

.login-jump-btn .btn a {
    color: inherit;
}

.login-jump-btn .lang-box {
    display: flex;
    align-items: center;
    gap: 0.24rem;
    color: #7b879d;
    font-family: "siyuan", "PingFang SC", sans-serif;
    font-size: 14px;
}

.login-jump-btn .lang-box span {
    position: relative;
    padding: 0.08rem 0;
    cursor: pointer;
}

.login-jump-btn .lang-box span::before {
    content: none;
}

.login-jump-btn .lang-box span.active,
.login-jump-btn .lang-box span.active::before {
    color: #111827;
    font-weight: 700;
}

.login-jump-btn .lang-box span.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0.28rem;
    height: 0.03rem;
    transform: translateX(-50%);
    border-radius: 99px;
    background: #246bfe;
}

.container-before {
    display: contents;
}

.dianle-back {
    min-height: 5.1rem;
    position: relative;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.08rem 0 0 0.08rem;
    background: transparent;
}

.dianle-back .dianle-logo {
    width: 1.68rem;
    height: 0.46rem;
    margin: 0 0 0.44rem;
    display: flex;
    align-items: center;
}

.dianle-back .dianle-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.dy-auth-copy {
    position: relative;
    z-index: 2;
}

.dy-auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.08rem;
    height: 0.26rem;
    padding: 0 0.12rem;
    border: 1px solid rgba(36, 107, 254, 0.18);
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.7);
    color: #246bfe;
    font-size: 0.12rem;
    font-weight: 700;
    font-family: "siyuan", "PingFang SC", sans-serif;
}

.dy-auth-badge::before {
    content: "";
    width: 0.07rem;
    height: 0.07rem;
    border-radius: 50%;
    background: #17c3ff;
    box-shadow: 0 0 0 0.04rem rgba(23, 195, 255, 0.12);
}

.dy-auth-kicker {
    margin-top: 0.18rem;
    color: #246bfe;
    font-size: 0.14rem;
    line-height: 1.4;
    font-weight: 800;
    font-family: "siyuan", "PingFang SC", sans-serif;
}

.dy-auth-copy h1 {
    max-width: 5.05rem;
    margin: 0.08rem 0 0;
    color: #101f3f;
    font-size: 0.34rem;
    line-height: 1.22;
    font-weight: 900;
    font-family: "siyuan", "PingFang SC", sans-serif;
    letter-spacing: 0;
}

.dy-auth-copy h1 span {
    color: #246bfe;
}

.dy-auth-copy p {
    max-width: 4.72rem;
    margin: 0.13rem 0 0;
    color: #66758f;
    font-size: 0.145rem;
    line-height: 1.7;
    font-weight: 500;
    font-family: "siyuan", "PingFang SC", sans-serif;
}

.dy-auth-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1.26rem);
    gap: 0.14rem;
    margin-top: 0.27rem;
}

.dy-auth-metrics div {
    height: 0.76rem;
    position: relative;
    padding: 0.12rem 0.14rem;
    overflow: hidden;
    border: 1px solid rgba(193, 211, 238, 0.76);
    border-radius: 0.1rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 0.18rem 0.46rem rgba(70, 104, 163, 0.08);
}

.dy-auth-metrics div::after {
    content: "";
    position: absolute;
    right: -0.24rem;
    top: -0.24rem;
    width: 0.64rem;
    height: 0.64rem;
    border-radius: 50%;
    background: rgba(36, 107, 254, 0.08);
}

.dy-auth-metrics strong {
    display: block;
    color: #246bfe;
    font-size: 0.21rem;
    line-height: 1;
    font-weight: 900;
}

.dy-auth-metrics span {
    display: block;
    margin-top: 0.07rem;
    color: #6d7890;
    font-size: 0.12rem;
    font-weight: 700;
}

.dy-auth-lines {
    position: absolute;
    left: 0.28rem;
    bottom: 0.08rem;
    width: 5.28rem;
    height: 1.54rem;
    pointer-events: none;
    opacity: 0.42;
    z-index: 1;
}

.dy-auth-lines::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0.92rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(36, 107, 254, 0.22), transparent);
}

.dy-auth-lines::after {
    content: "";
    position: absolute;
    left: 1.04rem;
    top: 0.26rem;
    width: 3.6rem;
    height: 1.12rem;
    border: 1px solid rgba(36, 107, 254, 0.12);
    border-radius: 0.18rem;
    transform: skewX(-14deg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(36, 107, 254, 0.04));
}

.dy-auth-lines span {
    position: absolute;
    width: 0.78rem;
    height: 0.52rem;
    border: 1px solid rgba(36, 107, 254, 0.16);
    border-radius: 0.1rem;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 0.18rem 0.46rem rgba(70, 104, 163, 0.09);
}

.dy-auth-lines span::before {
    content: "";
    position: absolute;
    left: 0.14rem;
    top: 0.14rem;
    width: 0.28rem;
    height: 0.04rem;
    border-radius: 99px;
    background: #246bfe;
    box-shadow: 0 0.1rem 0 rgba(36, 107, 254, 0.18);
}

.dy-auth-lines span:nth-child(1) {
    left: 0.3rem;
    top: 0.82rem;
}

.dy-auth-lines span:nth-child(2) {
    left: 2.38rem;
    top: 0.32rem;
}

.dy-auth-lines span:nth-child(3) {
    right: 0.44rem;
    top: 1.04rem;
}

.dy-auth-lines i {
    position: absolute;
    width: 0.08rem;
    height: 0.08rem;
    border-radius: 50%;
    background: #17c3ff;
    box-shadow: 0 0 0 0.06rem rgba(23, 195, 255, 0.12);
}

.dy-auth-lines i:nth-of-type(1) {
    left: 1.84rem;
    top: 1.04rem;
}

.dy-auth-lines i:nth-of-type(2) {
    left: 4.44rem;
    top: 0.8rem;
}

.login {
    width: 4.5rem;
    max-height: calc(100vh - 1.2rem);
    padding: 0.38rem 0.38rem 0.34rem;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid rgba(208, 222, 243, 0.88);
    border-radius: 0.12rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0.24rem 0.72rem rgba(51, 85, 148, 0.16);
    box-sizing: border-box;
    font-size: 14px;
    font-family: "siyuan", "PingFang SC", sans-serif;
    line-height: 1.4;
}

.login::-webkit-scrollbar {
    width: 5px;
}

.login::-webkit-scrollbar-thumb {
    border-radius: 99px;
    background: rgba(36, 107, 254, 0.24);
}

.login-text {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.26rem;
    padding-right: 0.52rem;
}

.login-text-title {
    color: #111827;
    font-size: 0.26rem;
    line-height: 1.25;
    font-weight: 900;
    font-family: "siyuan", "PingFang SC", sans-serif;
}

.login-text-regist {
    margin-top: 0.08rem;
    color: #7b879d;
    font-size: 0.13rem;
    line-height: 1.5;
    font-family: "siyuan", "PingFang SC", sans-serif;
}

.login-text-regist a,
.rember-item a,
.read-item a {
    color: #246bfe !important;
    cursor: pointer;
    font-weight: 700;
}

.login-form {
    margin-top: 0;
}

.login-top {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.28rem;
    height: 0.4rem;
    margin-bottom: 0.18rem;
    border-bottom: 1px solid #e7edf8;
}

.login-email,
.login-phone {
    position: relative;
    height: 0.4rem;
    color: #7b879d;
    font-size: 0.15rem;
    line-height: 1.4;
    font-weight: 700;
    cursor: pointer;
}

.login-email {
    margin-right: 0;
}

.login-phone {
    margin-left: 0;
}

.active {
    color: #246bfe;
    border-bottom: 0;
}

.active::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 0.03rem;
    border-radius: 99px 99px 0 0;
    background: #246bfe;
}

.form-main {
    margin-top: 0;
}

.form-item {
    margin-top: 0.16rem;
}

.custom-form {
    margin-top: 0.16rem;
}

.custom-form .el-form-item {
    margin-bottom: 0.16rem;
}

.custom-form .el-form-item__label {
    padding-bottom: 0.08rem;
    color: #34415b;
    font-size: 0.13rem;
    line-height: 1.2;
    font-weight: 700;
}

.custom-form .el-select {
    width: 100%;
}

.el-input__inner,
.el-textarea__inner {
    height: 0.46rem;
    line-height: 0.46rem;
    border: 1px solid #d9e2f1;
    border-radius: 0.06rem;
    background: #fff;
    color: #111827;
    font-family: "siyuan", "PingFang SC", sans-serif;
    font-size: 0.14rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.el-textarea__inner {
    height: auto;
    min-height: 0.86rem !important;
    line-height: 1.5;
}

.el-input__inner:hover,
.el-textarea__inner:hover {
    border-color: #b9c9e6;
}

.el-input__inner:focus,
.el-textarea__inner:focus {
    border-color: #246bfe;
    box-shadow: 0 0 0 3px rgba(36, 107, 254, 0.12);
}

.input-with-select .el-input-group__prepend {
    width: 0.74rem;
    border-color: #d9e2f1;
    border-radius: 0.06rem 0 0 0.06rem;
    background: #fff;
}

.input-with-select .el-input__inner {
    border-radius: 0 0.06rem 0.06rem 0;
}

.code-item {
    position: relative;
    display: block;
}

.code-item .el-input__inner {
    padding-right: 1.1rem;
}

.code-item .el-button--primary {
    position: absolute;
    right: 0.14rem;
    top: 50%;
    min-width: 0;
    height: auto;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #246bfe;
    font-size: 0.13rem;
    font-weight: 700;
}

.el-button--primary {
    border-color: transparent;
    background: #246bfe;
}

.login-btn,
.el-button.login-btn {
    width: 100%;
    height: 0.46rem;
    margin-top: 0.08rem;
    border: 0;
    border-radius: 0.06rem;
    background: #246bfe;
    box-shadow: 0 0.12rem 0.24rem rgba(36, 107, 254, 0.24);
    color: #fff;
    font-size: 0.15rem;
    font-weight: 800;
    font-family: "siyuan", "PingFang SC", sans-serif;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.login-btn:hover,
.el-button.login-btn:hover,
.login-btn:focus,
.el-button.login-btn:focus {
    border: 0;
    background: #1d5fff;
    box-shadow: 0 0.16rem 0.28rem rgba(36, 107, 254, 0.28);
    transform: translateY(-1px);
}

.pass-btn {
    width: 100%;
    height: 0.4rem;
    margin: 0.12rem 0 0 !important;
    border-radius: 0.06rem;
    border-color: #d9e2f1;
    background: #fff;
    color: #34415b;
    font-weight: 700;
}

.rember-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.14rem;
    color: #69758c;
    font-size: 0.13rem;
    font-family: "siyuan", "PingFang SC", sans-serif;
}

.read-item {
    margin-top: 0.16rem;
}

.read-text {
    flex: inherit;
    padding: 0 0 0 0.08rem;
    color: #69758c;
    font-family: "siyuan", "PingFang SC", sans-serif;
    font-size: 0.13rem;
    font-weight: 500;
    line-height: 1.7;
}

.dianle-position {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.02rem;
    margin-top: 0.18rem;
}

.dianle-position .el-checkbox {
    line-height: 1.4;
}

.dianle-position .el-checkbox__label {
    color: #69758c;
    font-family: "siyuan", "PingFang SC", sans-serif;
    font-size: 0.13rem;
    line-height: 1.7;
}

.el-checkbox__inner {
    width: 14px;
    height: 14px;
    border-color: #ccd6e7;
    border-radius: 2px;
    background: #fff;
}

.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: #246bfe;
    border-color: #246bfe;
}

.el-alert {
    border-radius: 0.08rem;
}

.line-item {
    margin-top: 0.24rem;
}

.line-item .el-divider__text {
    color: #9aa6ba;
    background: #fff;
}

.login-type {
    display: flex;
    justify-content: center;
    gap: 0.14rem;
}

.oauth-item {
    width: 0.4rem;
    height: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9e2f1;
    border-radius: 0.06rem;
    background: #fff;
    cursor: pointer;
}

.oauth-img {
    width: 0.22rem;
    height: 0.22rem;
}

.login .qr-code {
    position: absolute;
    right: 0.28rem;
    top: 0.32rem;
    width: 0.42rem;
    height: 0.42rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #dce7fb;
    border-radius: 0.08rem;
    background: #f6f9ff;
    cursor: pointer;
}

.login .qr-code svg {
    width: 0.3rem;
    height: 0.3rem;
}

.login .qr-code svg path,
.login .qr-code .login-icon path {
    fill: #246bfe;
}

.qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
}

.qr-box-img {
    width: 2rem;
    height: 2rem;
    position: relative;
    padding: 0.1rem;
    border: 1px solid #e7edf8;
    border-radius: 0.12rem;
    background: #fff;
}

.qr-box-img img {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.qr-box-tips {
    margin-top: 0.14rem;
    color: #69758c;
    text-align: center;
}

.qr-expire-time {
    position: absolute;
    inset: 0.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.08rem;
    border-radius: 0.08rem;
    background: rgba(17, 24, 39, 0.62);
    color: #fff;
    cursor: pointer;
}

.qr-box-select-account {
    padding: 0.22rem;
    border: 1px solid #e7edf8;
    border-radius: 0.12rem;
    background: #fff;
}

.qr-box-back {
    margin-bottom: 0.18rem;
    color: #246bfe;
    cursor: pointer;
}

.empty-input {
    display: none;
}

@media screen and (max-width: 1200px) {
    .login-container {
        width: min(10.6rem, calc(100vw - 0.56rem));
        grid-template-columns: 1fr 4.32rem;
        gap: 0.36rem;
    }

    .dy-auth-metrics {
        grid-template-columns: repeat(3, 1.28rem);
    }

    .dy-auth-lines {
        width: 5rem;
        opacity: 0.56;
    }
}

@media screen and (max-width: 768px) {
    #login,
    #regist,
    #forget {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        background: #eef5ff url('/clientarea/template/pc/dianle/dianle/img/yidong_back.webp') center / cover no-repeat;
    }

    .login-container {
        width: 100%;
        min-height: 100vh;
        height: auto;
        display: block;
        padding: 0.2rem;
        box-sizing: border-box;
    }

    .login-jump-btn {
        display: none;
    }

    .dianle-back {
        min-height: auto;
        padding: 0;
        text-align: center;
    }

    .dianle-back .dianle-logo {
        width: 1.75rem;
        height: 0.46rem;
        margin: 0.18rem auto 0.18rem;
    }

    .dy-auth-copy {
        display: none;
    }

    .dy-auth-lines {
        display: none;
    }

    .login {
        width: 100%;
        max-height: none;
        padding: 0.28rem 0.22rem;
        border-radius: 0.14rem;
    }

    .login-text {
        margin-bottom: 0.2rem;
        padding-right: 0.48rem;
    }

    .login-text-title {
        font-size: 0.24rem;
    }

    .login-top {
        height: 0.4rem;
        gap: 0.24rem;
    }

    .login-email,
    .login-phone {
        font-size: 0.15rem;
    }

    .el-input__inner {
        height: 42px;
        line-height: 42px;
        font-size: 13px;
    }

    .form-item,
    .custom-form,
    .read-item {
        margin-top: 14px;
    }

    .login-btn,
    .el-button.login-btn {
        height: 44px;
        font-size: 14px;
    }

    .rember-item,
    .login-text-regist,
    .read-text,
    .dianle-position .el-checkbox__label {
        font-size: 12px;
    }

    .login .qr-code {
        right: 0.2rem;
        top: 0.24rem;
        width: 0.4rem;
        height: 0.4rem;
    }
}
