/* ============================================================
   登录界面 - 赛博朋克工单系统
   参考业界主流工单系统（ServiceNow / Jira Service Management）
   ============================================================ */

/* === 登录容器 === */
.login-container {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(150deg, var(--bg-page) 0%, var(--bg-page) 100%);
    overflow: hidden;
    z-index: 1;
}

/* === 动态背景层 === */
.login-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* 六边形网格 */
.login-hex-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* 全息光环 */
.login-holo-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.06);
    pointer-events: none;
}
.holo-ring-1 {
    width: 500px; height: 500px;
    top: -150px; right: -150px;
    animation: holoPulse 8s ease-in-out infinite;
}
.holo-ring-2 {
    width: 350px; height: 350px;
    bottom: -80px; left: -80px;
    border-color: rgba(255, 0, 255, 0.04);
    animation: holoPulse 10s ease-in-out infinite 2s;
}

@keyframes holoPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.06); opacity: 0.8; }
}

/* 扫描光束 */
.login-scan-beam {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.12), transparent);
    animation: scanBeam 6s linear infinite;
    pointer-events: none;
}

@keyframes scanBeam {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

/* 边框角标 */
.login-frame-corner {
    position: absolute;
    width: 30px; height: 30px;
    border-color: rgba(0, 240, 255, 0.15);
    border-style: solid;
    pointer-events: none;
    z-index: 2;
}
.fc-tl { top: 20px; left: 20px; border-width: 2px 0 0 2px; }
.fc-tr { top: 20px; right: 20px; border-width: 2px 2px 0 0; }
.fc-bl { bottom: 20px; left: 20px; border-width: 0 0 2px 2px; }
.fc-br { bottom: 20px; right: 20px; border-width: 0 2px 2px 0; }

/* === 数字雨 Canvas === */
.digital-rain-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.15;
}

/* === CRT 效果层 === */
.crt-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0) 0px,
        rgba(0, 0, 0, 0) 1px,
        rgba(0, 240, 255, 0.01) 1px,
        rgba(0, 0, 0, 0) 2px
    );
    background-size: 100% 3px;
}

.crt-scanline {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: 9999;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(0, 240, 255, 0.04) 0%,
        transparent 100%
    );
    animation: scanlineMove 10s linear infinite;
    opacity: 0.2;
}

@keyframes scanlineMove {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

.crt-vignette {
    position: fixed;
    inset: 0;
    z-index: 9997;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
}

/* === 语言切换 === */
.lang-switcher {
    display: flex;
    gap: 4px;
}

.lang-switcher-topcenter {
    position: absolute;
    top: 20px;
    right: 20px;
    left: auto;
    transform: none;
    z-index: 10;
}

.lang-btn {
    padding: 5px 12px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    background: rgba(0, 240, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all var(--transition);
    user-select: none;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    border-color: rgba(0, 240, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 240, 255, 0.05);
}

.lang-btn.active {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

/* === 左右分栏主内容 === */
.login-main {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 180px;
    padding: 30px 50px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* === 左侧 === */
.login-left {
    flex: 1;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--text-main);
    animation: leftEnter 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
    transform: translateX(-30px);
}

@keyframes leftEnter {
    to { opacity: 1; transform: translateX(0); }
}

/* 左侧品牌区 */
.login-left-brand {
    margin-bottom: 32px;
}

.login-left-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-brand-icon-large {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 26px;
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
    animation: logoPulse 3s ease-in-out infinite;
}

.login-left-title-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.login-left-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
}

.login-left-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0;
}

/* === 特性列表 - 简化为大气的大数字指标 === */
.login-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.login-feature-metrics {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

.login-metric-item {
    flex: 1;
    padding: 14px 16px;
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.06);
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.login-metric-item:hover {
    background: rgba(0, 240, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.12);
    transform: translateY(-2px);
}

.login-metric-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
    margin-bottom: 4px;
}

.login-metric-label {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.login-feature-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.login-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: rgba(0, 240, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--primary);
    flex-shrink: 0;
}

.login-feature-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.login-feature-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-body);
}

.login-feature-desc {
    font-size: 11px;
    color: var(--text-muted);
}

/* === 右侧 === */
.login-right {
    width: 380px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: rightEnter 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
    opacity: 0;
    transform: translateX(30px);
}

@keyframes rightEnter {
    to { opacity: 1; transform: translateX(0); }
}

/* === 登录卡片边框 - 稳定发光边框 === */
.login-card-border {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    padding: 1px;
    background: linear-gradient(
        180deg,
        rgba(0, 240, 255, 0.3) 0%,
        rgba(0, 240, 255, 0.08) 25%,
        rgba(0, 240, 255, 0.04) 50%,
        rgba(0, 240, 255, 0.08) 75%,
        rgba(0, 240, 255, 0.3) 100%
    );
    animation: borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        filter: brightness(1);
        box-shadow: 0 0 20px rgba(0, 240, 255, 0.1), 0 0 60px rgba(0, 240, 255, 0.05);
    }
    50% {
        filter: brightness(1.15);
        box-shadow: 0 0 30px rgba(0, 240, 255, 0.15), 0 0 80px rgba(0, 240, 255, 0.08);
    }
}

/* === 登录卡片 - 现代玻璃态 === */
.login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 36px 32px 28px;
    background: rgba(4, 10, 20, 0.85);
    backdrop-filter: blur(48px) saturate(1.2);
    -webkit-backdrop-filter: blur(48px) saturate(1.2);
    border-radius: calc(var(--radius-md) - 1px);
    overflow: hidden;
}

/* 卡片内部网格 */
.login-card-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* 卡片顶部光条 */
.login-card::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.6;
    z-index: 2;
}

/* 卡片四角装饰 */
.login-card .card-corner {
    position: absolute;
    width: 12px; height: 12px;
    z-index: 2; pointer-events: none;
}
.login-card .card-corner-tl { top: 0; left: 0; border-top: 1.5px solid rgba(0,240,255,0.35); border-left: 1.5px solid rgba(0,240,255,0.35); }
.login-card .card-corner-tr { top: 0; right: 0; border-top: 1.5px solid rgba(0,240,255,0.35); border-right: 1.5px solid rgba(0,240,255,0.35); }
.login-card .card-corner-bl { bottom: 0; left: 0; border-bottom: 1.5px solid rgba(0,240,255,0.35); border-left: 1.5px solid rgba(0,240,255,0.35); }
.login-card .card-corner-br { bottom: 0; right: 0; border-bottom: 1.5px solid rgba(0,240,255,0.35); border-right: 1.5px solid rgba(0,240,255,0.35); }

/* 卡片品牌区 */
.login-card-brand {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.login-brand-icon {
    margin: 0 auto 12px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 22px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 16px rgba(0, 240, 255, 0.2); transform: scale(1); }
    50% { box-shadow: 0 0 28px rgba(0, 240, 255, 0.4); transform: scale(1.03); }
}

.login-brand-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 4px;
    letter-spacing: 3px;
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.35), 0 0 24px rgba(0, 240, 255, 0.15);
}

.login-brand-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
    letter-spacing: 0.5px;
}

/* === 表单 - 现代底部边框输入框 === */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group .form-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    padding-left: 2px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 2px;
    font-size: 13px;
    color: rgba(0, 240, 255, 0.35);
    pointer-events: none;
    z-index: 2;
    line-height: 1;
    transition: color 0.3s;
}

.input-wrapper .form-input {
    width: 100%;
    padding: 10px 12px 10px 32px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 240, 255, 0.12);
    border-radius: 0;
    color: var(--text-main);
    font-size: 14px;
    transition: all var(--transition);
    line-height: 1.4;
}

.input-wrapper .form-input::placeholder {
    color: var(--text-muted);
    font-size: 13px;
}

.input-wrapper .form-input:hover {
    border-bottom-color: rgba(0, 240, 255, 0.25);
    background: rgba(0, 240, 255, 0.02);
}

.input-wrapper .form-input:focus {
    outline: none;
    border-bottom-color: var(--primary);
    background: rgba(0, 240, 255, 0.03);
    box-shadow: 0 2px 0 0 var(--primary), 0 4px 12px rgba(0, 240, 255, 0.08);
}

.input-wrapper .form-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
    color: var(--primary);
}

/* 验证码 */
.captcha-input-wrap {
    position: relative;
}

.captcha-input-wrap .form-input {
    padding-right: 100px;
}

.captcha-box {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 86px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(0, 240, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: var(--radius-sm);
}

.captcha-box:hover {
    border-color: rgba(0, 240, 255, 0.2);
}

/* === 登录按钮 - 现代简洁渐变 === */
.login-submit-btn {
    width: 100%;
    padding: 13px;
    margin-top: 6px;
    background: linear-gradient(135deg, #00e0ec 0%, #00a0aa 100%);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 2px;
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.2), 0 4px 12px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-submit-btn:hover {
    box-shadow: 0 0 36px rgba(0, 240, 255, 0.35), 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.login-submit-btn:active {
    transform: translateY(0);
}

/* 按钮光泽扫过效果 */
.login-submit-btn::before {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 50%; height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transform: rotate(25deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.login-submit-btn:hover::before {
    left: 130%;
}

/* === 底部版权 === */
.login-footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 16px;
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 1px;
}

/* === 动画定义 === */
@keyframes pulseGlow {
    0%, 100% { filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.2)); }
    50% { filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.4)); }
}

@keyframes glitchText {
    0%, 90%, 100% { text-shadow: 0 0 10px rgba(0, 240, 255, 0.5); clip-path: inset(0); }
    91% { text-shadow: -2px 0 #ff0044, 2px 0 #00f0ff; clip-path: inset(20% 0 60% 0); }
    92% { text-shadow: 2px 0 #ff0044, -2px 0 #00f0ff; clip-path: inset(50% 0 30% 0); }
    93% { text-shadow: 0 0 10px rgba(0, 240, 255, 0.5); clip-path: inset(0); }
}

/* === 响应式 === */
@media (max-width: 1100px) {
    .login-main {
        gap: 80px;
        padding: 30px;
    }
}

@media (max-width: 900px) {
    .login-main {
        gap: 40px;
        padding: 20px;
    }
    .login-left {
        max-width: 320px;
    }
    .login-left-title {
        font-size: 22px;
    }
    .login-right {
        width: 340px;
    }
}

@media (max-width: 768px) {
    .login-main {
        flex-direction: column;
        gap: 24px;
        padding: 16px;
        align-items: stretch;
        overflow-y: auto;
    }
    .login-left {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }
    .login-left-header {
        justify-content: center;
    }
    .login-left-brand {
        margin-bottom: 16px;
    }
    .login-features {
        display: none;
    }
    .login-right {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .login-card {
        padding: 28px 24px 22px;
    }
    .lang-switcher-topcenter {
        top: 12px;
    }
    .login-frame-corner {
        width: 20px; height: 20px;
    }
}


/* ============================================================
   亮色主题覆盖层 - login.css
   ============================================================ */

[data-theme="light"] .login-container {
    background: linear-gradient(150deg, #eef1f5 0%, #f5f7fa 50%, #eef1f5 100%);
}

/* 六边形网格 */
[data-theme="light"] .login-hex-grid {
    background-size: 48px 48px;
    opacity: 0.5;
}

/* 全息光环 */
[data-theme="light"] .holo-ring-1 {
    border-color: rgba(0, 160, 170, 0.08);
}
[data-theme="light"] .holo-ring-2 {
    border-color: rgba(192, 0, 192, 0.05);
}

/* 扫描光束 */
[data-theme="light"] .login-scan-beam {
    background: linear-gradient(90deg, transparent, rgba(0, 160, 170, 0.08), transparent);
}

/* 边框角标 */
[data-theme="light"] .login-frame-corner {
    border-color: rgba(0, 160, 170, 0.12);
}

/* 数字雨 */
[data-theme="light"] .digital-rain-canvas {
    opacity: 0.06;
}

/* CRT */
[data-theme="light"] .crt-overlay {
    background-size: 100% 3px;
}
[data-theme="light"] .crt-vignette {
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.1) 100%);
}

/* 左侧区域 */
[data-theme="light"] .login-left-title {
    color: #1a1a2e;
    text-shadow: 0 0 12px rgba(0, 160, 170, 0.15);
}
[data-theme="light"] .login-left-subtitle {
    color: rgba(0, 0, 0, 0.5);
}

/* 指标卡片 */
[data-theme="light"] .login-metric-item {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .login-metric-item:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 160, 170, 0.15);
}
[data-theme="light"] .login-metric-value {
    color: var(--primary);
    text-shadow: 0 0 6px rgba(0, 160, 170, 0.2);
}
[data-theme="light"] .login-metric-label {
    color: rgba(0, 0, 0, 0.55);
}

/* 特性列表 */
[data-theme="light"] .login-feature-item {
    color: var(--text-body);
}
[data-theme="light"] .login-feature-icon {
    background: rgba(0, 160, 170, 0.06);
    color: var(--primary);
}
[data-theme="light"] .login-feature-title {
    color: #1a1a2e;
}
[data-theme="light"] .login-feature-desc {
    color: rgba(0, 0, 0, 0.5);
}

/* 登录卡片边框 */
[data-theme="light"] .login-card-border {
    background: linear-gradient(
        180deg,
        rgba(0, 160, 170, 0.2) 0%,
        rgba(0, 160, 170, 0.06) 25%,
        rgba(0, 160, 170, 0.03) 50%,
        rgba(0, 160, 170, 0.06) 75%,
        rgba(0, 160, 170, 0.2) 100%
    );
}
[data-theme="light"] .login-card-border::after {
    border-color: rgba(0, 160, 170, 0.15);
    box-shadow: inset 0 0 30px rgba(0, 160, 170, 0.03);
}
[data-theme="light"] .login-card-border::before {
    background: radial-gradient(ellipse at center, #fff 0%, #00c8d4 20%, var(--primary) 45%, var(--secondary) 65%, transparent 85%);
    box-shadow: 0 0 30px var(--primary), 0 0 70px var(--secondary), 0 0 120px rgba(0, 160, 170, 0.35);
}

/* 登录卡片 */
[data-theme="light"] .login-card {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 80px rgba(0, 160, 170, 0.12), 0 0 160px rgba(0, 160, 170, 0.05), 0 12px 48px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 0 60px rgba(0, 160, 170, 0.03);
}
[data-theme="light"] .login-card-bg-grid {
    background-size: 32px 32px;
    opacity: 0.4;
}
[data-theme="light"] .login-card::before {
    opacity: 0.8;
}
[data-theme="light"] .login-card .card-corner-tl { border-top-color: rgba(0, 160, 170, 0.3); border-left-color: rgba(0, 160, 170, 0.3); }
[data-theme="light"] .login-card .card-corner-tr { border-top-color: rgba(0, 160, 170, 0.3); border-right-color: rgba(0, 160, 170, 0.3); }
[data-theme="light"] .login-card .card-corner-bl { border-bottom-color: rgba(0, 160, 170, 0.3); border-left-color: rgba(0, 160, 170, 0.3); }
[data-theme="light"] .login-card .card-corner-br { border-bottom-color: rgba(0, 160, 170, 0.3); border-right-color: rgba(0, 160, 170, 0.3); }

/* 品牌区 */
[data-theme="light"] .login-brand-title {
    color: #1a1a2e;
    text-shadow: 0 0 8px rgba(0, 160, 170, 0.2), 0 0 16px rgba(0, 160, 170, 0.1), 0 0 32px rgba(0, 160, 170, 0.05);
}
[data-theme="light"] .login-brand-subtitle {
    color: rgba(0, 0, 0, 0.5);
}
[data-theme="light"] .login-brand-icon {
    box-shadow: 0 0 20px rgba(0, 160, 170, 0.2);
}

/* 表单 */
[data-theme="light"] .form-group .form-label {
    color: rgba(0, 0, 0, 0.6);
}
[data-theme="light"] .input-wrapper .form-input {
    border-bottom-color: rgba(0, 0, 0, 0.1);
    color: #1a1a2e;
    background: transparent;
}
[data-theme="light"] .input-wrapper .form-input::placeholder {
    color: rgba(0, 0, 0, 0.55);
    opacity: 1;
}
[data-theme="light"] .input-wrapper .form-input:hover {
    border-bottom-color: rgba(0, 160, 170, 0.25);
    background: rgba(0, 160, 170, 0.02);
}
[data-theme="light"] .input-wrapper .form-input:focus {
    border-bottom-color: var(--primary);
    background: rgba(0, 160, 170, 0.02);
    box-shadow: 0 2px 0 0 var(--primary), 0 4px 12px rgba(0, 160, 170, 0.06);
}
[data-theme="light"] .input-icon {
    color: rgba(0, 120, 130, 0.75);
}
[data-theme="light"] .input-wrapper:focus-within .input-icon {
    color: var(--primary);
}

/* 验证码 */
[data-theme="light"] .captcha-box {
    background: transparent;
    border-color: var(--border);
}
[data-theme="light"] .captcha-box:hover {
    border-color: var(--border-active);
}

/* 登录按钮 */
[data-theme="light"] .login-submit-btn {
    box-shadow: 0 0 24px rgba(0, 160, 170, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .login-submit-btn:hover {
    box-shadow: 0 0 36px rgba(0, 160, 170, 0.25), 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* 底部版权 */
[data-theme="light"] .login-footer {
    color: rgba(0, 0, 0, 0.25);
}

/* 语言切换 */
[data-theme="light"] .lang-btn {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
    color: rgba(0, 0, 0, 0.4);
}
[data-theme="light"] .lang-btn:hover {
    border-color: rgba(0, 160, 170, 0.25);
    color: rgba(0, 0, 0, 0.7);
    background: rgba(0, 160, 170, 0.04);
}
[data-theme="light"] .lang-btn.active {
    background: rgba(0, 160, 170, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 8px rgba(0, 160, 170, 0.1);
}

/* 主题切换按钮 */
[data-theme="light"] .theme-toggle-btn {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
    color: rgba(0, 0, 0, 0.5);
}
[data-theme="light"] .theme-toggle-btn:hover {
    border-color: rgba(0, 160, 170, 0.25);
    color: var(--primary);
    background: rgba(0, 160, 170, 0.06);
}

/* 扫描光束 */
[data-theme="light"] .login-scan-beam {
    opacity: 0.5;
}


