/* =========================================================
   数信云仓 · 登录页样式 v2（Vue 组件风格表单 · 蓝白政务）
   左 60% 深蓝渐变(#0A1F44→#2563EB) / 右 40% 白底组件化登录卡片
   ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh; color: #1f2d3d;
}
.login-wrap { display: flex; min-height: 100vh; }

/* ---------- 左侧品牌区 ---------- */
.brand-side {
    width: 60%; background: linear-gradient(150deg, #0A1F44 0%, #0f3c8f 52%, #165DFF 100%);
    display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
    padding: 30px 40px 112px; /* 上窄下宽，内容整体重心上移 */
}
.brand-side::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(600px 300px at 15% 20%, rgba(34, 211, 238, .14), transparent 60%),
        radial-gradient(500px 320px at 85% 80%, rgba(91, 140, 255, .18), transparent 60%);
}
.brand-inner { position: relative; z-index: 1; width: 100%; max-width: 680px; text-align: center; }
.node-svg { width: 100%; max-width: 620px; }
.node-main { animation: pulse 2.4s ease-in-out infinite; transform-origin: 320px 210px; }
.node-sat { animation: pulse 2.4s ease-in-out infinite; }
.node-1 { animation-delay: .2s; } .node-2 { animation-delay: .5s; }
.node-3 { animation-delay: .8s; } .node-4 { animation-delay: .1s; }
.node-5 { animation-delay: 1.1s; } .node-6 { animation-delay: .4s; }
.node-7 { animation-delay: .7s; } .node-8 { animation-delay: 1s; }
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .45; }
}
.brand-text { margin-top: 8px; }
.brand-logo {
    font-size: 40px; font-weight: 800; color: #fff; letter-spacing: 6px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .25);
}
.brand-text p { color: rgba(255, 255, 255, .82); font-size: 15px; letter-spacing: 3px; margin: 10px 0 26px; }
.brand-text ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; }
.brand-text li {
    color: rgba(255, 255, 255, .75); font-size: 13px; letter-spacing: 1px;
    display: flex; align-items: center; gap: 6px;
}
.brand-text li::before { content: '◆'; color: #22d3ee; font-size: 9px; }

/* ---------- 右侧登录卡片（组件化） ---------- */
.form-side {
    width: 40%; display: flex; align-items: center; justify-content: center;
    background: #fff; padding: 40px 32px;
}
.login-card { width: 100%; max-width: 380px; }
.login-card h2 { font-size: 24px; color: #0a1f44; font-weight: 700; }
.form-sub { color: #8a94a6; font-size: 13px; margin: 8px 0 26px; }
.form-error {
    background: #fdeeee; color: #dc2626; border: 1px solid #f6cfcc;
    padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; line-height: 1.8;
}
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13px; color: #43536f; margin-bottom: 7px; font-weight: 600; }
.form-field input {
    width: 100%; padding: 10px 13px; border: 1px solid #d3dbe8; border-radius: 8px;
    font-size: 14px; outline: none; transition: border .2s, box-shadow .2s; font-family: inherit; color: #1f2d3d;
}
.form-field input:hover { border-color: #b6c4dc; }
.form-field input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .13); }
.form-field input::placeholder { color: #b0bac9; }
.captcha-row { display: flex; gap: 10px; }
.captcha-row input { flex: 1; }
.captcha-img { flex: 0 0 132px; height: 42px; border: 1px solid #d3dbe8; border-radius: 8px; overflow: hidden; cursor: pointer; }
.captcha-img:hover { border-color: #2563eb; }
.captcha-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.btn-login {
    width: 100%; border: none; cursor: pointer; padding: 12px; border-radius: 8px;
    background: #2563eb; color: #fff;
    font-size: 16px; font-weight: 700; letter-spacing: 8px; margin-top: 6px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, .32);
    transition: background .18s, transform .1s, box-shadow .18s;
}
.btn-login:hover { background: #1d4ed8; }
.btn-login:active { background: #1e40af; transform: scale(.99); }
.btn-login:disabled { opacity: .6; cursor: not-allowed; box-shadow: none; }
.login-foot {
    margin-top: 26px; text-align: center; color: #b0bac9; font-size: 12px;
    display: flex; justify-content: center; gap: 6px;
}
.login-foot span { color: #2563eb; }
.login-icp {
    margin-top: 10px; text-align: center; font-size: 11px;
}
.login-icp a { color: #b0bac9; text-decoration: none; }
.login-icp a:hover { color: #2563eb; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
    .brand-side { display: none; }
    .form-side { width: 100%; }
}

/* =========================================================
   登录页 · 大数据/云仓动效增强
   ========================================================= */
/* 背景数据网格 */
.brand-side::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background:
        linear-gradient(rgba(103, 232, 249, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 232, 249, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 92% 85% at 50% 45%, #000 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 92% 85% at 50% 45%, #000 30%, transparent 100%);
}
/* 周期扫描光束 */
.scan-beam {
    position: absolute; left: -18%; top: -20%; width: 30%; height: 140%; z-index: 0; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(120, 200, 255, .10), transparent);
    transform: skewX(-16deg); animation: scanMove 7.5s ease-in-out infinite;
}
@keyframes scanMove {
    0% { left: -22%; opacity: 0; }
    12% { opacity: 1; }
    55% { opacity: 1; }
    100% { left: 105%; opacity: 0; }
}
/* 脉冲光环 */
.halo-ring {
    transform-box: view-box; transform-origin: 320px 210px;
    animation: ringOut 3.2s ease-out infinite; opacity: 0;
}
.ring-2 { animation-duration: 4.4s; animation-delay: 1.1s; }
@keyframes ringOut {
    0% { transform: scale(.35); opacity: 0; }
    22% { opacity: .95; }
    100% { transform: scale(1.5); opacity: 0; }
}
/* 核心旋转弧光 */
.core-arc {
    transform-box: view-box; transform-origin: 320px 210px;
    animation: arcSpin 4s linear infinite;
}
@keyframes arcSpin { to { transform: rotate(360deg); } }
/* 连线流光 */
.line-flow line {
    stroke: rgba(91, 140, 255, .4);
    stroke-dasharray: 7 12;
    animation: dashFlow 1.6s linear infinite;
}
.line-flow line:nth-child(2n) { animation-duration: 2.1s; }
.line-flow line:nth-child(3n) { animation-duration: 1.3s; }
@keyframes dashFlow { to { stroke-dashoffset: -38; } }
/* 流动粒子光点 */
.flow-dot { filter: drop-shadow(0 0 5px rgba(103, 232, 249, .9)); }
/* 主节点呼吸 + 光晕更亮 */
.node-main { animation: mainBreath 3.2s ease-in-out infinite; }
@keyframes mainBreath {
    0%, 100% { opacity: 1; filter: url(#glow); }
    50% { opacity: .86; }
}
/* Logo 流光渐变字 */
@supports (-webkit-background-clip: text) {
    .brand-logo {
        color: transparent;
        background: linear-gradient(100deg, #fff 0%, #7fd8ff 28%, #bcd6ff 50%, #7fd8ff 72%, #fff 100%);
        background-size: 220% 100%;
        -webkit-background-clip: text; background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: logoShine 5.5s linear infinite;
    }
}
@keyframes logoShine { to { background-position: -220% 0; } }
.brand-logo { text-shadow: 0 6px 34px rgba(0, 30, 90, .55); }
.brand-text p { text-shadow: 0 2px 12px rgba(0, 20, 60, .35); }
