/* ============================================
   麦微云建站系统 - 后台样式 v4.0 LIGHT SCI-FI
   浅色透明 · 霓虹点缀 · 科技感
   ============================================ */

:root {
    --neon-cyan: #00a8cc;
    --neon-blue: #2563eb;
    --neon-purple: #7c3aed;
    --neon-pink: #db2777;
    --neon-red: #dc2626;
    --neon-green: #059669;
    --neon-orange: #d97706;

    --bg-deep: #f0f4f8;
    --bg-dark: #ffffff;
    --bg-panel: rgba(255, 255, 255, 0.75);
    --bg-card: rgba(255, 255, 255, 0.6);
    --bg-hover: rgba(0, 168, 204, 0.08);

    --text-primary: #1a2332;
    --text-secondary: #4a5a6e;
    --text-muted: #8a9aac;
    --text-glow: #00a8cc;

    --border-glow: rgba(0, 168, 204, 0.35);
    --border-subtle: rgba(0, 168, 204, 0.15);
    --border-dark: rgba(0, 0, 0, 0.08);

    --glow-cyan: 0 0 20px rgba(0, 168, 204, 0.25), 0 0 40px rgba(0, 168, 204, 0.1);
    --glow-red: 0 0 20px rgba(220, 38, 38, 0.25), 0 0 40px rgba(220, 38, 38, 0.1);
    --glow-green: 0 0 20px rgba(5, 150, 105, 0.25), 0 0 40px rgba(5, 150, 105, 0.1);

    --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 8px 32px rgba(0, 168, 204, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);

    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 14px;

    --font-mono: 'Consolas', 'Monaco', 'Courier New', monospace;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 50%, #f0f4f8 100%);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 全局动态网格背景 */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(0, 168, 204, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 168, 204, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
    animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

/* 扫描线效果 */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 204, 0.4), transparent);
    opacity: 0.2;
    pointer-events: none;
    z-index: 9999;
    animation: scanLine 6s linear infinite;
}
@keyframes scanLine {
    0% { top: -2px; opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { top: 100%; opacity: 0; }
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.03); }
::-webkit-scrollbar-thumb { background: rgba(0, 168, 204, 0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 168, 204, 0.45); }

/* ============================================
   登录页面 - 浅色科幻风格
   ============================================ */
.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f4f8 0%, #f0e8f8 50%, #f8f0e8 100%);
    position: relative;
    overflow: hidden;
}
.login-body::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 168, 204, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(219, 39, 119, 0.05) 0%, transparent 50%);
    animation: bgFloat 15s ease-in-out infinite;
}
@keyframes bgFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -20px) rotate(1deg); }
    66% { transform: translate(-15px, 15px) rotate(-0.5deg); }
}
.login-container {
    width: 100%; max-width: 440px;
    padding: 20px;
    position: relative; z-index: 1;
    animation: loginFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes loginFadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.login-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 168, 204, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
    position: relative;
    overflow: hidden;
}
/* HUD角标 */
.login-box::before,
.login-box::after {
    content: '';
    position: absolute;
    width: 24px; height: 24px;
    border: 2px solid var(--neon-cyan);
}
.login-box::before {
    top: -1px; left: -1px;
    border-right: none; border-bottom: none;
    border-radius: var(--radius-lg) 0 0 0;
}
.login-box::after {
    bottom: -1px; right: -1px;
    border-left: none; border-top: none;
    border-radius: 0 0 var(--radius-lg) 0;
}
.login-logo { text-align: center; margin-bottom: 8px; }
.login-logo-icon {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 800; color: #fff;
    box-shadow: 0 8px 24px rgba(0, 168, 204, 0.35);
    position: relative;
}
.login-logo-icon::after {
    content: '';
    position: absolute;
    top: -3px; left: -3px; right: -3px; bottom: -3px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    z-index: -1;
    filter: blur(15px);
    opacity: 0.4;
    animation: logoGlow 3s ease-in-out infinite;
}
@keyframes logoGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.08); }
}
.login-logo h2 {
    font-size: 26px; font-weight: 700;
    background: linear-gradient(135deg, #1a2332, var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
}
.login-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 36px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.login-form .form-group { margin-bottom: 20px; }
.login-form .form-group label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.login-input-wrap { position: relative; }
.login-input-wrap .input-icon {
    position: absolute;
    left: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--neon-cyan);
    z-index: 1;
    opacity: 0.7;
}
.login-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}
.login-input::placeholder { color: var(--text-muted); }
.login-input:focus {
    border-color: var(--neon-cyan);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.12), inset 0 0 20px rgba(0, 168, 204, 0.03);
}
.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    letter-spacing: 4px;
    margin-top: 8px;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(0, 168, 204, 0.3);
}
.login-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}
.login-btn:hover::before { left: 100%; }
.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 168, 204, 0.4);
}
.login-btn:active { transform: translateY(0); }
.login-tip {
    text-align: center;
    color: var(--text-muted);
    font-size: 11px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-dark);
    letter-spacing: 1px;
}
.login-error {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    color: var(--neon-red);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================
   后台布局 - 浅色科幻风格
   ============================================ */
.admin-layout { display: flex; min-height: 100vh; position: relative; z-index: 1; }

/* 侧边栏 */
.admin-sidebar {
    width: 240px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(0, 168, 204, 0.15);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.04);
}
.admin-sidebar::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--neon-cyan), transparent);
    opacity: 0.4;
}
.sidebar-logo {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-dark);
    position: relative;
}
.sidebar-logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 168, 204, 0.3);
    flex-shrink: 0;
}
.sidebar-logo-text {
    font-size: 17px; font-weight: 700;
    background: linear-gradient(135deg, #1a2332, var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}
.sidebar-logo-sub {
    font-size: 9px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.sidebar-menu {
    flex: 1;
    padding: 12px 10px;
    overflow-y: auto;
    overflow-x: hidden;
}
.sidebar-section-title {
    font-size: 10px;
    color: var(--text-muted);
    padding: 14px 12px 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.8;
}
.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
    border-radius: var(--radius-md);
    margin-bottom: 2px;
    position: relative;
    overflow: hidden;
}
.menu-item::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 3px; height: 0;
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-blue));
    border-radius: 0 3px 3px 0;
    transition: height 0.3s;
    box-shadow: 0 0 8px var(--neon-cyan);
}
.menu-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    transform: translateX(4px);
}
.menu-item:hover::before { height: 60%; }
.menu-item.active {
    background: linear-gradient(90deg, rgba(0, 168, 204, 0.12), rgba(0, 168, 204, 0.02));
    color: var(--neon-cyan);
    box-shadow: inset 0 0 20px rgba(0, 168, 204, 0.04);
    font-weight: 600;
}
.menu-item.active::before { height: 60%; }
.menu-item.active .menu-icon {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 168, 204, 0.3);
}
.menu-icon {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 168, 204, 0.08);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
    flex-shrink: 0;
    color: var(--text-secondary);
}
.menu-text { flex: 1; font-weight: 500; }
.sidebar-footer {
    border-top: 1px solid var(--border-dark);
    padding: 10px;
}

/* 主内容区 */
.admin-main {
    flex: 1;
    margin-left: 240px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 顶部栏 */
.admin-topbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    border-bottom: 1px solid rgba(0, 168, 204, 0.12);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.topbar-title::before {
    content: '';
    width: 4px; height: 20px;
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-blue));
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 168, 204, 0.4);
}
.topbar-breadcrumb {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
}
.topbar-breadcrumb a { color: var(--text-secondary); }
.topbar-breadcrumb a:hover { color: var(--neon-cyan); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-action {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
}
.topbar-action:hover {
    background: var(--bg-hover);
    color: var(--neon-cyan);
}
.topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    border-radius: 30px;
    background: rgba(0, 168, 204, 0.08);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: var(--transition);
}
.topbar-user:hover { border-color: var(--border-glow); }
.topbar-avatar {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-weight: 700; font-size: 13px;
}
.topbar-username { font-size: 13px; font-weight: 600; color: var(--text-primary); }

.admin-content { padding: 28px; flex: 1; }

/* 提示框 */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}
.alert-success {
    background: rgba(5, 150, 105, 0.08);
    color: var(--neon-green);
    border: 1px solid rgba(5, 150, 105, 0.25);
}
.alert-error {
    background: rgba(220, 38, 38, 0.08);
    color: var(--neon-red);
    border: 1px solid rgba(220, 38, 38, 0.25);
}

/* ============================================
   面板 - 浅色HUD风格
   ============================================ */
.panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    transition: var(--transition);
}
.panel:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-hover);
}
/* HUD角标 */
.panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 24px; height: 24px;
    border-top: 2px solid var(--neon-cyan);
    border-left: 2px solid var(--neon-cyan);
    border-radius: var(--radius-lg) 0 0 0;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}
.panel-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(0, 168, 204, 0.04), transparent);
}
.panel-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}
.panel-header h3::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-cyan);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.panel-actions { display: flex; gap: 10px; align-items: center; }
.panel-body { padding: 24px; }
.panel-row { display: flex; gap: 20px; }
.panel-row .panel { flex: 1; }

/* ============================================
   表单 - 浅色风格
   ============================================ */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.form-group .required { color: var(--neon-red); margin-left: 2px; }
.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: var(--transition);
    font-family: inherit;
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-primary);
    outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.1);
    background: rgba(255, 255, 255, 0.95);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 100px; line-height: 1.7; }
.form-input-sm { padding: 7px 12px; font-size: 13px; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-dark);
}
.form-tip { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-primary);
    transition: var(--transition);
    text-decoration: none;
}
.btn:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    background: rgba(0, 168, 204, 0.06);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 168, 204, 0.12);
}
.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 12px rgba(0, 168, 204, 0.25);
}
.btn-primary:hover {
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 168, 204, 0.35);
    transform: translateY(-2px);
}
.btn-success {
    background: linear-gradient(135deg, var(--neon-green), #047857);
    color: #fff;
    border-color: transparent;
}
.btn-success:hover { color: #fff; box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3); }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-xs { padding: 4px 10px; font-size: 11px; border-radius: 6px; }
.btn-block { width: 100%; }
.btn-link {
    border: none;
    background: none;
    color: var(--neon-cyan);
    padding: 6px 10px;
    box-shadow: none;
}
.btn-link:hover { color: var(--neon-blue); background: none; transform: none; box-shadow: none; }
.btn-danger { color: var(--neon-red); }
.btn-danger:hover { background: rgba(220, 38, 38, 0.08); border-color: var(--neon-red); color: var(--neon-red); box-shadow: none; }

/* ============================================
   统计卡片 - 浅色风格
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    opacity: 0.6;
}
.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-hover);
}
.stat-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    flex-shrink: 0;
    position: relative;
}
.stat-card-1 .stat-icon-wrap { background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue)); box-shadow: 0 4px 16px rgba(0, 168, 204, 0.3); }
.stat-card-2 .stat-icon-wrap { background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink)); box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3); }
.stat-card-3 .stat-icon-wrap { background: linear-gradient(135deg, var(--neon-orange), var(--neon-red)); box-shadow: 0 4px 16px rgba(217, 119, 6, 0.3); }
.stat-card-4 .stat-icon-wrap { background: linear-gradient(135deg, var(--neon-green), #047857); box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3); }
.stat-icon-wrap svg { width: 24px; height: 24px; }
.stat-info { flex: 1; min-width: 0; }
.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    font-family: var(--font-mono);
}
.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
    letter-spacing: 1px;
}
.stat-trend {
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    flex-shrink: 0;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}
.stat-card-1 .stat-trend { background: rgba(0, 168, 204, 0.1); color: var(--neon-cyan); border: 1px solid rgba(0, 168, 204, 0.2); }
.stat-card-2 .stat-trend { background: rgba(124, 58, 237, 0.1); color: var(--neon-purple); border: 1px solid rgba(124, 58, 237, 0.2); }
.stat-card-3 .stat-trend { background: rgba(217, 119, 6, 0.1); color: var(--neon-orange); border: 1px solid rgba(217, 119, 6, 0.2); }
.stat-card-4 .stat-trend { background: rgba(5, 150, 105, 0.1); color: var(--neon-green); border: 1px solid rgba(5, 150, 105, 0.2); }

/* 欢迎横幅 */
.welcome-banner {
    background: linear-gradient(135deg, rgba(0, 168, 204, 0.08), rgba(124, 58, 237, 0.06));
    border: 1px solid rgba(0, 168, 204, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.welcome-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0, 168, 204, 0.15), transparent 70%);
    border-radius: 50%;
    animation: bannerGlow 4s ease-in-out infinite;
}
@keyframes bannerGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}
.welcome-content { position: relative; z-index: 1; }
.welcome-content h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.welcome-content p { color: var(--text-secondary); font-size: 14px; }
.welcome-actions { display: flex; gap: 12px; position: relative; z-index: 1; }

/* 数据表格 */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 168, 204, 0.05);
    border-bottom: 1px solid var(--border-glow);
}
.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-dark);
    font-size: 13px;
    color: var(--text-primary);
}
.data-table tbody tr { transition: var(--transition); }
.data-table tbody tr:hover { background: rgba(0, 168, 204, 0.04); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* 徽章 */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}
.badge-success { background: rgba(5, 150, 105, 0.1); color: var(--neon-green); border: 1px solid rgba(5, 150, 105, 0.25); }
.badge-warning { background: rgba(217, 119, 6, 0.1); color: var(--neon-orange); border: 1px solid rgba(217, 119, 6, 0.25); }
.badge-cat { background: rgba(0, 168, 204, 0.1); color: var(--neon-cyan); border: 1px solid rgba(0, 168, 204, 0.25); }

/* 空状态 */
.empty-text {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 20px;
    font-size: 14px;
}
.empty-state { text-align: center; padding: 40px 20px; }
.empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.empty-state p { color: var(--text-muted); font-size: 14px; }

/* 编辑器工具栏 */
.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px 12px;
    background: rgba(0, 168, 204, 0.05);
    border: 1px solid var(--border-subtle);
    border-bottom: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.editor-btn {
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}
.editor-btn:hover {
    background: rgba(0, 168, 204, 0.1);
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
}
.editor-textarea {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.7;
}

/* SEO面板 */
.seo-panel {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin-top: 24px;
    overflow: hidden;
}
.seo-panel-title {
    padding: 14px 18px;
    background: rgba(0, 168, 204, 0.06);
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}
.seo-panel-body {
    padding: 20px;
    border-top: 1px solid var(--border-dark);
}

/* 设置分区 */
.settings-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-dark);
}
.settings-section:last-child { border-bottom: none; margin-bottom: 0; }
.section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
    padding-left: 12px;
    border-left: 3px solid var(--neon-cyan);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

/* 生成页面 */
.generate-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.generate-info .info-item {
    padding: 20px;
    background: rgba(0, 168, 204, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}
.generate-info .info-item:hover { border-color: var(--border-glow); background: rgba(0, 168, 204, 0.08); }
.generate-info .info-label {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.generate-info .info-item span:last-child {
    font-size: 22px;
    font-weight: 800;
    color: var(--neon-cyan);
    font-family: var(--font-mono);
}
.generate-tips {
    background: rgba(217, 119, 6, 0.06);
    border: 1px solid rgba(217, 119, 6, 0.25);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin-bottom: 20px;
}
.generate-tips h4 {
    margin-bottom: 12px;
    color: var(--neon-orange);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}
.generate-tips ul { padding-left: 20px; }
.generate-tips li { margin-bottom: 8px; color: var(--text-secondary); font-size: 13px; line-height: 1.7; }
.generate-tips code {
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--neon-cyan);
    font-family: var(--font-mono);
    border: 1px solid var(--border-subtle);
}
.generate-result {
    background: rgba(5, 150, 105, 0.06);
    border: 1px solid rgba(5, 150, 105, 0.25);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}
.generate-result h4 {
    margin-bottom: 12px;
    color: var(--neon-green);
    font-size: 14px;
    font-weight: 700;
}
.generate-result ul { padding-left: 20px; }
.generate-result li { margin-bottom: 6px; color: var(--text-primary); font-size: 13px; }

/* 内容管理页面 */
.content-manager { margin-bottom: 20px; }
.content-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.content-tab {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
}
.content-tab:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    transform: translateY(-1px);
    background: rgba(0, 168, 204, 0.06);
}
.content-tab.active {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 168, 204, 0.25);
}
.content-tab-generate {
    margin-left: auto;
    background: linear-gradient(135deg, var(--neon-green), #047857);
    color: #fff;
    border-color: transparent;
}
.content-tab-generate:hover { color: #fff; box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3); }
.content-tip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(0, 168, 204, 0.06);
    border: 1px solid rgba(0, 168, 204, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}
.content-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.content-field { display: flex; flex-direction: column; }
.content-field:nth-child(odd):last-child { grid-column: span 2; }
.content-field-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}
.content-field-key {
    font-size: 10px;
    font-weight: 400;
    color: var(--text-muted);
    background: rgba(0, 168, 204, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    border: 1px solid var(--border-subtle);
}

/* 网站页面卡片 */
.page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
}
.page-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition);
    background: var(--bg-card);
    align-items: flex-start;
    backdrop-filter: blur(8px);
}
.page-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.page-card-icon {
    font-size: 28px;
    width: 48px;
    height: 48px;
    background: rgba(0, 168, 204, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.page-card-info { flex: 1; min-width: 0; }
.page-card-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.page-card-file {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-family: var(--font-mono);
    background: rgba(0, 0, 0, 0.04);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    border: 1px solid var(--border-subtle);
}
.page-card-meta { font-size: 11px; color: var(--text-muted); display: flex; gap: 12px; }
.page-card-actions { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }

/* 轮播图列表 */
.banner-list { display: flex; flex-direction: column; gap: 14px; }
.banner-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
}
.banner-item:hover { border-color: var(--neon-cyan); box-shadow: var(--shadow-hover); }
.banner-thumb {
    width: 140px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid var(--border-subtle);
}
.banner-info { flex: 1; min-width: 0; }
.banner-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.banner-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 10px; }
.banner-actions { display: flex; gap: 8px; }

/* 快捷操作 */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.quick-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
}
.quick-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: rgba(0, 168, 204, 0.04);
}
.quick-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.quick-icon-1 { background: rgba(0, 168, 204, 0.12); }
.quick-icon-2 { background: rgba(124, 58, 237, 0.12); }
.quick-icon-3 { background: rgba(217, 119, 6, 0.12); }
.quick-icon-4 { background: rgba(5, 150, 105, 0.12); }
.quick-icon-5 { background: rgba(220, 38, 38, 0.12); }
.quick-icon-6 { background: rgba(37, 99, 235, 0.12); }
.quick-text { display: flex; flex-direction: column; }
.quick-text strong { font-size: 13px; color: var(--text-primary); font-weight: 600; }
.quick-text span { font-size: 11px; color: var(--text-muted); }

/* 文章列表迷你 */
.article-list-mini { display: flex; flex-direction: column; }
.article-item-mini {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-dark);
    transition: var(--transition);
}
.article-item-mini:last-child { border-bottom: none; }
.article-item-mini:hover { padding-left: 8px; }
.article-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-cyan);
    margin-top: 6px;
    flex-shrink: 0;
    box-shadow: 0 0 6px var(--neon-cyan);
}
.article-item-info { flex: 1; min-width: 0; }
.article-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-item-title:hover { color: var(--neon-cyan); }
.article-item-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 11px;
    color: var(--text-muted);
}

/* 系统信息 */
.sys-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.sys-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    background: var(--bg-card);
}
.sys-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.sys-value { font-size: 14px; font-weight: 600; color: var(--text-primary); font-family: var(--font-mono); }

/* 网站页面卡片网格 */
.site-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.site-page-card {
    text-align: center;
    padding: 20px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
    background: var(--bg-card);
    backdrop-filter: blur(8px);
}
.site-page-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.site-page-icon { font-size: 32px; margin-bottom: 10px; }
.site-page-name { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.site-page-file { font-size: 11px; color: var(--text-muted); margin-bottom: 12px; font-family: var(--font-mono); }
.site-page-actions { display: flex; gap: 6px; justify-content: center; }

/* 图片上传 */
.image-upload-row { display: flex; gap: 10px; align-items: center; }
.image-upload-row .form-input { flex: 1; }
.preview-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--border-subtle);
}

/* 搜索表单 */
.search-form { display: flex; gap: 8px; align-items: center; }

/* 动画 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.admin-content > * {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.admin-content > *:nth-child(2) { animation-delay: 0.05s; }
.admin-content > *:nth-child(3) { animation-delay: 0.1s; }
.admin-content > *:nth-child(4) { animation-delay: 0.15s; }

/* 响应式 */
@media (max-width: 1200px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .generate-info { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
    .admin-sidebar { width: 70px; }
    .sidebar-logo-text, .sidebar-logo-sub, .menu-text, .sidebar-section-title { display: none; }
    .sidebar-logo { justify-content: center; padding: 20px 10px; }
    .menu-item { justify-content: center; padding: 12px; }
    .admin-main { margin-left: 70px; }
    .panel-row { flex-direction: column; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .sys-info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .admin-content { padding: 16px; }
    .stats-grid { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .welcome-banner { flex-direction: column; text-align: center; gap: 20px; }
    .welcome-actions { flex-direction: column; width: 100%; }
    .welcome-actions .btn { width: 100%; }
    .generate-info { grid-template-columns: 1fr; }
    .quick-grid { grid-template-columns: 1fr; }
    .sys-info-grid { grid-template-columns: 1fr; }
    .content-fields { grid-template-columns: 1fr; }
    .content-field:nth-child(odd):last-child { grid-column: span 1; }
    .topbar-breadcrumb { display: none; }
}
