        :root {
            --primary-color: #0066cc;
            --secondary-color: #00b050;
            --accent-color: #764ba2;
            --background-color: #f8f9fa;
            --sidebar-bg: #ffffff;
            --text-primary: #2c3e50;
            --text-secondary: #6c757d;
            --border-color: #e9ecef;
            --hover-color: #f1f3f4;
            --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            --success-color: #00b050;
            --warning-color: #ffc107;
            --danger-color: #dc3545;
            --info-color: #17a2b8;
        }

        /* 深色主题 */
        [data-theme="dark"] {
            --primary-color: #4da6ff;
            --secondary-color: #00d868;
            --accent-color: #9575ff;
            --background-color: #1a1a1a;
            --sidebar-bg: #2d2d2d;
            --text-primary: #ffffff;
            --text-secondary: #b0b0b0;
            --border-color: #404040;
            --hover-color: #3d3d3d;
            --shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            --success-color: #28a745;
            --warning-color: #ffc107;
            --danger-color: #dc3545;
            --info-color: #17a2b8;
        }

        /* 自动主题 - 跟随系统 */
        @media (prefers-color-scheme: dark) {
            [data-theme="auto"] {
                --primary-color: #4da6ff;
                --secondary-color: #00d868;
                --accent-color: #9575ff;
                --background-color: #1a1a1a;
                --sidebar-bg: #2d2d2d;
                --text-primary: #ffffff;
                --text-secondary: #b0b0b0;
                --border-color: #404040;
                --hover-color: #3d3d3d;
                --shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
                --success-color: #28a745;
                --warning-color: #ffc107;
                --danger-color: #dc3545;
                --info-color: #17a2b8;
            }
        }

        body {
            background: var(--background-color);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-size: 14px;
        }

        /* 顶部导航栏 */
        .top-navbar {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            box-shadow: var(--shadow);
            height: 64px;
            display: flex;
            align-items: center;
            padding: 0 24px;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
        }

        /* 深色模式导航栏 */
        [data-theme="dark"] .top-navbar {
            background: linear-gradient(135deg, #1a1a2e, #16213e);
        }

        .navbar-brand {
            color: white !important;
            font-weight: 700;
            font-size: 20px;
            text-decoration: none;
        }

        .navbar-brand:hover {
            color: rgba(255, 255, 255, 0.9) !important;
        }

        .user-info {
            margin-left: auto;
            display: flex;
            align-items: center;
            color: white;
        }

        .user-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            font-weight: 600;
        }

        /* 主体布局 */
        .main-container {
            display: flex;
            margin-top: 64px;
            min-height: calc(100vh - 64px);
        }

        /* 侧边栏 - 现代化设计 */
        .sidebar {
            width: 260px;
            background: var(--sidebar-bg);
            box-shadow: 2px 0 20px rgba(0, 102, 204, 0.08);
            padding: 24px 12px;
            position: fixed;
            left: 0;
            top: 64px;
            bottom: 0;
            overflow-y: auto;
            z-index: 100;
        }

        [data-theme="dark"] .sidebar {
            box-shadow: 2px 0 20px rgba(77, 166, 255, 0.1);
        }

        .sidebar-item {
            display: flex;
            align-items: center;
            padding: 12px 16px;
            margin: 4px 8px;
            color: var(--text-primary);
            text-decoration: none;
            border: none;
            background: none;
            width: calc(100% - 16px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 1.125rem;  /* 18px基于16px根字体，会随全局字体大小缩放 */
            border-radius: 10px;
            position: relative;
        }

        .sidebar-item:hover {
            background: rgba(0, 102, 204, 0.08);
            color: var(--primary-color);
            transform: translateX(4px);
        }

        [data-theme="dark"] .sidebar-item:hover {
            background: rgba(77, 166, 255, 0.12);
        }

        .sidebar-item.active {
            background: linear-gradient(135deg, rgba(0, 102, 204, 0.15) 0%, rgba(0, 176, 80, 0.15) 100%);
            color: var(--primary-color);
            font-weight: 600;
            box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
        }

        [data-theme="dark"] .sidebar-item.active {
            background: linear-gradient(135deg, rgba(77, 166, 255, 0.2) 0%, rgba(0, 216, 104, 0.2) 100%);
            box-shadow: 0 4px 12px rgba(77, 166, 255, 0.2);
        }

        .sidebar-item.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 24px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 0 4px 4px 0;
        }

        .sidebar-item i {
            width: 24px;
            height: 24px;
            margin-right: 12px;
            font-size: calc(var(--font-size-base, 16px) + 2px);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
        }

        .sidebar-item:hover i {
            transform: scale(1.15);
        }

        .sidebar-item.active i {
            transform: scale(1.1);
        }

        .sidebar-link {
            text-decoration: none;
            color: inherit;
        }

        .sidebar-link:hover {
            text-decoration: none;
            color: var(--primary-color);
        }

        .sidebar-section {
            margin-bottom: 12px;
        }

        .sidebar-divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--border-color), transparent);
            margin: 20px 16px;
        }

        .language-switcher .sidebar-item {
            color: var(--text-secondary);
            font-size: 14px;
            padding: 10px 16px;
        }

        .language-switcher .sidebar-item:hover {
            background: rgba(0, 102, 204, 0.06);
            color: var(--primary-color);
        }

        [data-theme="dark"] .language-switcher .sidebar-item:hover {
            background: rgba(77, 166, 255, 0.1);
        }

        /* 侧边栏菜单图标动画 */
        @keyframes iconPulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.7;
            }
        }

        .sidebar-item.active i {
            animation: iconPulse 2s ease-in-out infinite;
        }

        /* 价格卡片样式 */
        .pricing-card {
            background: var(--sidebar-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 0;
            margin-bottom: 20px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .pricing-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .pricing-card.featured {
            border: 2px solid var(--primary-color);
            transform: translateY(-10px);
        }

        .pricing-card.featured::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        }

        .feature-badge {
            position: absolute;
            top: 15px;
            right: -30px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 5px 40px;
            font-size: 12px;
            font-weight: 600;
            transform: rotate(45deg);
            z-index: 10;
        }

        .pricing-header {
            text-align: center;
            padding: 30px 20px 20px;
            border-bottom: 1px solid var(--border-color);
        }

        .pricing-header h3 {
            margin-bottom: 15px;
            color: var(--text-primary);
            font-size: 22px;
            font-weight: 600;
        }

        .price {
            display: flex;
            align-items: baseline;
            justify-content: center;
            margin-bottom: 10px;
        }

        .price .currency {
            font-size: 18px;
            color: var(--text-secondary);
            margin-right: 2px;
        }

        .price .amount {
            font-size: 36px;
            font-weight: 700;
            color: var(--primary-color);
        }

        .price .period {
            font-size: 14px;
            color: var(--text-secondary);
            margin-left: 2px;
        }

        .pricing-features {
            padding: 20px;
        }

        .pricing-features ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .pricing-features li {
            padding: 8px 0;
            color: var(--text-primary);
            font-size: 14px;
            display: flex;
            align-items: center;
        }

        .pricing-features li::before {
            content: '✓';
            color: var(--secondary-color);
            font-weight: bold;
            margin-right: 10px;
            width: 16px;
        }

        .pricing-card .btn {
            margin: 0 20px 20px;
        }

        /* 内容区域 */
        .content-area {
            flex: 1;
            margin-left: 260px;
            padding: 24px;
        }

        .page-section {
            display: none;
            background: var(--sidebar-bg);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            box-shadow: var(--shadow);
            padding: 24px;
            margin-bottom: 24px;
        }

        .page-section.active {
            display: block;
        }

        .page-header {
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--border-color);
        }

        .page-title {
            font-size: 24px;
            font-weight: 600;
            color: var(--text-primary);
            margin: 0;
        }

        .page-subtitle {
            color: var(--text-secondary);
            margin-top: 4px;
            font-size: 14px;
        }

        /* 卡片组件 */
        .info-card {
            background: var(--sidebar-bg);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            box-shadow: var(--shadow);
            padding: 20px;
            margin-bottom: 20px;
            border-left: 4px solid var(--primary-color);
        }

        .stat-card {
            background: var(--sidebar-bg);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            box-shadow: var(--shadow);
            padding: 24px;
            text-align: center;
            transition: transform 0.2s ease;
        }

        .stat-card:hover {
            transform: translateY(-2px);
        }

        .stat-card.clickable {
            cursor: pointer;
            position: relative;
            transition: all 0.3s ease;
        }

        .stat-card.clickable:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            border-color: var(--primary-color);
        }

        .stat-card.clickable .stat-arrow {
            position: absolute;
            top: 12px;
            right: 12px;
            font-size: 12px;
            color: var(--text-secondary);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .stat-card.clickable:hover .stat-arrow {
            opacity: 1;
            color: var(--primary-color);
            transform: translateX(3px);
        }

        .stat-number {
            font-size: 32px;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 8px;
        }

        .stat-label {
            color: var(--text-secondary);
            font-size: 14px;
        }

        /* 表格样式 */
        .data-table {
            background: var(--sidebar-bg);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        .table-header {
            background: var(--background-color);
            padding: 16px 24px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .table-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
        }

        /* 按钮样式 */
        .btn-primary-custom {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border: none;
            border-radius: 6px;
            padding: 10px 20px;
            color: white;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .btn-primary-custom:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
            color: white;
        }

        .btn-outline-custom {
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            background: transparent;
            border-radius: 6px;
            padding: 8px 16px;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .btn-outline-custom:hover {
            background: var(--primary-color);
            color: white;
        }

        /* 表单样式 */
        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            font-weight: 500;
            color: var(--text-primary);
            margin-bottom: 8px;
            display: block;
        }

        .form-control-custom {
            width: 100%;
            padding: 10px 16px;
            border: 2px solid var(--border-color);
            border-radius: 6px;
            font-size: 16px;
            transition: border-color 0.2s ease;
        }

        .form-control-custom:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
        }

        /* 状态指示器 */
        .status-badge {
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }

        .status-active {
            background: rgba(var(--success-color-rgb, 0, 176, 80), 0.1);
            color: var(--success-color);
        }

        .status-inactive {
            background: rgba(var(--text-secondary-rgb, 108, 117, 125), 0.1);
            color: var(--text-secondary);
        }

        .status-pending {
            background: rgba(var(--warning-color-rgb, 255, 193, 7), 0.1);
            color: var(--warning-color);
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
                transition: transform 0.3s ease;
            }

            .sidebar.mobile-open {
                transform: translateX(0);
            }

            .content-area {
                margin-left: 0;
                padding: 16px;
            }

            .main-container {
                padding-left: 0;
            }
        }

        /* 加载状态 */
        .loading {
            text-align: center;
            padding: 40px;
            color: var(--text-secondary);
        }

        .loading i {
            font-size: 24px;
            margin-bottom: 12px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* 空状态 */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: var(--text-secondary);
        }

        .empty-state i {
            font-size: 48px;
            margin-bottom: 16px;
            opacity: 0.5;
        }

        /* 通知样式 */
        .alert-custom {
            border-radius: 8px;
            border: none;
            padding: 16px;
            margin-bottom: 20px;
        }

        .alert-info-custom {
            background: rgba(0, 102, 204, 0.1);
            color: var(--primary-color);
        }

        .alert-success-custom {
            background: rgba(var(--success-color-rgb, 0, 176, 80), 0.1);
            color: var(--success-color);
        }

        .alert-warning-custom {
            background: rgba(var(--warning-color-rgb, 255, 193, 7), 0.1);
            color: var(--warning-color);
        }

        /* 主题选择器样式 */
        /* 主题和字体选择器样式 - UI工程师优化版本 */
        .theme-selector, .font-size-selector {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
            margin-top: 8px;
        }

        .theme-btn, .font-size-btn {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-width: 80px;
            height: 80px;
            padding: 12px;
            border: 2px solid var(--border-color);
            background: var(--bg-secondary);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            color: var(--text-secondary);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            overflow: hidden;
        }

        .theme-btn:before, .font-size-btn:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, var(--primary-color), #4c46a3);
            opacity: 0;
            transition: opacity 0.2s ease;
            z-index: 1;
        }

        .theme-btn:hover, .font-size-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            border-color: var(--primary-color);
        }

        .theme-btn:hover:before, .font-size-btn:hover:before {
            opacity: 0.1;
        }

        .theme-btn.active, .font-size-btn.active {
            border-color: var(--primary-color);
            color: white;
            background: var(--primary-color);
            box-shadow: 0 4px 20px rgba(67, 56, 202, 0.4);
            transform: translateY(-1px);
        }

        .theme-btn.active:before, .font-size-btn.active:before {
            opacity: 0;
        }

        .theme-btn i, .font-size-btn i {
            font-size: 24px;
            margin-bottom: 6px;
            position: relative;
            z-index: 2;
            transition: transform 0.2s ease;
        }

        .theme-btn:hover i, .font-size-btn:hover i {
            transform: scale(1.1);
        }

        .theme-btn span, .font-size-btn span {
            font-size: 11px;
            font-weight: 600;
            position: relative;
            z-index: 2;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            text-align: center;
        }

        /* 字体大小按钮渐进式设计 */
        .font-size-btn[data-size="small"] {
            min-width: 70px;
            height: 70px;
        }
        .font-size-btn[data-size="small"] i {
            font-size: 18px;
        }

        .font-size-btn[data-size="medium"] {
            min-width: 80px;
            height: 80px;
        }
        .font-size-btn[data-size="medium"] i {
            font-size: 22px;
        }

        .font-size-btn[data-size="large"] {
            min-width: 90px;
            height: 90px;
        }
        .font-size-btn[data-size="large"] i {
            font-size: 26px;
        }

        .font-size-btn[data-size="extra-large"] {
            min-width: 100px;
            height: 100px;
        }
        .font-size-btn[data-size="extra-large"] i {
            font-size: 30px;
        }

        /* 主题按钮特殊图标效果 */
        .theme-btn[data-theme="light"] i {
            color: #fbbf24;
        }
        .theme-btn[data-theme="dark"] i {
            color: #6366f1;
        }
        .theme-btn[data-theme="auto"] i {
            background: linear-gradient(45deg, #fbbf24, #6366f1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* 活动状态时保持白色 */
        .theme-btn.active i, .font-size-btn.active i {
            color: white !important;
            background: none !important;
            -webkit-text-fill-color: white !important;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .theme-selector, .font-size-selector {
                gap: 12px;
            }

            .theme-btn, .font-size-btn {
                min-width: 60px;
                height: 60px;
                padding: 8px;
            }

            .font-size-btn[data-size="small"] {
                min-width: 55px;
                height: 55px;
            }
            .font-size-btn[data-size="medium"] {
                min-width: 60px;
                height: 60px;
            }
            .font-size-btn[data-size="large"] {
                min-width: 65px;
                height: 65px;
            }
            .font-size-btn[data-size="extra-large"] {
                min-width: 70px;
                height: 70px;
            }

            .theme-btn i, .font-size-btn i {
                font-size: 18px;
            }

            .theme-btn span, .font-size-btn span {
                font-size: 10px;
            }
        }

        /* 无障碍访问优化 - UI工程师标准 */
        .theme-btn:focus,
        .font-size-btn:focus {
            outline: 3px solid var(--primary-color);
            outline-offset: 2px;
        }

        .theme-btn:focus-visible,
        .font-size-btn:focus-visible {
            outline: 3px solid var(--primary-color);
            outline-offset: 2px;
        }

        /* 高对比度模式支持 */
        @media (prefers-contrast: high) {
            .theme-btn,
            .font-size-btn {
                border-width: 3px;
            }

            .theme-btn:hover,
            .font-size-btn:hover {
                border-width: 3px;
                border-color: var(--primary-color);
            }

            .theme-btn.active,
            .font-size-btn.active {
                border-width: 4px;
                box-shadow: 0 0 0 2px var(--bg-primary);
            }
        }

        /* 减少动画模式支持 */
        @media (prefers-reduced-motion: reduce) {
            .theme-btn,
            .font-size-btn,
            .theme-btn::before,
            .font-size-btn::before {
                transition: none;
                animation: none;
            }

            .theme-btn:hover,
            .font-size-btn:hover {
                transform: none;
            }
        }

        /* 加载状态动画 */
        .loading-shimmer {
            background: linear-gradient(90deg,
                var(--bg-secondary) 25%,
                var(--border-color) 50%,
                var(--bg-secondary) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
        }

        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        /* 深色模式下的特殊优化 */
        [data-bs-theme="dark"] .theme-btn:not(.active):hover {
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
        }

        [data-bs-theme="dark"] .font-size-btn:not(.active):hover {
            box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
        }

        /* 成功状态渐入动画 */
        .theme-btn.active,
        .font-size-btn.active {
            animation: successPulse 0.6s ease-out;
        }

        @keyframes successPulse {
            0% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
            }
            50% {
                transform: scale(1.05);
                box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
            }
            100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
            }
        }

        /* 触摸设备优化 */
        @media (hover: none) and (pointer: coarse) {
            .theme-btn,
            .font-size-btn {
                min-height: 48px;
                min-width: 48px;
            }

            .theme-btn:hover,
            .font-size-btn:hover {
                transform: none;
                box-shadow: none;
            }

            .theme-btn:active,
            .font-size-btn:active {
                transform: scale(0.95);
                transition: transform 0.1s ease;
            }
        }

        /* 字体大小CSS变量 */
        :root {
            --font-size-small: 0.85rem;
            --font-size-medium: 1rem;
            --font-size-large: 1.15rem;
            --font-size-extra-large: 1.3rem;
        }

        /* 字体大小应用 */
        html.font-small { font-size: var(--font-size-small); }
        html.font-medium { font-size: var(--font-size-medium); }
        html.font-large { font-size: var(--font-size-large); }
        html.font-extra-large { font-size: var(--font-size-extra-large); }

        /* Bootstrap模态框深色主题支持 */
        [data-theme="dark"] .modal-content {
            background-color: var(--sidebar-bg);
            color: var(--text-primary);
            border: 1px solid var(--border-color);
        }

        [data-theme="dark"] .modal-header {
            border-bottom-color: var(--border-color);
        }

        [data-theme="dark"] .modal-footer {
            border-top-color: var(--border-color);
        }

        [data-theme="dark"] .btn-close {
            filter: invert(1) grayscale(100%) brightness(200%);
        }

        /* 深色模式下的模态框按钮样式 */
        [data-theme="dark"] .modal-footer .btn-secondary {
            background-color: var(--border-color) !important;
            color: var(--text-primary) !important;
            border-color: var(--border-color) !important;
        }

        [data-theme="dark"] .modal-footer .btn-secondary:hover {
            background-color: var(--hover-color) !important;
            color: var(--text-primary) !important;
            border-color: var(--hover-color) !important;
        }

        /* 自动主题下的模态框 */
        @media (prefers-color-scheme: dark) {
            [data-theme="auto"] .modal-content {
                background-color: var(--sidebar-bg);
                color: var(--text-primary);
                border: 1px solid var(--border-color);
            }

            [data-theme="auto"] .modal-header {
                border-bottom-color: var(--border-color);
            }

            [data-theme="auto"] .modal-footer {
                border-top-color: var(--border-color);
            }

            [data-theme="auto"] .btn-close {
                filter: invert(1) grayscale(100%) brightness(200%);
            }

            [data-theme="auto"] .modal-footer .btn-secondary {
                background-color: var(--border-color) !important;
                color: var(--text-primary) !important;
                border-color: var(--border-color) !important;
            }

            [data-theme="auto"] .modal-footer .btn-secondary:hover {
                background-color: var(--hover-color) !important;
                color: var(--text-primary) !important;
                border-color: var(--hover-color) !important;
            }
        }

        /* 深色模式下的工单详情卡片样式 */
        [data-theme="dark"] .card.bg-light {
            background-color: var(--sidebar-bg) !important;
            border-color: var(--border-color) !important;
        }

        [data-theme="dark"] .card.bg-light .card-subtitle {
            color: var(--text-secondary) !important;
        }

        [data-theme="dark"] .card.bg-light .card-text {
            color: var(--text-primary) !important;
        }

        /* 设备列表项样式 */
        .device-item.device-list-format {
            border: 1px solid var(--border-color);
            border-radius: 8px;
            background: var(--background-color);
            margin-bottom: 16px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
        }

        .device-item.device-list-format:hover {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
            border-color: var(--primary-color);
        }

        .device-header {
            display: flex;
            align-items: center;
            padding: 12px 16px;
            background: linear-gradient(135deg, rgba(0, 102, 204, 0.08), rgba(0, 176, 80, 0.08));
            border-bottom: 1px solid var(--border-color);
        }

        .device-icon {
            font-size: 24px;
            margin-right: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .device-title {
            font-weight: 600;
            color: var(--text-primary);
            font-size: 14px;
        }

        .device-details {
            padding: 12px 16px;
        }

        .device-detail-row {
            display: grid;
            grid-template-columns: 80px 1fr;
            gap: 12px;
            padding: 8px 0;
            border-bottom: 1px solid var(--border-color);
            align-items: baseline;
        }

        .device-detail-row:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        .device-detail-row:first-child {
            padding-top: 0;
        }

        .detail-label {
            font-weight: 600;
            color: var(--text-secondary);
            font-size: 13px;
            white-space: nowrap;
        }

        .detail-value {
            color: var(--text-primary);
            font-size: 13px;
            word-break: break-word;
            font-family: 'Courier New', monospace;
            background: var(--hover-color);
            padding: 4px 8px;
            border-radius: 4px;
        }

        /* 深色主题调整 */
        [data-theme="dark"] .device-item.device-list-format {
            border-color: var(--border-color);
            background: #2d2d2d;
        }

        [data-theme="dark"] .device-header {
            background: linear-gradient(135deg, rgba(77, 166, 255, 0.1), rgba(0, 216, 104, 0.1));
            border-bottom-color: var(--border-color);
        }

        [data-theme="dark"] .device-detail-row {
            border-bottom-color: var(--border-color);
        }

        [data-theme="dark"] .detail-value {
            background: #3d3d3d;
            border-color: #404040;
        }
