﻿html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

.login_page {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 28% 22%, #e8f1ff 0%, #eef3fb 48%, #f7f9fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login_page::before,
.login_page::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.login_page::before {
    width: 420px;
    height: 420px;
    left: -120px;
    top: -80px;
    background: rgba(51, 112, 255, 0.08);
}

.login_page::after {
    width: 360px;
    height: 360px;
    right: -100px;
    bottom: -90px;
    background: rgba(107, 191, 255, 0.12);
}

/* 方案B：左右分栏卡片 */
#main_div {
    width: 760px;
    height: 460px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 36px rgba(31, 35, 41, 0.10);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#DIV_Left {
    height: 100%;
    width: 300px;
    float: left;
    position: relative;
    overflow: hidden;
    background: #2882FD;
}

#DIV_Left > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.div_left_one {
    height: 100%;
    width: 100%;
    background-size: cover;
}

.div_left_two {
    height: 100%;
    width: 100%;
    position: absolute;
    background-image: linear-gradient(160deg, #4a90fe 0%, #3370ff 55%, #6bbfff 100%);
    top: 0;
    left: 0;
    opacity: 0.88;
}

.div_left_three {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    text-align: center;
    color: #fff !important;
    box-sizing: border-box;
    padding: 0 24px;
}

#logo_icon {
    width: 40px;
    height: auto;
    margin: 140px auto 14px;
    display: block;
    object-fit: contain;
}

.div_left_three h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1.5px;
    line-height: 1.4;
    color: #fff;
}

.div_left_three h6 {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
    text-indent: 0;
}

#DIV_right {
    height: 100%;
    width: calc(100% - 300px);
    float: left;
    position: relative;
    overflow: hidden;
    background: #fff;
}

#login_form {
    height: 100%;
    width: 100%;
    margin: 0;
    position: relative;
}

#main_panel {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.qr_wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 300px;
    margin-left: -150px;
    margin-top: -175px;
    text-align: center;
}

.login_form_top {
    width: 100%;
    text-align: center;
    margin: 0 0 8px;
}

.login_form_top p {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #1f2329;
    line-height: 1.3;
}

.login_form_tip {
    width: 100%;
    text-align: center;
    color: #8f959e;
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 18px;
}

.login_form_down {
    width: 100%;
    text-align: center;
    overflow: visible;
}

/*
 * 不裁剪：iframe 按飞书扫码页完整尺寸渲染，
 * 再用 transform 等比缩进框内，二维码完整可见。
 */
#login_container {
    display: block;
    width: 240px;
    height: 240px;
    margin: 0 auto;
    line-height: 0;
    overflow: hidden;
    position: relative;
    border: 1px solid #e5e6eb;
    border-radius: 8px;
    box-sizing: border-box;
    background: #fff;
}

#login_container iframe {
    border: none !important;
    width: 300px !important;
    height: 380px !important;
    overflow: hidden !important;
    display: block;
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    margin: 0 0 0 -150px !important;
    padding: 0 !important;
    -webkit-transform: scale(0.63) !important;
    transform: scale(0.63) !important;
    -webkit-transform-origin: top center !important;
    transform-origin: top center !important;
}

.login_footer_tip {
    margin: 14px 0 0;
    font-size: 12px;
    color: #bbbfc4;
    line-height: 1.4;
}

#lodehids {
    text-align: center;
    width: 100%;
    display: none;
    margin-top: 8px;
}

.showdilog_div {
    position: absolute;
    color: white;
    bottom: 21px;
    left: calc(50% - 75.7px);
    background-color: #FF5722;
    width: 151.8px;
    height: 48px;
    text-align: center;
    line-height: 25px;
}

.boderred {
    border-color: red !important;
}
