/* ============================================================
   黑武士 · 未来化主题（theme-neo）
   覆盖 admin.css，统一应用于登录页与后台全部页面。
   ============================================================ */

:root {
    --neo-bg: #050506;
    --neo-bg-2: #0b0b0e;
    --neo-bg-3: #121216;
    --neo-panel: rgba(22, 20, 24, 0.72);
    --neo-panel-solid: rgba(16, 15, 18, 0.96);
    --neo-panel-soft: rgba(18, 17, 20, 0.88);
    --neo-line: rgba(255, 46, 46, 0.14);
    --neo-line-strong: rgba(255, 46, 46, 0.38);
    --neo-cyan: #ff3b3b;
    --neo-blue: #d32f2f;
    --neo-purple: #9c2f4a;
    --neo-text: #f5f5f7;
    --neo-text-2: #a9a9b5;
    --neo-text-3: #6a6a76;
    --neo-gradient: linear-gradient(135deg, #ff3b3b 0%, #d32f2f 52%, #8b1a1a 100%);
    --neo-glow-cyan: rgba(255, 46, 46, 0.40);
    --neo-shadow: 0 18px 48px rgba(0, 0, 0, 0.6);
}

html,
body {
    background: var(--neo-bg);
    color: var(--neo-text);
}

/* =========================
   全局滚动条
   ========================= */

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 46, 46, 0.28) rgba(10, 10, 12, 0.6);
}

*::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

*::-webkit-scrollbar-track {
    background: rgba(10, 10, 12, 0.6);
}

*::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(255, 46, 46, 0.35), rgba(211, 47, 47, 0.35));
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255, 46, 46, 0.55), rgba(156, 47, 74, 0.55));
}

/* ============================================================
   登录页 · 黑武士高级版
   ============================================================ */

.login-body {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 18%, rgba(211, 47, 47, 0.14), transparent 34%),
        radial-gradient(circle at 88% 82%, rgba(156, 47, 74, 0.12), transparent 36%),
        radial-gradient(circle at 70% 8%, rgba(255, 46, 46, 0.10), transparent 30%),
        linear-gradient(160deg, #030304 0%, #0a0a0c 48%, #111113 100%);
}

.login-body::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 46, 46, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 46, 46, 0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.95), transparent 78%);
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.95), transparent 78%);
}

/* 流动光晕 */
.login-orb {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.42;
    pointer-events: none;
}

.login-orb--cyan {
    width: 420px;
    height: 420px;
    top: -140px;
    left: -120px;
    background: rgba(255, 46, 46, 0.32);
    animation: neo-float 12s ease-in-out infinite;
}

.login-orb--blue {
    width: 520px;
    height: 520px;
    bottom: -180px;
    right: -140px;
    background: rgba(156, 47, 74, 0.30);
    animation: neo-float 14s ease-in-out infinite reverse;
}

.login-orb--purple {
    width: 340px;
    height: 340px;
    top: 34%;
    right: 24%;
    background: rgba(211, 47, 47, 0.22);
    animation: neo-float 10s ease-in-out infinite;
}

@keyframes neo-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(28px, -32px) scale(1.06); }
    66%      { transform: translate(-22px, 24px) scale(0.95); }
}

/* 顶部扫描线 */
.login-scanline {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neo-cyan), transparent);
    opacity: 0.7;
    animation: neo-scan 7s linear infinite;
    pointer-events: none;
}

@keyframes neo-scan {
    0%   { top: -2%; opacity: 0; }
    8%   { opacity: 0.7; }
    50%  { opacity: 0.15; }
    92%  { opacity: 0.7; }
    100% { top: 102%; opacity: 0; }
}

/* =========================
   分栏外壳
   ========================= */

.login-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    padding: 0;
}

/* 左侧品牌展示区 */
.login-brand-panel {
    position: relative;
    flex: 1.15;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 72px;
    background:
        radial-gradient(circle at 22% 30%, rgba(211, 47, 47, 0.14), transparent 42%),
        radial-gradient(circle at 85% 80%, rgba(156, 47, 74, 0.12), transparent 46%),
        linear-gradient(165deg, rgba(12, 12, 14, 0.6), rgba(7, 7, 9, 0.85));
    border-right: 1px solid rgba(255, 46, 46, 0.12);
    overflow: hidden;
}

.login-brand-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255, 46, 46, 0.5), transparent);
}

/* 品牌 Logo 徽章 */
.login-brand-badge {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 40px;
}

.login-logo {
    width: 64px;
    height: 64px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
    background:
        linear-gradient(150deg, rgba(255, 59, 59, 0.9), rgba(139, 26, 26, 0.95));
    border: 1px solid rgba(255, 99, 99, 0.5);
    box-shadow:
        0 0 30px rgba(255, 46, 46, 0.45),
        inset 0 0 22px rgba(255, 120, 120, 0.35);
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.6);
}

.login-brand-name {
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 3px;
    text-shadow: 0 0 26px rgba(255, 46, 46, 0.35);
}

.login-brand-sub {
    margin-top: 6px;
    color: var(--neo-text-3);
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* 左侧标语 */
.login-slogan {
    margin: 14px 0 34px;
}

.login-slogan h2 {
    margin: 0;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 1px;
    color: #ffffff;
}

.login-slogan h2 em {
    font-style: normal;
    background: linear-gradient(120deg, #ff5f5f, #ff2b2b 45%, #c94b6a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-slogan p {
    margin: 16px 0 0;
    max-width: 460px;
    color: var(--neo-text-2);
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 0.4px;
}

/* 左侧底部特性列表 */
.login-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
}

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

.login-feature-icon {
    width: 34px;
    height: 34px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(255, 59, 59, 0.85), rgba(139, 26, 26, 0.9));
    box-shadow: 0 0 16px rgba(255, 46, 46, 0.3);
}

.login-feature span {
    color: var(--neo-text-2);
    font-size: 14px;
    letter-spacing: 0.4px;
}

/* =========================
   右侧表单区
   ========================= */

.login-form-panel {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 48px;
}

.login-card {
    position: relative;
    width: 440px;
    max-width: 100%;
    padding: 46px 44px 36px;
    border-radius: 18px;
    background:
        linear-gradient(160deg, rgba(24, 24, 27, 0.92), rgba(12, 12, 15, 0.92));
    border: 1px solid rgba(255, 46, 46, 0.18);
    box-shadow:
        0 0 0 1px rgba(255, 46, 46, 0.06),
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 0 70px rgba(255, 46, 46, 0.10);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
}

/* 卡片顶部发光条 */
.login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neo-gradient);
    box-shadow: 0 0 20px rgba(255, 46, 46, 0.6);
    opacity: 0.95;
}

/* 卡片右上角光斑 */
.login-card::after {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 46, 46, 0.16), transparent 70%);
    pointer-events: none;
}

.login-title {
    text-align: center;
    margin-bottom: 32px;
}

.login-title h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 0 26px rgba(255, 46, 46, 0.3);
}

.login-title p {
    margin: 12px 0 0;
    color: var(--neo-text-3);
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* 语言切换 */
.login-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 28px;
}

.login-lang-btn {
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--neo-text-2);
    background: transparent;
    border: 1px solid rgba(255, 46, 46, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.login-lang-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 46, 46, 0.5);
}

.login-lang-btn.active {
    color: #ffffff;
    background: var(--neo-gradient);
    border-color: transparent;
    box-shadow: 0 0 16px rgba(255, 46, 46, 0.35);
}

.login-input-wrapper {
    position: relative;
}

.login-input-wrapper > .layui-icon,
.login-input-wrapper > .login-input-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 17px;
    color: var(--neo-text-3);
    transition: color 0.2s ease, text-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-input-wrapper > .login-input-icon svg {
    width: 17px;
    height: 17px;
}

.login-input-wrapper:focus-within > .layui-icon,
.login-input-wrapper:focus-within > .login-input-icon {
    color: var(--neo-cyan);
    text-shadow: 0 0 12px var(--neo-glow-cyan);
}

.login-input {
    height: 50px;
    padding-left: 46px;
    border-radius: 10px;
    color: var(--neo-text);
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid rgba(255, 46, 46, 0.18);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.login-input::placeholder {
    color: var(--neo-text-3);
}

.login-input:hover {
    border-color: rgba(255, 46, 46, 0.34);
}

.login-input:focus {
    border-color: var(--neo-cyan) !important;
    background: rgba(10, 10, 12, 0.95);
    box-shadow:
        0 0 0 3px rgba(255, 46, 46, 0.12),
        0 0 24px rgba(255, 46, 46, 0.14);
    outline: none;
}

.captcha-row {
    display: flex;
    gap: 12px;
}

.captcha-input {
    flex: 1;
}

#captchaCanvas {
    width: 126px;
    height: 50px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid rgba(255, 46, 46, 0.18);
    background: rgba(10, 10, 12, 0.8);
    box-shadow: inset 0 0 18px rgba(255, 46, 46, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#captchaCanvas:hover {
    border-color: rgba(255, 46, 46, 0.4);
    box-shadow: 0 0 16px rgba(255, 46, 46, 0.14);
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.remember-box {
    color: var(--neo-text-2);
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

.remember-box input {
    accent-color: var(--neo-cyan);
}

.login-tip {
    color: var(--neo-text-3);
    font-size: 12px;
    letter-spacing: 0.5px;
}

.login-btn {
    height: 50px;
    margin-top: 28px;
    font-size: 15px;
    letter-spacing: 3px;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 700;
    background: var(--neo-gradient);
    border: 0;
    box-shadow: 0 12px 30px rgba(255, 46, 46, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 16px 40px rgba(255, 46, 46, 0.4);
}

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

.login-demo {
    margin-top: 22px;
    padding: 12px 14px;
    border-radius: 10px;
    background: linear-gradient(
        135deg,
        rgba(255, 46, 46, 0.08),
        rgba(211, 47, 47, 0.03)
    );
    border: 1px solid rgba(255, 46, 46, 0.22);
}

.login-demo-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--neo-text);
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 600;
}

.login-demo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neo-cyan);
    box-shadow: 0 0 10px rgba(255, 46, 46, 0.6);
}

.login-demo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.login-demo-field {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.login-demo-field i {
    color: var(--neo-text-3);
    font-style: normal;
    font-size: 12px;
}

.login-demo-value {
    color: #ff6b6b;
    font-family: Consolas, Monaco, monospace;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(255, 46, 46, 0.3);
}

.login-demo-fill {
    margin-left: auto;
    padding: 5px 14px;
    border-radius: 999px;
    color: #ff6b6b;
    background: rgba(255, 46, 46, 0.06);
    border: 1px solid rgba(255, 46, 46, 0.35);
    font-size: 12px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login-demo-fill:hover {
    color: #ffffff;
    background: var(--neo-gradient);
    border-color: transparent;
    box-shadow: 0 0 16px rgba(255, 46, 46, 0.45);
}

.login-footer {
    margin-top: 30px;
    text-align: center;
    color: var(--neo-text-3);
    font-size: 12px;
    letter-spacing: 0.8px;
}

/* 响应式 */
@media (max-width: 920px) {
    .login-wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 48px 20px;
    }

    .login-brand-panel {
        display: none;
    }

    .login-form-panel {
        padding: 24px 20px;
    }
}
/* ============================================================
   主框架
   ============================================================ */

.admin-layout {
    background: var(--neo-bg);
}

.sidebar {
    background:
        linear-gradient(180deg, rgba(10, 17, 34, 0.98), rgba(8, 8, 10, 0.98)) !important;
    border-right: 1px solid rgba(255, 46, 46, 0.10) !important;
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.35) !important;
}

.sidebar-logo {
    position: relative !important;
    background: rgba(14, 14, 16, 0.6) !important;
    border-bottom: 1px solid rgba(255, 46, 46, 0.12) !important;
}

.sidebar-logo::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--neo-cyan), transparent 70%);
    opacity: 0.5;
}

.logo-icon {
    color: var(--neo-cyan) !important;
    text-shadow: 0 0 12px var(--neo-glow-cyan) !important;
}

.logo-text {
    color: #e8f2ff !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    background: linear-gradient(90deg, #ffffff, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu-item {
    color: var(--neo-text-2) !important;
    border-radius: 6px !important;
    font-weight: 500;
    letter-spacing: 0.4px;
}

.menu-item:hover {
    color: #ffffff !important;
    background: rgba(255, 46, 46, 0.07) !important;
    text-shadow: 0 0 14px rgba(255, 46, 46, 0.35);
}

.menu-item::before {
    background: var(--neo-gradient) !important;
    box-shadow: 0 0 12px rgba(255, 46, 46, 0.7) !important;
}

.menu-item.active {
    color: #ffffff !important;
    background:
        linear-gradient(90deg, rgba(255, 46, 46, 0.14), rgba(211, 47, 47, 0.06)) !important;
    text-shadow: 0 0 16px rgba(255, 46, 46, 0.5);
}

.menu-icon {
    color: inherit;
}

.menu-item.active .menu-icon {
    color: var(--neo-cyan) !important;
    text-shadow: 0 0 12px var(--neo-glow-cyan);
}

.admin-main {
    background: var(--neo-bg);
}

.topbar {
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    background:
        linear-gradient(90deg, rgba(12, 12, 14, 0.96), rgba(16, 16, 18, 0.96)) !important;
    border-bottom: 1px solid rgba(255, 46, 46, 0.12) !important;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.28) !important;
    position: relative;
}

.topbar::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--neo-cyan), var(--neo-blue) 40%, transparent 85%);
    opacity: 0.4;
}

.topbar-button {
    width: 38px;
    height: 38px;
    color: var(--neo-text-2) !important;
    background: rgba(255, 46, 46, 0.05) !important;
    border: 1px solid rgba(255, 46, 46, 0.12) !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.topbar-button:hover {
    color: var(--neo-cyan) !important;
    background: rgba(255, 46, 46, 0.10) !important;
    border-color: rgba(255, 46, 46, 0.35) !important;
    box-shadow: 0 0 16px rgba(255, 46, 46, 0.18) !important;
    transform: translateY(-1px);
}

.page-title-bar {
    height: 46px;
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0 22px;
    color: var(--neo-text) !important;
    background: rgba(14, 14, 16, 0.72) !important;
    border-bottom: 1px solid rgba(255, 46, 46, 0.10) !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
}

.page-title-bar::before {
    content: "";
    width: 4px;
    height: 16px;
    margin-right: 10px;
    border-radius: 2px;
    background: var(--neo-gradient);
    box-shadow: 0 0 12px rgba(255, 46, 46, 0.55);
}

.content-area {
    background: var(--neo-bg) !important;
}

#mainFrame {
    background: var(--neo-bg) !important;
}

/* 管理员区域 */
.tech-user-button {
    color: var(--neo-text) !important;
    background:
        linear-gradient(135deg, rgba(24, 24, 26, 0.9), rgba(16, 16, 18, 0.9)) !important;
    border: 1px solid rgba(255, 46, 46, 0.16) !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
}

.tech-user-button:hover {
    border-color: rgba(255, 46, 46, 0.42) !important;
    box-shadow: 0 0 22px rgba(255, 46, 46, 0.16) !important;
}

.tech-avatar {
    color: #ffffff !important;
    background: var(--neo-gradient) !important;
    box-shadow: 0 0 16px rgba(255, 46, 46, 0.42) !important;
}

.admin-user-name {
    color: #e8f2ff !important;
}

.admin-user-role {
    color: var(--neo-text-3) !important;
    letter-spacing: 1px;
}

.admin-dropdown-arrow {
    color: var(--neo-text-3) !important;
}

.admin-dropdown-menu {
    background: rgba(15, 15, 17, 0.98) !important;
    border: 1px solid rgba(255, 46, 46, 0.18) !important;
    border-radius: 10px !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

.admin-dropdown-menu button {
    color: var(--neo-text-2) !important;
}

.admin-dropdown-menu button:hover {
    color: var(--neo-cyan) !important;
    background: rgba(255, 46, 46, 0.08) !important;
}

.admin-dropdown-divider {
    background: rgba(255, 46, 46, 0.12) !important;
}

.admin-dropdown-menu .dropdown-logout-button {
    color: #ff7d8a !important;
}

.admin-dropdown-menu .dropdown-logout-button:hover {
    color: #ff8f9b !important;
    background: rgba(255, 107, 129, 0.10) !important;
}

/* ============================================================
   数据页 · 深空背景与面板
   ============================================================ */

.page-body {
    padding: 18px;
    background-color: var(--neo-bg) !important;
    background-image:
        linear-gradient(rgba(255, 46, 46, 0.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 46, 46, 0.032) 1px, transparent 1px),
        radial-gradient(circle at 90% 0%, rgba(211, 47, 47, 0.10), transparent 34%) !important;
    background-size: 28px 28px, 28px 28px, auto !important;
    color: var(--neo-text);
}

.page-panel,
.dashboard-welcome,
.dashboard-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--neo-line) !important;
    border-radius: 10px !important;
    background:
        linear-gradient(155deg, rgba(21, 21, 23, 0.78), rgba(14, 14, 16, 0.82)) !important;
    box-shadow: var(--neo-shadow) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.page-panel::before,
.dashboard-welcome::before,
.dashboard-panel::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 2px !important;
    background: var(--neo-gradient) !important;
    opacity: 0.85 !important;
    box-shadow: 0 0 16px rgba(255, 46, 46, 0.35);
}

.page-section-title,
.dashboard-welcome h2,
.dashboard-panel-title,
.settings-info-title {
    color: var(--neo-text) !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px !important;
    text-shadow: 0 0 20px rgba(255, 46, 46, 0.12);
}

.page-section-title::before,
.dashboard-welcome h2::before {
    background: var(--neo-gradient) !important;
    box-shadow: 0 0 12px rgba(255, 46, 46, 0.55) !important;
}

.page-section-desc,
.dashboard-welcome p {
    color: var(--neo-text-2) !important;
}

/* ============================================================
   统计卡片
   ============================================================ */

.stat-card {
    border: 1px solid var(--neo-line) !important;
    border-radius: 10px !important;
    background:
        linear-gradient(150deg, rgba(22, 22, 24, 0.85), rgba(12, 12, 14, 0.9)) !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35) !important;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
}

.stat-card::after {
    border-top: 1px solid rgba(255, 46, 46, 0.5) !important;
    border-right: 1px solid rgba(255, 46, 46, 0.5) !important;
    box-shadow: inset -6px -6px 14px rgba(255, 46, 46, 0.06);
}

.stat-card-action:hover,
.stat-card-action:focus-visible {
    transform: translateY(-4px) !important;
    border-color: rgba(255, 46, 46, 0.5) !important;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.45),
        0 0 0 3px rgba(255, 46, 46, 0.10),
        0 0 30px rgba(255, 46, 46, 0.14) !important;
}

.stat-icon {
    color: var(--neo-cyan) !important;
    border: 1px solid rgba(255, 46, 46, 0.24) !important;
    background: rgba(255, 46, 46, 0.08) !important;
    box-shadow: 0 0 18px rgba(255, 46, 46, 0.14), inset 0 0 14px rgba(255, 46, 46, 0.10) !important;
    text-shadow: 0 0 12px var(--neo-glow-cyan);
}

.stat-title,
.stat-label {
    color: var(--neo-text-2) !important;
}

.stat-number,
.stat-value,
.devices-head-count strong,
.logs-total-box strong,
.settings-info-item strong {
    color: var(--neo-cyan) !important;
    font-weight: 700;
    text-shadow: 0 0 22px rgba(255, 46, 46, 0.30);
    font-variant-numeric: tabular-nums;
}

/* 状态徽标 */
.layui-badge {
    border-radius: 999px !important;
    box-shadow: 0 0 10px rgba(255, 46, 46, 0.12);
}

.layui-bg-green {
    background: linear-gradient(135deg, #10c99b, #0aa5a0) !important;
    color: #eafff7 !important;
    text-shadow: 0 0 8px rgba(16, 201, 155, 0.5);
}

.dashboard-time,
.devices-head-count,
.logs-total-box,
.settings-environment-badge {
    color: var(--neo-text-2) !important;
    border: 1px solid var(--neo-line) !important;
    border-radius: 999px !important;
    background: rgba(255, 46, 46, 0.05) !important;
    box-shadow: inset 0 0 16px rgba(255, 46, 46, 0.05) !important;
}

.dashboard-time .stat-icon-clock {
    margin-right: 5px;
    font-style: normal;
    color: var(--neo-cyan);
    text-shadow: 0 0 10px rgba(255, 46, 46, 0.35);
}

.dashboard-status-list .status-row,
.dashboard-status-row {
    border-bottom-color: rgba(255, 46, 46, 0.08) !important;
    color: var(--neo-text-2) !important;
}

.dashboard-status-list .status-row:hover,
.dashboard-status-row:hover {
    background: linear-gradient(90deg, rgba(255, 46, 46, 0.09), rgba(211, 47, 47, 0.03), transparent) !important;
}

/* ============================================================
   按钮
   ============================================================ */

.btn,
.admin-btn,
.page-btn,
.settings-input-button {
    border-radius: 6px !important;
    transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

.btn:hover,
.admin-btn:hover,
.page-btn:hover,
.settings-input-button:hover {
    transform: translateY(-1px);
}

.btn-primary,
.admin-btn-primary,
.filter-buttons .btn-primary {
    color: #0a0a0a !important;
    font-weight: 700 !important;
    background: var(--neo-gradient) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 22px rgba(255, 46, 46, 0.22) !important;
}

.btn-primary:hover,
.admin-btn-primary:hover,
.filter-buttons .btn-primary:hover {
    color: #0a0a0a !important;
    filter: brightness(1.08);
    box-shadow: 0 12px 30px rgba(255, 46, 46, 0.34) !important;
}

.btn-default,
.btn-warning,
.btn-danger,
.btn-danger-light {
    color: var(--neo-text) !important;
    background: rgba(22, 22, 24, 0.7) !important;
    border-color: rgba(255, 46, 46, 0.18) !important;
}

.btn-default:hover {
    color: var(--neo-cyan) !important;
    border-color: rgba(255, 46, 46, 0.45) !important;
    background: rgba(255, 46, 46, 0.08) !important;
}

.btn-warning {
    color: #ffd9a0 !important;
    background: rgba(230, 162, 60, 0.12) !important;
    border-color: rgba(230, 162, 60, 0.42) !important;
}

.btn-warning:hover {
    color: #ffe3b8 !important;
    background: rgba(230, 162, 60, 0.20) !important;
    border-color: rgba(230, 162, 60, 0.6) !important;
    box-shadow: 0 0 18px rgba(230, 162, 60, 0.2);
}

.btn-danger,
.btn-danger-light {
    color: #ff9aa6 !important;
    background: rgba(255, 107, 129, 0.08) !important;
    border-color: rgba(255, 107, 129, 0.35) !important;
}

.btn-danger:hover,
.btn-danger-light:hover {
    color: #ffb3bc !important;
    background: rgba(255, 107, 129, 0.16) !important;
    border-color: rgba(255, 107, 129, 0.55) !important;
    box-shadow: 0 0 18px rgba(255, 107, 129, 0.18);
}

/* ============================================================
   表单
   ============================================================ */

.form-label,
.form-group > label {
    color: var(--neo-text-2) !important;
    font-weight: 600 !important;
    letter-spacing: 0.4px !important;
}

.form-input,
.form-select,
.form-control,
input[type="text"],
input[type="password"],
input[type="number"],
select,
textarea {
    color: var(--neo-text) !important;
    background-color: rgba(14, 14, 16, 0.72) !important;
    border: 1px solid rgba(255, 46, 46, 0.16) !important;
    border-radius: 6px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.form-input::placeholder,
.form-select::placeholder,
.form-control::placeholder {
    color: var(--neo-text-3);
}

.form-input:hover,
.form-select:hover,
.form-control:hover,
input:hover,
select:hover {
    border-color: rgba(255, 46, 46, 0.34) !important;
}

.form-input:focus,
.form-select:focus,
.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--neo-cyan) !important;
    outline: none;
    box-shadow:
        0 0 0 3px rgba(255, 46, 46, 0.10),
        0 0 20px rgba(255, 46, 46, 0.10) !important;
}

/* ============================================================
   筛选栏 / 批量工具栏
   ============================================================ */

.filter-panel,
.devices-filter-panel,
.logs-filter-panel,
.batch-toolbar,
.devices-table-toolbar,
.logs-table-toolbar {
    border-color: rgba(255, 46, 46, 0.14) !important;
    background:
        linear-gradient(150deg, rgba(21, 21, 23, 0.72), rgba(14, 14, 16, 0.8)) !important;
}

/* ============================================================
   表格
   ============================================================ */

.table-panel,
.devices-table-panel,
.logs-table-panel {
    border-color: var(--neo-line) !important;
}

.data-table th,
.admin-table th {
    color: var(--neo-text) !important;
    border-bottom-color: rgba(255, 46, 46, 0.16) !important;
    background:
        linear-gradient(180deg, rgba(28, 28, 30, 0.95), rgba(18, 18, 20, 0.95)) !important;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.data-table td,
.admin-table td {
    color: var(--neo-text-2) !important;
    border-bottom-color: rgba(255, 46, 46, 0.07) !important;
}

.data-table tbody tr:hover,
.admin-table tbody tr:hover {
    background:
        linear-gradient(90deg, rgba(255, 46, 46, 0.07), rgba(211, 47, 47, 0.03), transparent) !important;
}

/* ---- 日志表格霓虹增强 ---- */

.admin-table,
.data-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.admin-table thead th,
.data-table thead th {
    position: relative;
}

.admin-table thead th::after,
.data-table thead th::after {
    content: "" !important;
    position: absolute !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 0 !important;
    height: 1px !important;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 46, 46, 0.55),
        transparent
    ) !important;
}

.admin-table td,
.data-table td {
    transition: background 0.18s ease;
}

.logs-table tbody tr,
.cards-table tbody tr,
.devices-table tbody tr {
    position: relative;
}

.logs-table tbody tr:hover td,
.cards-table tbody tr:hover td,
.devices-table tbody tr:hover td {
    background:
        linear-gradient(90deg, rgba(255, 46, 46, 0.10), rgba(211, 47, 47, 0.04), transparent) !important;
}

.logs-table tbody tr:hover td:first-child::before,
.cards-table tbody tr:hover td:first-child::before,
.devices-table tbody tr:hover td:first-child::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 6px !important;
    bottom: 6px !important;
    width: 3px !important;
    border-radius: 3px !important;
    background: var(--neo-gradient) !important;
    box-shadow: 0 0 12px rgba(255, 46, 46, 0.55) !important;
}

/* 操作类型徽章：深色霓虹胶囊 */
.log-type-badge {
    min-height: 26px !important;
    padding: 4px 12px !important;
    border-radius: 999px !important;
    border: 1px solid !important;
    font-weight: 600 !important;
    letter-spacing: 0.6px !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.log-type-generate {
    color: #ff6b6b !important;
    background: rgba(255, 46, 46, 0.10) !important;
    border-color: rgba(255, 46, 46, 0.45) !important;
    text-shadow: 0 0 10px rgba(255, 46, 46, 0.45);
    box-shadow: inset 0 0 12px rgba(255, 46, 46, 0.08);
}

.log-type-import {
    color: #d98cff !important;
    background: rgba(156, 47, 74, 0.16) !important;
    border-color: rgba(217, 140, 255, 0.40) !important;
    text-shadow: 0 0 10px rgba(217, 140, 255, 0.40);
    box-shadow: inset 0 0 12px rgba(156, 47, 74, 0.10);
}

.log-type-status {
    color: #ffc94d !important;
    background: rgba(255, 180, 50, 0.12) !important;
    border-color: rgba(255, 201, 77, 0.42) !important;
    text-shadow: 0 0 10px rgba(255, 201, 77, 0.40);
    box-shadow: inset 0 0 12px rgba(255, 180, 50, 0.08);
}

.log-type-validity {
    color: #5ec8ff !important;
    background: rgba(94, 200, 255, 0.10) !important;
    border-color: rgba(94, 200, 255, 0.40) !important;
    text-shadow: 0 0 10px rgba(94, 200, 255, 0.40);
    box-shadow: inset 0 0 12px rgba(94, 200, 255, 0.08);
}

.log-type-remark {
    color: #b9c2d4 !important;
    background: rgba(185, 194, 212, 0.08) !important;
    border-color: rgba(185, 194, 212, 0.32) !important;
    text-shadow: 0 0 8px rgba(185, 194, 212, 0.25);
}

.log-type-bind {
    color: #39e6b0 !important;
    background: rgba(57, 230, 176, 0.10) !important;
    border-color: rgba(57, 230, 176, 0.40) !important;
    text-shadow: 0 0 10px rgba(57, 230, 176, 0.40);
    box-shadow: inset 0 0 12px rgba(57, 230, 176, 0.08);
}

.log-type-unbind {
    color: #ffa94d !important;
    background: rgba(255, 169, 77, 0.12) !important;
    border-color: rgba(255, 169, 77, 0.42) !important;
    text-shadow: 0 0 10px rgba(255, 169, 77, 0.40);
    box-shadow: inset 0 0 12px rgba(255, 169, 77, 0.08);
}

.log-type-disable {
    color: #ff3b3b !important;
    background: rgba(255, 46, 46, 0.16) !important;
    border-color: rgba(255, 46, 46, 0.55) !important;
    text-shadow: 0 0 12px rgba(255, 46, 46, 0.55);
    box-shadow:
        inset 0 0 14px rgba(255, 46, 46, 0.12),
        0 0 8px rgba(255, 46, 46, 0.15);
}

.log-type-default {
    color: #9aa4b8 !important;
    background: rgba(154, 164, 184, 0.08) !important;
    border-color: rgba(154, 164, 184, 0.32) !important;
}

/* 卡密号：等宽霓虹高亮 */
.log-card-no {
    color: #ffb3b3 !important;
    font-family: 'JetBrains Mono', Consolas, Monaco, monospace !important;
    letter-spacing: 0.8px !important;
    text-shadow: 0 0 10px rgba(255, 46, 46, 0.30) !important;
}

.log-content-preview {
    color: var(--neo-text-2) !important;
}

/* 操作按钮：霓虹描边 */
.table-action-btn {
    padding: 5px 12px !important;
    color: #ff6b6b !important;
    background: rgba(255, 46, 46, 0.06) !important;
    border: 1px solid rgba(255, 46, 46, 0.35) !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
}

.table-action-btn:hover {
    color: #ffffff !important;
    background: var(--neo-gradient) !important;
    border-color: transparent !important;
    box-shadow: 0 0 16px rgba(255, 46, 46, 0.45) !important;
}

.table-action-btn.action-warning {
    color: #ffa94d !important;
    background: rgba(255, 169, 77, 0.06) !important;
    border-color: rgba(255, 169, 77, 0.35) !important;
}

.table-action-btn.action-warning:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #ff9f43, #d9702a) !important;
    border-color: transparent !important;
    box-shadow: 0 0 16px rgba(255, 169, 77, 0.45) !important;
}

.table-action-btn.action-danger {
    color: #ff3b3b !important;
    background: rgba(255, 46, 46, 0.08) !important;
    border-color: rgba(255, 46, 46, 0.40) !important;
}

.table-action-btn.action-danger:hover {
    color: #ffffff !important;
    background: var(--neo-gradient) !important;
    border-color: transparent !important;
    box-shadow: 0 0 18px rgba(255, 46, 46, 0.55) !important;
}

/* 分页数字发光 */
.logs-pagination-info strong {
    color: #ff6b6b !important;
    text-shadow: 0 0 10px rgba(255, 46, 46, 0.40) !important;
}

/* 分页 */
.pagination-bar,
.devices-pagination,
.logs-pagination {
    border-top-color: rgba(255, 46, 46, 0.12) !important;
    background: rgba(12, 12, 14, 0.6) !important;
}

.pagination-info {
    color: var(--neo-text-2) !important;
}

.page-btn {
    color: var(--neo-text-2) !important;
    background: rgba(19, 19, 21, 0.8) !important;
    border-color: rgba(255, 46, 46, 0.16) !important;
}

.page-btn:hover:not(:disabled) {
    color: var(--neo-cyan) !important;
    border-color: rgba(255, 46, 46, 0.5) !important;
    background: rgba(255, 46, 46, 0.09) !important;
    box-shadow: 0 0 14px rgba(255, 46, 46, 0.16) !important;
}

.page-btn:disabled {
    color: var(--neo-text-3) !important;
    background: rgba(14, 14, 16, 0.6) !important;
    border-color: rgba(255, 46, 46, 0.07) !important;
}

.page-number-box {
    color: var(--neo-text) !important;
}

.page-size-select {
    color: var(--neo-text) !important;
    background-color: rgba(14, 14, 16, 0.72) !important;
    border-color: rgba(255, 46, 46, 0.16) !important;
}

/* ============================================================
   弹窗
   ============================================================ */

.modal-mask,
.admin-modal-mask {
    background: rgba(2, 2, 3, 0.72) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-box,
.admin-modal {
    border: 1px solid var(--neo-line-strong) !important;
    border-radius: 12px !important;
    background:
        linear-gradient(160deg, rgba(24, 24, 26, 0.97), rgba(12, 12, 14, 0.98)) !important;
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 46, 46, 0.08),
        0 0 44px rgba(255, 46, 46, 0.08) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
}

.modal-box::before,
.admin-modal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neo-gradient);
    opacity: 0.8;
    box-shadow: 0 0 16px rgba(255, 46, 46, 0.4);
}

.modal-header,
.admin-modal-header {
    color: var(--neo-text) !important;
    border-bottom-color: rgba(255, 46, 46, 0.12) !important;
    background: rgba(19, 19, 21, 0.7) !important;
}

.modal-title {
    color: var(--neo-text) !important;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.modal-close {
    color: var(--neo-text-3) !important;
}

.modal-close:hover {
    color: var(--neo-cyan) !important;
}

.modal-body {
    color: var(--neo-text-2) !important;
}

.modal-footer,
.admin-modal-footer {
    border-top-color: rgba(255, 46, 46, 0.12) !important;
    background: rgba(15, 15, 17, 0.7) !important;
}

/* 弹窗内说明文字 */
.modal-tip,
.detail-item {
    color: var(--neo-text-2) !important;
}

.detail-label {
    color: var(--neo-text-3) !important;
}

/* ============================================================
   Toast 提示
   ============================================================ */

.toast {
    color: var(--neo-text) !important;
    background: rgba(16, 16, 18, 0.96) !important;
    border: 1px solid var(--neo-line) !important;
    border-radius: 10px !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.toast-success {
    border-color: rgba(16, 201, 155, 0.5) !important;
    color: #7df0d4 !important;
    box-shadow: 0 0 26px rgba(16, 201, 155, 0.14) !important;
}

.toast-warning {
    border-color: rgba(230, 162, 60, 0.5) !important;
    color: #ffd9a0 !important;
}

.toast-error {
    border-color: rgba(255, 107, 129, 0.5) !important;
    color: #ff9aa6 !important;
}

/* ============================================================
   系统设置页
   ============================================================ */

.settings-card,
.settings-info-panel {
    border-color: var(--neo-line) !important;
}

.settings-card-header {
    color: var(--neo-text) !important;
}

.settings-card-icon {
    color: var(--neo-cyan) !important;
    border: 1px solid rgba(255, 46, 46, 0.24) !important;
    background: rgba(255, 46, 46, 0.08) !important;
    box-shadow: 0 0 18px rgba(255, 46, 46, 0.14) !important;
}

.settings-secret-meta > div,
.settings-info-item,
.settings-confirm-preview {
    color: var(--neo-text-2) !important;
    border: 1px solid rgba(255, 46, 46, 0.11) !important;
    border-radius: 6px !important;
    background:
        linear-gradient(135deg, rgba(19, 19, 21, 0.8), rgba(12, 12, 14, 0.85)) !important;
}

.settings-warning-box,
.settings-confirm-warning {
    color: #ffd9a0 !important;
    border-left-color: #e6a23c !important;
    background: rgba(230, 162, 60, 0.06) !important;
}

.settings-input-button {
    color: var(--neo-cyan) !important;
    background: rgba(255, 46, 46, 0.07) !important;
    border-color: rgba(255, 46, 46, 0.22) !important;
}

.settings-input-button:hover {
    background: rgba(255, 46, 46, 0.14) !important;
    box-shadow: 0 0 14px rgba(255, 46, 46, 0.16);
}

/* ============================================================
   其它数据页细节
   ============================================================ */

/* 卡密号列等强数据感 */
.card-no-cell,
.card-no-column {
    font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
    color: var(--neo-cyan) !important;
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px rgba(255, 46, 46, 0.18);
}

/* 状态标签通用 */
.status-tag,
.tag {
    border-radius: 999px !important;
}

/* 空状态 */
.empty-tip,
.no-data {
    color: var(--neo-text-3) !important;
}

/* 复选框 */
input[type="checkbox"] {
    accent-color: var(--neo-cyan);
}

/* 表格选中行 */
tr.selected,
tr.active-row {
    background: rgba(255, 46, 46, 0.06) !important;
}

/* 链接 */
a {
    color: var(--neo-cyan);
}

/* ============================================================
   动画
   ============================================================ */

@keyframes neo-pulse {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}

@keyframes tech-refresh {
    to { transform: rotate(360deg); }
}
