﻿
        /* 通用样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Helvetica", "Tahoma", "Arial", "PingFang SC", "Microsoft Yahei", "SimSun", "SimHei", "sans-serif";
        }
        
        body {
            padding: 15px;
            background-color: #eeeeee;
            color: #333;
            font-size: 14px;
            line-height: 1.6;
        }
        
        /* Toast 消息动画 */
        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        
        @keyframes slideOut {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }
        
        .toast-message {
            animation: slideIn 0.3s ease-out;
        }
        
        .toast-message.fade-out {
            animation: slideOut 0.3s ease-out;
        }
        
        /* 顶部导航栏 */
        .top-nav {
            background-color: #fff;
            border-bottom: 1px solid #e5e5e5;
            padding: 0 20px;
        }
        .nav-links {
            display: flex;
            list-style: none;
        }
        .nav-links li {
            margin-right: 45px;
        }
        .nav-links a {
            display: inline-block;
            color: #333;
            text-decoration: none;
            padding: 15px 0;
        }
        .nav-links a:hover {
            color: #1890ff;
        }
        .user-actions {
            margin-left: auto;
            display: flex;
            align-items: center;
        }
        .console-btn {
            background: #f5f5f5;
            border: none;
            padding: 6px 12px;
            border-radius: 4px;
            margin-right: 10px;
            cursor: pointer;
        }
        .logout-btn {
            background: #ff4d4f;
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 4px;
            cursor: pointer;
        }
        
        .back-btn {
            position: absolute;
            left: 10px; /* 调整左间距，适配内边距 */
            display: flex;
            align-items: center;
            gap: 5px;
            color: #333;
            text-decoration: none;
            font-size: 14px;
        }
        .app-title {
            font-size: 16px;
            font-weight: 600;
        }
        /* 提示栏 */
        .tip-bar {
            background-color: #fff;
            border: 1px solid #eee;
            padding: 8px;
            margin-bottom: 5px;
            color: #f00;
            font-size: 14px;
            line-height: 1.5;
        }
        /* 搜索与操作栏 - 进一步缩短输入框宽度 */
        .search-bar {
            display: flex;
            gap: 8px;
            margin-bottom: 10px;
            align-items: center;
            flex-wrap: wrap; /* 适配小屏幕，防止溢出 */
        }
        .search-input {
            width: 200px; /* 从280px调整为200px，更短的宽度 */
            max-width: 100%; /* 小屏幕下自适应 */
            padding: 8px 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            outline: none;
        }
        .search-input:focus {
            border-color: #007bff;
        }
        .btn {
            padding: 8px 16px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.2s;
        }
        .btn-blur {
            background-color: #e6e6e6;
            color: #333;
        }
        .btn-blur:hover {
            background-color: #dcdcdc;
        }
        .btn-upload {
            background-color: #007bff;
            color: #fff;
        }
        .btn-upload:hover {
            background-color: #0069d9;
        }

        /* 编辑页面样式 */
        .edit-container {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        .beta-tag {
            background-color: #28a745;
            color: white;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 12px;
            margin-left: 8px;
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #333;
        }
        .form-label .required {
            color: #dc3545;
            margin-right: 4px;
        }
        .form-control {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        }
        .form-control:focus {
            border-color: #007bff;
            outline: 0;
            box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
        }
        .form-text {
            display: block;
            margin-top: 4px;
            font-size: 12px;
            color: #6c757d;
        }
        .gap-2 {
            gap: 8px !important;
        }
        .gap-3 {
            gap: 12px !important;
        }
        .max-w-2xl {
            max-width: 672px;
        }

        
        /* 头部样式 */
        .header {
            display: flex;
            align-items: center;
            padding: 15px 15px; /* 移动端减小上下内边距 */
            border-bottom: 1px solid #eee;
            position: fixed; /* 固定在顶部 */
            top: 0;
            left: 0;
            right: 0;
            z-index: 100; /* 保证头部在导航之上 */
            background-color: #fff;
            
        }
        .logo {
            font-size: 18px; /* 移动端缩小字体 */
            font-weight: bold;
            color: #333;
            margin-right: 15px;
        }
        /* 汉堡菜单按钮（仅移动端显示） */
        .hamburger {
            width: 30px;
            height: 30px;
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 4px;
            cursor: pointer;
            margin-right: 15px;
        }
        .hamburger span {
            width: 24px;
            height: 2px;
            background-color: #333;
            border-radius: 1px;
            transition: all 0.3s ease;
        }
        .header-info {
            font-size: 15px; /* 移动端缩小字体 */
            color: #666;
            display: flex;
            align-items: center;
            justify-content: space-between; /* 左右分布 */
            gap: 20px; /* 移动端减小间距 */
            flex: 1;
            overflow: auto; /* 防止内容溢出 */
            white-space: nowrap; /* 禁止换行 */
            margin-left: 70px;
        }
        .header-info span {
            margin: 0;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }
        .header-btn {
            background-color: #0066cc;
            color: #fff;
            border: none;
            padding: 2px 6px; /* 移动端缩小按钮 */
            border-radius: 3px;
            cursor: pointer;
            font-size: 13px;
        }
        .switch-front {
            font-size: 11px;
            color: #0066cc;
            cursor: pointer;
            margin-left: 8px;
            white-space: nowrap;
        }
       
      
        /* 左侧风琴式导航样式 */
        .sidebar {
            width: 180px;
            border-right: 1px solid #eee;
            padding: 10px 0;
            background-color: #fafafa;
            transition: transform 0.3s ease;
            position: fixed; /* 固定导航栏 */
            top: 62px; /* 对应头部高度 */
            left: 0;
            height: calc(100vh - 62px);
            z-index: 90;
            overflow-y: auto; /* 导航内容过多时可滚动 */
        }
        /* 子菜单容器 */
        .sidebar-children {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        /* 父菜单样式 */
        .sidebar-parent {
            font-size: 14px;
            cursor: pointer;
            color: #666;
            transition: background-color 0.2s;
            padding: 12px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .sidebar-parent.active {
            background-color: #e6f7ff;
            color: #0066cc;
            font-weight: bold;
        }
        .sidebar-parent:hover {
            background-color: #f0f0f0;
        }
        /* 箭头图标 */
        .arrow {
            font-size: 10px;
            transition: transform 0.2s;
        }
        .arrow.rotate {
            transform: rotate(90deg);
        }
        /* 子菜单样式 */
        .sidebar-child {
            padding: 10px 20px 10px 30px;
            font-size: 13px;
            cursor: pointer;
            color: #666;
            transition: background-color 0.2s;
            text-decoration: none;
            display: block;
        }
        .sidebar-child.active {
            color: #ffffff;
            font-weight: bold;
            background-color: #007bff;
        }
        .sidebar-child:hover {
            /*background-color: #939393;*/
        }
        /* 标签样式 */
        .tag {
            background-color: #0066cc;
            color: #fff;
            font-size: 10px;
            padding: 1px 3px;
            border-radius: 2px;
            margin-left: 5px;
        }
        /* 右侧内容区 */
        .main-content {
            flex: 1;
            padding: 5px;
            margin-left: 220px; /* 对应导航栏宽度 */
            margin-top: 58px; /* 为固定头部留出空间 */
            transition: margin-left 0.3s ease;
            /*min-height: calc(100vh - 62px);*/
            background-color: #ffffff;
        }
        /* 遮罩层（移动端导航展开时显示） */
        .mask {
            position: fixed;
            top: 62px;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.3);
            z-index: 80;
            display: none;
        }

        /* 响应式适配：屏幕宽度小于768px（移动端） */
        @media (max-width: 767px) {
            /* 显示汉堡菜单 */
            .hamburger {
                display: flex;
            }
            /* 头部信息区域优先级调整 */
            .header-info {
                gap: 5px;
                margin-right: 10px;
                margin-left: 0px;
            }
            /* 移动端导航栏默认隐藏 */
            .sidebar {
                transform: translateX(-100%);
                width: 240px; /* 移动端加宽导航栏，方便点击 */
            }
            /* 导航栏展开状态 */
            .sidebar.show {
                transform: translateX(0);
            }
            /* 内容区无左侧边距 */
            .main-content {
                margin-left: 0;
            }
            /* 显示遮罩层 */
            .mask.show {
                display: block;
            }
            /* 头部部分元素自适应隐藏（极小屏） */
            @media (max-width: 420px) {
                .header-info span:nth-child(4) {
                    display: none; /* 隐藏内部通知 */
                }
            }
            @media (max-width: 375px) {
                .header-info span:nth-child(3) {
                    display: none; /* 更小屏隐藏剩余下载 */
                }
            }
        }

        /* 平板适配：768px-992px */
        @media (min-width: 768px) and (max-width: 991px) {
            .sidebar {
                width: 160px;
            }
            .main-content {
                margin-left: 160px;
            }
            .header-info {
                gap: 6px;
            }
        }
        
        /* 英雄区样式 */
        .hero-section {
            background: linear-gradient(135deg, #1a3d7c 0%, #2c5aa0 100%);
            color: white;
            padding: 80px 0;
            margin: -20px -15px 30px -15px;
            border-radius: 0 0 20px 20px;
        }
        
        .hero-title {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .hero-subtitle {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }
        
        .feature-highlight {
            background: rgba(255,255,255,0.1);
            padding: 15px 20px;
            border-radius: 10px;
            margin: 10px 0;
            backdrop-filter: blur(10px);
        }
        
        /* 核心服务卡片 */
        .service-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            border: none;
            margin-bottom: 30px;
        }
        
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        
        .service-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            background: linear-gradient(45deg, #1a3d7c, #4CAF50);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        /* 统计数据 */
        .stat-card {
            background: white;
            border-radius: 10px;
            padding: 25px;
            text-align: center;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .stat-card:hover {
            transform: translateY(-5px);
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: #1a3d7c;
        }
        
        .stat-label {
            color: #6c757d;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        /* 按钮样式 */
        .btn-hero {
            padding: 15px 30px;
            font-size: 1.1rem;
            border-radius: 50px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            border: none;
            text-decoration: none;
            display: inline-block;
        }
        
        .btn-primary-custom {
            background: linear-gradient(45deg, #ff6600, #ff8533);
            color: white;
            box-shadow: 0 4px 15px rgba(255,102,0,0.3);
        }
        
        .btn-primary-custom:hover {
            background: linear-gradient(45deg, #ff8533, #ff6600);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255,102,0,0.4);
        }
        
        .btn-outline-custom {
            background: transparent;
            color: white;
            border: 2px solid white;
        }
        
        .btn-outline-custom:hover {
            background: white;
            color: #1a3d7c;
            transform: translateY(-2px);
        }
        
        /* 应用卡片 */
        .app-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            border: none;
            height: 100%;
        }
        
        .app-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.15);
        }
        
        .app-icon {
            width: 60px;
            height: 60px;
            border-radius: 15px;
            background: linear-gradient(45deg, #1a3d7c, #4CAF50);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2rem;
            }
            .hero-subtitle {
                font-size: 1.1rem;
            }
            .hero-section {
                padding: 60px 0 40px 0;
                margin: -15px -15px 20px -15px;
            }
        }
        
        /* 边框辅助类 */
        .border-left-primary { border-left: 4px solid #1a3d7c !important; }
        .border-left-success { border-left: 4px solid #28a745 !important; }
        .border-left-info { border-left: 4px solid #17a2b8 !important; }
        .border-left-warning { border-left: 4px solid #ffc107 !important; }
        
        .text-gray-800 { color: #5a5c69 !important; }
        .text-gray-300 { color: #dddfeb !important; }
        .text-xs { font-size: 0.7rem; }
        .font-weight-bold { font-weight: 700 !important; }
        .text-uppercase { text-transform: uppercase !important; }
        
        /* 导航样式 */
        .navbar-brand {
            font-weight: bold;
            font-size: 1.5rem;
        }
        
        .nav-link.active {
            font-weight: bold !important;
        }
        
        .nav-link {
            font-weight: 500;
            transition: color 0.3s ease;
        }
        
        .nav-link:hover {
            color: rgba(255,255,255,0.8) !important;
        }
        
        /* 上传区域 */
        .upload-area {
            border: 2px dashed #dee2e6;
            border-radius: 15px;
            padding: 40px;
            text-align: center;
            transition: all 0.3s ease;
            background: white;
        }
        .upload-area:hover {
            /*border-color: #1a3d7c;*/
            /*background-color: #f8f9ff;*/
            /*transform: translateY(-2px);*/
        }
    
        .info-grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 1.5rem;
            gap-x: 2rem;
            gap-y: 1.5rem;
            margin: 2rem 0;
        }
        
        @media (min-width: 768px) {
            .info-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        .info-item {
            word-break: break-all;
        }
        
        .info-label {
            color: #4e5969;
            font-size: 0.875rem;
            font-weight: 500;
            margin-bottom: 0.25rem;
            display: flex;
            align-items: center;
        }
        
        .info-label::before {
            content: "|";
            color: #165DFF;
            margin-right: 0.5rem;
            font-size: 0.75rem;
        }
        
        .copy-btn {
            color: #165DFF;
            font-size: 0.75rem;
            padding: 0.125rem 0.5rem;
            border: 1px solid rgba(22, 93, 255, 0.3);
            border-radius: 0.25rem;
            margin-left: 0.5rem;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .copy-btn:hover {
            background-color: rgba(22, 93, 255, 0.05);
        }
        
        .tab-active {
            color: #165DFF;
            border-bottom: 2px solid #165DFF;
            font-weight: 500;
        }
        
        .beta-tag {
            background-color: #FF7D00;
            color: white;
            font-size: 0.75rem;
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
            margin-left: 0.5rem;
        }
        
        .cancel-tag {
            border: 2px solid #F53F3F;
            color: #F53F3F;
            font-size: 0.875rem;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-weight: 500;
        }
        
        /* 编辑页面样式 */
        .edit-container {
            background: white;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            border: 1px solid #e5e6eb;
            max-width: 5xl;
            margin: 0 auto 1.5rem;
            overflow: hidden;
        }
        
        .form-group {
            margin-bottom: 1.25rem;
        }
        
        .form-label {
            display: block;
            color: #4e5969;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
            flex items: center;
        }
        
        .form-label .required {
            color: #F53F3F;
            margin-right: 0.25rem;
        }
        
        .form-control {
            width: 100%;
            padding: 0.5rem 0.75rem;
            border: 1px solid #d9d9d9;
            border-radius: 6px;
            outline: none;
            transition: all 0.2s;
        }
        
        .form-control:focus {
            border-color: #165DFF;
            box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1);
        }
        
        .sub-tab-active {
            color: #165DFF;
            border-bottom: 2px solid #165DFF;
            font-weight: 500;
        }
        
        /* 密码页面样式 */
        .password-container {
            /*min-height: calc(100vh - 2rem);*/
            background: #f9fafb;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }
        
        .password-card {
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 448px;
            overflow: hidden;
        }
        
        .card-header {
            /*background: #165DFF;*/
            /*color: white;*/
            padding: 1.5rem;
        }
        
        .password-form {
            padding: 1.5rem;
        }
        
        .password-form .form-group {
            margin-bottom: 1.25rem;
        }
        
        .password-form .form-label {
            display: block;
            color: #4e5969;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }
        
        .password-form .form-control {
            width: 100%;
            padding: 0.625rem 1rem;
            border: 1px solid #d9d9d9;
            border-radius: 6px;
            outline: none;
            transition: all 0.2s;
            font-size: 0.875rem;
        }
        
        .password-form .form-control:focus {
            border-color: #165DFF;
            box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1);
        }
        
        .password-form .form-control.error {
            border-color: #F53F3F;
            box-shadow: 0 0 0 2px rgba(245, 63, 63, 0.1);
        }
        
        .error-message {
            color: #F53F3F;
            font-size: 0.75rem;
            margin-top: 0.25rem;
            display: none;
        }
        
        .error-message.show {
            display: block;
        }
        
        .password-hint {
            color: #86909C;
            font-size: 0.75rem;
            margin-top: 0.375rem;
            display: flex;
            align-items: center;
        }
        
        .btn-submit {
            width: 100%;
            background: #165DFF;
            color: white;
            font-weight: 500;
            padding: 0.625rem 1rem;
            border-radius: 6px;
            transition: all 0.2s;
            margin-top: 0.5rem;
            border: none;
            cursor: pointer;
        }
        
        .btn-submit:hover {
            background: #0E42D2;
        }
        
        .btn-submit:disabled {
            background: #86909C;
            cursor: not-allowed;
        }
        
        .password-input-wrapper {
            position: relative;
        }
        
        .toggle-password {
            position: absolute;
            right: 0.75rem;
            top: 50%;
            transform: translateY(-50%);
            color: #86909C;
            cursor: pointer;
            border: none;
            background: none;
            padding: 0.25rem;
        }
        
        .toggle-password:hover {
            color: #4E5969;
        }
        
        .alert-box {
            background: #FFF7E6;
            border: 1px solid #FFD591;
            color: #D46B08;
            padding: 0.75rem 1rem;
            border-radius: 6px;
            font-size: 0.875rem;
            display: flex;
            align-items: center;
            margin-bottom: 1.25rem;
        }
        
        .alert-box i {
            margin-right: 0.5rem;
        }
        
        /* 仪表盘样式 */
        .dashboard-container {
            background: #f9fafb;
            padding: 1rem;
            min-height: calc(100vh - 2rem);
        }
        
        .stat-card {
            background: white;
            border-radius: 8px;
            padding: 1.25rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            transition: all 0.3s;
            height: 100%;
        }
        
        .stat-card:hover {
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .stat-title {
            color: #4e5969;
            font-size: 0.875rem;
            font-weight: 500;
        }
        
        .stat-value {
            font-size: 1.5rem;
            font-weight: 700;
            margin-top: 0.25rem;
            margin-bottom: 0.5rem;
            color: #1d2129;
        }
        
        .stat-link {
            color: #165DFF;
            font-size: 0.875rem;
            display: flex;
            align-items: center;
            text-decoration: none;
            transition: text-decoration 0.2s;
        }
        
        .stat-link:hover {
            text-decoration: underline;
        }
        
        .stat-icon {
            width: 2rem;
            height: 2rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.875rem;
        }
        
        .chart-container {
            background: white;
            border-radius: 8px;
            padding: 1.25rem;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            margin-top: 1.5rem;
        }
        
        .chart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .chart-title {
            color: #4e5969;
            font-weight: 500;
            font-size: 0.875rem;
        }
        
        .chart-link {
            color: #165DFF;
            font-size: 0.875rem;
            text-decoration: none;
            transition: text-decoration 0.2s;
        }
        
        .chart-link:hover {
            text-decoration: underline;
        }
        
        .dashboard-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.25rem;
        }
        
        .dashboard-charts {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
        }
        
        @media (min-width: 768px) {
            .dashboard-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .dashboard-charts {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (min-width: 1024px) {
            .dashboard-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        
        /* 移动端适配 */
        @media (max-width: 767px) {
            .dashboard-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 480px) {
            .dashboard-grid {
                grid-template-columns: 1fr;
            }
        }
        

 