/* ============================================================
   微信扫码登录 / 注册页
   ============================================================ */

/* 页面主体：全屏白色底 + 青/黄绿装饰块 */
.iti-qrlogin-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
}



/* 主体区域 */
.iti-qrlogin-section {
    position: relative;
    background: url(/assets/images/home/sekuai2.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom -190% left 0%;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 120px;
}

/* 登录卡片 */
.iti-qrlogin-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(15, 31, 61, .12);
    padding: 46px 40px 50px;
    text-align: center;
}

/* 卡片内 ITI logo */
.iti-qrlogin-logo {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.iti-qrlogin-title {
    font-size: 26px;
    font-weight: 800;
    color: #0F1F3D;
    margin: 0 0 10px;
}

.iti-qrlogin-sub {
    font-size: 15px;
    color: #6b7689;
    margin: 0 0 12px;
    line-height: 1.5;
}

.iti-qrlogin-tip {
    display: inline-block;
    background: #F4F6F8;
    color: #8a93a6;
    font-size: 12px;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 28px;
}

/* 二维码区域 */
.iti-qrlogin-frame {
    width: 200px;
    height: 200px;
    margin: 0 auto 14px;
    border: 1px solid #E8EBF0;
    border-radius: 16px;
    padding: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 31, 61, .06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.iti-qrlogin-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

/* 动态二维码容器 */
#qrLoginBox {
    width: 176px;
    height: 176px;
    line-height: 0;
}
#qrLoginBox img,
#qrLoginBox canvas {
    width: 176px !important;
    height: 176px !important;
}

/* 二维码状态提示 */
.iti-qrlogin-hint {
    margin: 0 0 28px;
    font-size: 13px;
    color: #8a93a6;
    min-height: 18px;
}

/* 操作步骤 */
.iti-qrlogin-steps-title {
    font-size: 13px;
    color: #8a93a6;
    margin: 0 0 18px;
    letter-spacing: .5px;
}

.iti-qrlogin-steps {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.iti-qrlogin-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 86px;
}

.iti-qrlogin-step::before {
    content: "";
    position: absolute;
    top: 14px;
    left: -24px;
    width: 24px;
    height: 2px;
    background: #E8EBF0;
}

.iti-qrlogin-step:first-child::before { display: none; }

.iti-qrlogin-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1AB5B5;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 28px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.iti-qrlogin-step p {
    margin: 0;
    font-size: 12px;
    color: #0F1F3D;
    line-height: 1.4;
    font-weight: 600;
}

/* 页脚：放在页面底部 */
.iti-qrlogin-page .iti-footer {
    position: relative;
    z-index: 1;
    background: transparent;
    padding: 20px;
}

.iti-qrlogin-page .iti-footer-inner {
    background: transparent;
    color: #6b7689;
    font-size: 12px;
}

.iti-qrlogin-page .iti-footer a {
    color: #6b7689;
}

/* 右侧悬浮按钮在本页隐藏，避免干扰扫码页视觉 */
.iti-qrlogin-page .iti-floating {
    display: none;
}

/* 响应式 */
@media (max-width: 768px) {
    .iti-qrlogin-page::before { width: 320px; height: 320px; left: -80px; bottom: -100px; }
    .iti-qrlogin-page::after  { width: 280px; right: -120px; opacity: .80; }
    .iti-qrlogin-section { padding: 40px 16px 80px; }
    .iti-qrlogin-card { padding: 34px 24px 38px; border-radius: 20px; }
    .iti-qrlogin-steps { gap: 14px; }
    .iti-qrlogin-step { width: 78px; }
    .iti-qrlogin-step::before { left: -14px; width: 14px; }
}
