.login-card {
    position: relative;
    margin-top: 90px !important;
    padding: 30px 32px 28px !important;
    border-color: #e3e8e5;
    border-radius: 10px !important;
    background: #ffffff;
    box-shadow: 0 12px 36px rgba(28, 55, 42, 0.08);
}

.login-heading {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 32px;
    display: flex;
    width: auto;
    max-width: calc(100% - 64px);
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
    transform: translateY(-50%);
    align-items: center;
    justify-content: flex-start;
    background: #ffffff;
    text-align: left;
}

.login-heading-icon {
    display: flex;
    width: 38px;
    height: 38px;
    margin-right: 8px;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    border-radius: 14px;
    background: #07c160;
    box-shadow: 0 6px 18px rgba(7, 193, 96, 0.2);
}

.login-heading-icon svg {
    width: 30px;
    height: 30px;
}

.login-heading-account {
    display: none;
}

.login-heading-icon.is-account {
    background: #576b95;
    box-shadow: 0 6px 18px rgba(87, 107, 149, 0.2);
}

.login-heading-icon.is-account .login-heading-wechat {
    display: none;
}

.login-heading-icon.is-account .login-heading-account {
    display: block;
}

.space-login-title {
    margin: 0;
    color: #27513d;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
}

.login-subtitle {
    margin: 2px 0 0;
    color: #7a8881;
    font-size: 12px;
    line-height: 15px;
}

.login-tabs {
    display: flex;
    width: 100%;
    max-width: 360px;
    margin: 24px auto 22px;
    padding: 4px;
    box-sizing: border-box;
    border-radius: 9px;
    background: #f2f5f3;
}

.login-tab {
    width: 50%;
    height: 38px;
    border: 0;
    border-radius: 7px;
    outline: none;
    background: transparent;
    color: #6f7c76;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.login-tab:hover {
    color: #16894d;
}

.login-tab.is-active {
    background: #ffffff;
    color: #078f48;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(24, 57, 40, 0.1);
}

.space-login {
    height: auto;
}

.pwd-login {
    display: none;
    max-width: 650px;
    margin: 0 auto;
    padding-top: 12px;
}

.pwd-login form {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.wx-login-content {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.wx-login-div {
    position: relative;
    width: 214px;
    height: 214px;
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #dfe7e2;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(30, 63, 46, 0.08);
    text-align: center;
}

.wx-login-div:before,
.wx-login-div:after {
    position: absolute;
    z-index: 1;
    width: 22px;
    height: 22px;
    border-color: #07c160;
    border-style: solid;
    content: "";
    pointer-events: none;
}

.wx-login-div:before {
    top: 8px;
    left: 8px;
    border-width: 2px 0 0 2px;
    border-radius: 6px 0 0;
}

.wx-login-div:after {
    right: 8px;
    bottom: 8px;
    border-width: 0 2px 2px 0;
    border-radius: 0 0 6px;
}

.wx-login-qr {
    display: block;
    width: 182px;
    height: 182px;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.wx-login-div.is-loading .wx-login-qr,
.wx-login-div.is-error .wx-login-qr,
.wx-login-div.is-scanned .wx-login-qr {
    opacity: 0.08;
}

.qr-loading,
.qr-scanned,
.qr-refresh {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: none;
    width: 150px;
    transform: translate(-50%, -50%);
    align-items: center;
    justify-content: center;
}

.wx-login-div.is-loading .qr-loading,
.wx-login-div.is-scanned .qr-scanned {
    display: flex;
}

.qr-loading {
    flex-direction: column;
    color: #75827b;
    font-size: 13px;
}

.qr-loading-spinner {
    width: 24px;
    height: 24px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: 2px solid #d9e7df;
    border-top-color: #07c160;
    border-radius: 50%;
    animation: login-loading 0.8s linear infinite;
}

@keyframes login-loading {
    to {
        transform: rotate(360deg);
    }
}

.qr-scanned {
    flex-direction: column;
    color: #078f48;
}

.qr-scanned-mark {
    display: flex;
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e9f8f0;
    font-size: 25px;
    font-weight: 600;
}

.qr-refresh {
    height: 38px;
    border: 0;
    border-radius: 7px;
    background: #07c160;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
}

.wx-login-div.is-error .qr-refresh {
    display: block;
}

.wx-msg {
    margin-top: 15px;
    text-align: center;
}

.wx-msg-title {
    display: block;
    color: #1e3027;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
}

.wx-msg-detail {
    display: block;
    margin-top: 3px;
    color: #7a8881;
    font-size: 13px;
    line-height: 20px;
}

.login-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 0;
    padding: 0;
    color: #52645a;
    list-style: none;
}

.login-steps li {
    display: flex;
    align-items: center;
    font-size: 13px;
    white-space: nowrap;
}

.login-steps li:not(:last-child):after {
    margin: 0 12px;
    color: #b8c3bd;
    content: "›";
    font-size: 18px;
}

.login-step-index {
    display: inline-flex;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf7f1;
    color: #078f48;
    font-size: 12px;
    font-weight: 600;
}

.login-assurance {
    margin-top: 22px;
    padding: 15px 18px;
    border: 1px solid #e3eee8;
    border-radius: 9px;
    background: #f8fbf9;
}

.login-assurance-title {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #27513d;
    font-size: 14px;
    font-weight: 600;
}

.login-shield {
    display: inline-flex;
    width: 20px;
    height: 20px;
    margin-right: 7px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #07c160;
    color: #ffffff;
}

.login-shield svg {
    display: block;
    width: 12px;
    height: 12px;
}

.login-shield path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-assurance-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 8px 0 0;
    padding: 0;
    color: #718078;
    list-style: none;
    font-size: 12px;
    line-height: 20px;
}

.login-assurance-list li {
    margin: 0 9px 4px;
}

.login-assurance-list li:before {
    margin-right: 5px;
    color: #07a852;
    content: "✓";
}

.layui-form-item {
    margin-bottom: 30px;
}

.pwd-login .layui-input {
    border-color: #dbe3df;
    border-radius: 5px;
}

.pwd-login .layui-form-item .layui-input-inline {
    width: 300px;
}

.pwd-login .layui-form-item:first-child .layui-inline + .layui-inline {
    margin-top: 12px;
}

.pwd-login .layui-btn {
    border-radius: 5px;
    background: #07a852;
}

.login-msg {
    cursor: pointer;
    font-size: 12px;
    padding: 0 10px;
    vertical-align: bottom;
}

.pwd-login-note {
    margin: -6px 0 0;
    color: #849189;
    font-size: 12px;
    text-align: center;
}

@media screen and (max-width: 560px) {
    .login-card {
        margin-top: 51px !important;
        padding: 0px 0px 22px !important;
        border-right: 0;
        border-left: 0;
        border-radius: 0 !important;
        box-shadow: none;
    }

    .login-heading {
        left: 16px;
        max-width: calc(100% - 32px);
        padding: 0 10px;
        display: none;
    }

    .login-heading-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .space-login-title {
        font-size: 20px;
    }

    .login-tabs {
        margin-top: 20px;
    }

    .login-steps li:not(:last-child):after {
        margin: 0 7px;
    }

    .login-assurance-list li {
        margin: 3px 0 0;
    }
}

@media screen and (max-width: 767px) {
    .view-item .layui-form-item .layui-input-inline {
        display: flex;
        margin-left: inherit;
        width: 300px !important;
    }
}

.view-item .layui-form-label {
    width: 48px;
    padding: 9px 10px;
    padding-left: 2px;
}

.view-item .layui-input-block {
    margin-left: 60px;
}