html,
body.login-pear {
    height: 100%;
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

.login-pear .login-page {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    box-sizing: border-box;
    padding: 0 16px 40px;
}

.login-pear .login-header {
    width: 100%;
    max-width: 1200px;
    height: 80px;
    display: flex;
    align-items: center;
}

.login-pear .login-header img {
    width: 149px;
    height: 29px;
}

.login-pear .title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px 0 40px;
    text-align: center;
}

.login-pear .title-container .title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.login-pear .title-container .title {
    font-size: 42px;
    font-weight: 700;
    color: #001643;
    margin: 0;
    line-height: 1.2;
}

.login-pear .title-container .title-linear {
    background: linear-gradient(-90deg, #a242fe 0%, #1670ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-pear .title-container .subtitle {
    font-size: 18px;
    color: #001643;
    margin: 0;
}

.login-pear .login-card {
    width: 100%;
    max-width: 1000px;
    min-height: 496px;
    display: flex;
    box-shadow: 2px 0 6px rgba(0, 21, 41, .20);
    border: 1px solid #eaeced;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.login-pear .login-left {
    flex: 1;
    position: relative;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.login-pear .login-left-copy {
    position: absolute;
    top: 50px;
    left: 56px;
    right: 20px;
    z-index: 1;
}

.login-pear .login-left-copy h2 {
    margin: 0 0 8px;
    font-size: 23px;
    font-weight: 700;
    color: #000931;
}

.login-pear .login-left-copy p {
    margin: 0;
    font-size: 12px;
    color: #6B80A7;
    line-height: 1.6;
}

.login-pear .login-bg-img {
    width: 100%;
    height: 496px;
    object-fit: cover;
    display: block;
}

.login-pear .login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 24px;
    box-sizing: border-box;
}

.login-pear .form-center-box {
    width: 100%;
    max-width: 360px;
}

.login-pear .top-log-title {
    text-align: center;
    margin-bottom: 12px;
}

.login-pear .top-log-title span {
    font-size: 26px;
    font-weight: 700;
    color: #333;
}

.login-pear .top-desc {
    text-align: center;
    font-size: 12px;
    color: #7C94BF;
    margin-bottom: 30px;
}

.login-pear .layui-form-item {
    margin-bottom: 18px;
}

.login-pear .layui-input-wrap {
    position: relative;
}

.login-pear .layui-input-prefix {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.login-pear .layui-input-prefix img {
    width: 18px;
    height: 20px;
}

.login-pear .layui-input {
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0 12px 0 40px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s;
}

.login-pear .layui-input:focus {
    border-color: #387BFB;
}

.login-pear .login-verify-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.login-pear .login-verify-row .layui-input-wrap {
    flex: 1;
}

.login-pear .login-verify-row .layui-input {
    padding-left: 12px;
}

.login-pear .login-code-img {
    width: 110px;
    height: 40px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    object-fit: cover;
}

.login-pear .login-error {
    min-height: 20px;
    margin: 8px 0 12px;
    color: #e74c3c;
    font-size: 13px;
    line-height: 1.5;
}

.login-pear .login-btn {
    margin-top: 8px;
}

.login-pear .login-btn button {
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 4px;
    background: #387BFB;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s;
}

.login-pear .login-btn button:hover {
    background: #2f6ae0;
}

.login-pear .login-extra {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-pear .login-extra-text {
    font-size: 12px;
    color: #333;
}

.login-pear .login-register-btn {
    display: inline-block;
    min-width: 88px;
    height: 36px;
    line-height: 34px;
    padding: 0 16px;
    border: 1px solid #387BFB;
    border-radius: 4px;
    background: #fff;
    color: #387BFB;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: background .2s, color .2s;
}

.login-pear .login-register-btn:hover {
    background: #387BFB;
    color: #fff;
}

@media (min-width: 992px) and (max-width: 1200px) {
    .login-pear .login-card {
        max-width: 900px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .login-pear .login-card {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .login-pear .title-container .title {
        font-size: 28px;
    }

    .login-pear .title-container {
        margin: 24px 0;
    }

    .login-pear .login-card {
        max-width: 100%;
        flex-direction: column;
        min-height: auto;
    }

    .login-pear .login-left {
        display: none;
    }

    .login-pear .login-right {
        border-radius: 10px;
    }

    .login-pear .form-center-box {
        max-width: 100%;
    }
}
