/* 跳转导航链接 */
        .skip-link { position: absolute; top: -40px; left: 0; background: var(--primary-color, #E60012); color: white; padding: 8px 16px; z-index: 10000; transition: top 0.3s; }
        .skip-link:focus { top: 0; }

        /* 基本图标样式 - 作为最后的备选方案 */
        .fa {
            display: inline-block;
            font: normal normal normal 14px/1 FontAwesome;
            font-size: inherit;
            text-rendering: auto;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        /* 关键图标的基础实现 - 所有图标使用非彩色替代文本 */
        .fa-home:before { content: "🏠"; }
        .fa-search:before { content: "🔍"; }
        .fa-download:before { content: "↓"; }
        .fa-credit-card:before { content: "💳"; }
        .fa-heart:before, .fa-heart-o:before { content: "♥"; }
        .fa-users:before { content: "👥"; }
        .fa-cog:before { content: "⚙️"; }
        .fa-history:before { content: "🕒"; }
        .fa-shopping-cart:before { content: "🛒"; }
        .fa-folder:before { content: "📁"; }
        .fa-angle-right:before { content: "→"; }
        .fa-camera:before { content: "📷"; }
        .fa-file-image-o:before { content: "▣"; }
        .fa-file-powerpoint-o:before { content: "▢"; }
        .fa-file-video-o:before { content: "▶"; }
        .fa-times:before { content: "×"; }
        .fa-arrows-alt:before { content: "↔"; }
        .fa-th-large:before { content: "▤"; }
        .fa-paint-brush:before { content: "⨍"; }
        .fa-film:before { content: "▷"; }
        .fa-music:before { content: "♪"; }
        .fa-font:before { content: "Aa"; }
        .fa-chevron-down:before, .fa-angle-down:before { content: "▼"; }
        
        /* 强制所有图标为非彩色样式 */
        .fa,
        [class^="fa-"] {
            color: #333 !important;
            font-size: 14px;
            -webkit-filter: grayscale(100%) !important;
            filter: grayscale(100%) !important;
        }
        
        /* 主容器布局 */
        .main-container {
            display: flex;
            height: 100vh;
            overflow: hidden;
            background-color: #F5F5F5;
        }
        
        /* 侧边栏导航 */
        .sidebar {
            width: 220px;
            background-color: white;
            box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
            height: 100%;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
        }
        
        /* 品牌标识 */
        .brand-logo {
            padding: 20px;
            border-bottom: 1px solid #E8E8E8;
            text-align: center;
        }
        
        .brand-logo-main {
            font-size: 20px;
            font-weight: bold;
            color: #E60012;
            letter-spacing: 2px;
        }
        
        .brand-logo-sub {
            font-size: 10px;
            color: #595959;
            margin-top: 4px;
            letter-spacing: 1px;
        }
        
        /* 导航菜单 */
        .nav-menu {
            flex: 1;
            overflow-y: auto;
            padding: 16px 0;
        }
        
        .nav-menu ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }
        
        .nav-menu li {
            margin-bottom: 4px;
        }
        
        .nav-menu a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 16px;
            color: #262626;
            text-decoration: none;
            transition: all 0.2s ease;
            border-left: 4px solid transparent;
        }
        
        .nav-menu a:hover {
            background-color: #FAFAFA;
            color: #E60012;
        }
        
        .nav-menu a.active {
            background-color: rgba(230, 0, 18, 0.05);
            color: #E60012;
            border-left: 4px solid #E60012;
            border-radius: 0 4px 4px 0;
        }
        
        .nav-menu .nav-item-content {
            display: flex;
            align-items: center;
        }
        
        .nav-menu .fa {
            width: 24px;
            text-align: center;
            margin-right: 12px;
        }
        
        /* 下拉菜单 */
        .dropdown-menu {
            display: none;
            background-color: #F5F5F5;
            margin: 0;
            padding: 0;
        }
        
        .dropdown-menu.show {
            display: block;
        }
        
        .dropdown-menu li {
            margin-bottom: 0;
        }
        
        .dropdown-menu a {
            padding-left: 48px;
            font-size: 14px;
        }
        
        .dropdown-toggle {
            cursor: pointer;
        }
        
        .dropdown-arrow {
            transition: transform 0.2s ease;
        }
        
        .dropdown-arrow.open {
            transform: rotate(180deg);
        }
        
        /* 用户信息 */
        .user-info {
            padding: 16px;
            border-top: 1px solid #E8E8E8;
            margin-top: auto;
        }
        
        .user-info-content {
            display: flex;
            align-items: center;
        }
        
        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #E60012;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-right: 12px;
        }
        
        .user-details {
            flex: 1;
        }
        
        .user-name {
            font-size: 14px;
            font-weight: 500;
            color: #262626;
        }
        
        .user-level {
            font-size: 12px;
            color: #595959;
            margin-top: 2px;
        }
        
        .user-settings {
            color: #999999;
            transition: color 0.2s ease;
        }
        
        .user-settings:hover {
            color: #E60012;
        }
        
        /* 主要内容区域 */
        .main-content {
            flex: 1;
            overflow-y: auto;
            background-color: #F5F5F5;
            padding: 24px;
        }
        
        /* 搜索区域 */
        .search-section {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            padding: 32px 40px;
            margin-bottom: 32px;
        }
        
        .search-section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 32px;
        }
        
        .search-section-title {
            font-size: 24px;
            font-weight: bold;
            color: #262626;
        }
        
        .home-config-btn {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 8px 12px;
            color: #595959;
            background-color: transparent;
            border: none;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .home-config-btn:hover {
            color: #E60012;
            background-color: rgba(230, 0, 18, 0.05);
        }
        
        /* 搜索框 */
        .search-box {
            display: flex;
            align-items: center;
            background-color: white;
            border: 2px solid #E8E8E8;
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.2s ease;
        }
        
        .search-box:focus-within {
            border-color: #E60012;
            box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.1);
        }
        
        .search-select-wrapper {
            position: relative;
            border-right: 1px solid #E8E8E8;
        }
        
        .search-select {
            appearance: none;
            border: none;
            background-color: white;
            padding: 16px 40px 16px 16px;
            font-size: 16px;
            color: #262626;
            cursor: pointer;
            outline: none;
        }
        
        .search-select-arrow {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none;
            color: #999999;
        }
        
        .search-input {
            flex: 1;
            border: none;
            padding: 16px;
            font-size: 16px;
            outline: none;
        }
        
        .search-camera-btn {
            border: none;
            border-left: 1px solid #E8E8E8;
            padding: 16px;
            background-color: white;
            color: #595959;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .search-camera-btn:hover {
            color: #E60012;
            background-color: rgba(230, 0, 18, 0.05);
        }
        
        .search-submit-btn {
            padding: 16px 24px;
            background-color: #E60012;
            color: white;
            border: none;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        
        .search-submit-btn:hover {
            background-color: #C4000F;
        }
        
        /* 内容模块 */
        .content-module {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            padding: 24px;
            margin-bottom: 24px;
            transition: box-shadow 0.3s ease;
        }
        
        .content-module:hover {
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        }
        
        .module-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }
        
        .module-title {
            display: flex;
            align-items: center;
            font-size: 18px;
            font-weight: bold;
            color: #262626;
        }
        
        .module-title .fa {
            margin-right: 8px;
            color: #E60012 !important;
        }
        
        .module-more {
            font-size: 14px;
            color: #E60012;
            text-decoration: none;
            transition: color 0.2s ease;
        }
        
        .module-more:hover {
            color: #C4000F;
        }
        
        /* 最近下载模块 */
        .downloads-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .downloads-table th {
            text-align: left;
            padding: 12px;
            font-size: 12px;
            font-weight: 600;
            color: #595959;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 2px solid #E8E8E8;
        }
        
        .downloads-table td {
            padding: 12px;
            font-size: 14px;
            color: #262626;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .downloads-table tr:hover {
            background-color: #FAFAFA;
        }
        
        .downloads-table .material-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .downloads-table .material-thumbnail {
            width: 32px;
            height: 32px;
            border-radius: 4px;
            object-fit: cover;
        }
        
        .downloads-table .material-type {
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 500;
        }
        
        .downloads-table .material-status {
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 500;
        }
        
        .downloads-table .material-actions {
            display: flex;
            gap: 8px;
        }
        
        .downloads-table .action-btn {
            font-size: 12px;
            color: #595959;
            background: none;
            border: none;
            cursor: pointer;
            transition: color 0.2s ease;
        }
        
        .downloads-table .action-btn:hover {
            color: #E60012;
        }
        
        /* 卡片网格 */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 16px;
        }
        
        /* 素材卡片 */
        .material-card {
            border: 1px solid #E8E8E8;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.2s ease;
        }
        
        .material-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .material-card-image {
            position: relative;
            height: 120px;
            overflow: hidden;
        }
        
        .material-card-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .material-card:hover .material-card-img {
            transform: scale(1.05);
        }
        
        .material-card-actions {
            position: absolute;
            top: 12px;
            right: 12px;
        }
        
        .material-card-favorite {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #999999;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .material-card-favorite:hover {
            background-color: white;
            color: #E60012;
        }
        
        .material-card-content {
            padding: 12px;
        }
        
        .material-card-title {
            font-size: 14px;
            font-weight: 500;
            color: #262626;
            margin-bottom: 8px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .material-card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .material-card-price {
            font-size: 14px;
            font-weight: bold;
            color: #E60012;
        }
        
        .material-card-date {
            font-size: 12px;
            color: #999999;
        }
        
        /* 首页配置弹窗 */
        .config-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: flex-start;
            justify-content: flex-end;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.2s ease;
        }
        
        .config-modal.show {
            opacity: 1;
            visibility: visible;
        }
        
        .config-modal-content {
            background-color: white;
            border-radius: 0;
            padding: 32px;
            width: 100%;
            height: 100vh;
            overflow-y: auto;
            transform: translateX(100%);
            transition: transform 0.2s ease;
        }
        
        .config-modal.show .config-modal-content {
            transform: translateX(0);
        }
        
        .config-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 32px;
            padding-bottom: 16px;
            border-bottom: 1px solid #E8E8E8;
        }
        
        .config-modal-title {
            font-size: 20px;
            font-weight: bold;
            color: #262626;
        }
        
        .config-modal-close {
            background: none;
            border: none;
            font-size: 24px;
            color: #999999;
            cursor: pointer;
            transition: color 0.2s ease;
            padding: 0;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .config-modal-close:hover {
            color: #262626;
        }
        
        /* 配置模块部分 */
        .config-module-section {
            margin-bottom: 24px;
        }
        
        .config-section-title {
            font-size: 16px;
            font-weight: bold;
            color: #262626;
            margin-bottom: 8px;
        }
        
        .config-section-desc {
            font-size: 14px;
            color: #595959;
            margin-bottom: 16px;
        }
        
        .config-section-hint {
            font-size: 12px;
            color: #999999;
            margin-bottom: 16px;
            padding: 8px 12px;
            background-color: #F5F5F5;
            border-radius: 4px;
            border-left: 3px solid #e0e0e0;
        }
        
        .config-module-list {
            margin-bottom: 24px;
            border: 2px dashed #e0e0e0;
            border-radius: 8px;
            padding: 16px;
            min-height: 200px;
        }
        
        .config-module-item {
            display: flex;
            align-items: center;
            padding: 16px;
            border: 1px solid #f0f0f0;
            border-radius: 6px;
            margin-bottom: 12px;
            background-color: white;
            transition: all 0.2s ease;
            cursor: move;
        }
        
        .config-module-item:hover {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            border-color: #E60012;
        }
        
        .config-module-item:last-child {
            margin-bottom: 0;
        }
        
        .config-module-item.dragging {
            opacity: 0.5;
            transform: scale(1.02);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
        
        .config-module-drag {
            margin-right: 16px;
            color: #999999;
            cursor: move;
            font-size: 16px;
        }
        
        .config-module-drag:hover {
            color: #E60012;
        }
        
        .config-module-name {
            flex: 1;
            font-size: 14px;
            font-weight: 500;
            color: #262626;
        }
        
        .config-module-toggle {
            display: flex;
            align-items: center;
        }
        
        .config-module-checkbox-label {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            user-select: none;
        }
        
        .config-module-checkbox {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #E60012;
        }
        
        .config-checkbox-text {
            font-size: 14px;
            color: #595959;
            font-weight: 500;
        }
        
        .config-modal-footer {
            display: flex;
            justify-content: flex-end;
            gap: 16px;
            padding-top: 24px;
            margin-top: 40px;
            border-top: 1px solid #E8E8E8;
        }
        
        .config-modal-btn {
            padding: 12px 24px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .config-modal-btn-reset {
            background-color: white;
            color: #595959;
            border: 1px solid #E8E8E8;
        }
        
        .config-modal-btn-reset:hover {
            background-color: #F5F5F5;
        }
        
        .config-modal-btn-save {
            background-color: #E60012;
            color: white;
            border: none;
            padding: 12px 32px;
            font-weight: 600;
        }
        
        .config-modal-btn-save:hover {
            background-color: #C4000F;
        }
        
        /* 页面标题 */
        .page-title {
            font-size: 24px;
            font-weight: bold;
            color: #262626;
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 1px solid #E8E8E8;
        }
        
        /* 统计区域 */
        .stats-section {
            margin-bottom: 32px;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 16px;
        }
        
        .stat-card {
            background-color: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: box-shadow 0.3s ease;
        }
        
        .stat-card:hover {
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        }
        
        .stat-card.total-downloads {
            border-left: 4px solid #E60012;
        }
        
        .stat-card.design-templates {
            border-left: 4px solid #2196f3;
        }
        
        .stat-card.design-materials {
            border-left: 4px solid #4caf50;
        }
        
        .stat-card.other-materials {
            border-left: 4px solid #ff9800;
        }
        
        .stat-card-title {
            font-size: 14px;
            font-weight: 500;
            color: #595959;
            margin-bottom: 8px;
        }
        
        .stat-card-value {
            font-size: 32px;
            font-weight: bold;
            color: #262626;
            margin-bottom: 4px;
        }
        
        .stat-card-desc {
            font-size: 12px;
            color: #999999;
        }
        
        /* 筛选区域 */
        .filter-section {
            background-color: white;
            border-radius: 8px;
            padding: 16px;
            margin-bottom: 24px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        .filter-controls {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
        }
        
        .filter-select {
            padding: 8px 12px;
            border: 1px solid #E8E8E8;
            border-radius: 4px;
            font-size: 14px;
            color: #262626;
            background-color: white;
            cursor: pointer;
        }
        
        .date-range input {
            padding: 8px 12px;
            border: 1px solid #E8E8E8;
            border-radius: 4px;
            font-size: 14px;
            color: #262626;
        }
        
        .sort-control {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .sort-control label {
            font-size: 14px;
            color: #595959;
        }
        
        /* 下载记录表格 */
        .downloads-section {
            background-color: white;
            border-radius: 8px;
            padding: 16px;
            margin-bottom: 24px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            overflow-x: auto;
        }
        
        .downloads-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .downloads-table th,
        .downloads-table td {
            padding: 12px 16px;
            text-align: left;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .downloads-table th {
            background-color: #fafafa;
            font-weight: 600;
            color: #262626;
            font-size: 14px;
        }
        
        .downloads-table td {
            font-size: 14px;
            color: #262626;
        }
        
        .downloads-table tr:hover {
            background-color: #FAFAFA;
        }
        
        .material-info {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }
        
        .material-thumbnail {
            width: 48px;
            height: 48px;
            border-radius: 4px;
            object-fit: cover;
        }
        
        .material-details {
            flex: 1;
        }
        
        .material-title {
            font-weight: 500;
            color: #262626;
            margin-bottom: 4px;
        }
        
        .material-id {
            font-size: 12px;
            color: #999999;
        }
        
        .material-type {
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 500;
        }
        
        .material-type.design-template {
            background-color: rgba(230, 74, 25, 0.1);
            color: #e64a19;
        }
        
        .material-type.icon-material {
            background-color: rgba(33, 150, 243, 0.1);
            color: #2196f3;
        }
        
        .material-type.photo-material {
            background-color: rgba(76, 175, 80, 0.1);
            color: #4caf50;
        }
        
        .material-actions {
            display: flex;
            gap: 12px;
        }
        
        .action-link {
            font-size: 12px;
            color: #E60012;
            text-decoration: none;
            transition: color 0.2s ease;
        }
        
        .action-link:hover {
            color: #C4000F;
        }
        
        .action-link.delete {
            color: #ff5722;
        }
        
        .action-link.delete:hover {
            color: #d84315;
        }
        
        /* 分页区域 */
        .pagination-section {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: white;
            border-radius: 8px;
            padding: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        .pagination-info {
            font-size: 14px;
            color: #595959;
        }
        
        .pagination-controls {
            display: flex;
            gap: 8px;
        }
        
        .pagination-btn {
            padding: 8px 12px;
            border: 1px solid #E8E8E8;
            border-radius: 4px;
            background-color: white;
            font-size: 14px;
            color: #262626;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .pagination-btn:hover {
            background-color: #F5F5F5;
            border-color: #E60012;
            color: #E60012;
        }
        
        .pagination-btn:first-child {
            background-color: #E60012;
            color: white;
            border-color: #E60012;
        }
        
        .pagination-btn.next {
            padding: 8px 16px;
        }
        
        /* 时间筛选区域 */
        .time-filter-section {
            margin-bottom: 24px;
        }
        
        .time-filter-tabs {
            display: flex;
            gap: 12px;
        }
        
        .time-filter-tab {
            padding: 8px 16px;
            border: 1px solid #E8E8E8;
            border-radius: 20px;
            background-color: white;
            font-size: 14px;
            color: #262626;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .time-filter-tab:hover {
            border-color: #E60012;
            color: #E60012;
        }
        
        .time-filter-tab.active {
            background-color: #E60012;
            color: white;
            border-color: #E60012;
        }
        
        /* 浏览记录内容 */
        .browse-history-content {
            background-color: white;
            border-radius: 8px;
            padding: 24px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        .history-group {
            margin-bottom: 32px;
        }
        
        .history-group-title {
            font-size: 16px;
            font-weight: 600;
            color: #262626;
            margin-bottom: 16px;
            padding-bottom: 8px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .history-items {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 16px;
        }
        
        .history-item {
            border: 1px solid #f0f0f0;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.2s ease;
        }
        
        .history-item:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
        }
        
        .history-item-image {
            position: relative;
            height: 180px;
            overflow: hidden;
        }
        
        .history-item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .history-item:hover .history-item-image img {
            transform: scale(1.05);
        }
        
        .history-item-time {
            position: absolute;
            top: 8px;
            right: 8px;
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
        }
        
        .history-item-title {
            padding: 12px;
            font-size: 14px;
            color: #262626;
            font-weight: 500;
        }
        
        /* 购买记录页面样式 */
        .purchase-history-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }
        
        .filter-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            border: 1px solid #E8E8E8;
            border-radius: 4px;
            background-color: white;
            font-size: 14px;
            color: #262626;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .filter-btn:hover {
            border-color: #E60012;
            color: #E60012;
        }
        
        /* 素材类型标签 */
        .material-type-tabs {
            display: flex;
            gap: 12px;
            margin-bottom: 24px;
        }
        
        .material-type-tab {
            padding: 8px 16px;
            border: 1px solid #E8E8E8;
            border-radius: 20px;
            background-color: white;
            font-size: 14px;
            color: #262626;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .material-type-tab:hover {
            border-color: #E60012;
            color: #E60012;
        }
        
        .material-type-tab.active {
            background-color: #E60012;
            color: white;
            border-color: #E60012;
        }
        
        /* 购买记录表格 */
        .purchase-records-table {
            background-color: white;
            border-radius: 8px;
            padding: 24px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            margin-bottom: 24px;
            overflow-x: auto;
        }
        
        .records-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .records-table th {
            text-align: left;
            padding: 12px;
            font-size: 14px;
            font-weight: 600;
            color: #595959;
            border-bottom: 2px solid #f0f0f0;
        }
        
        .records-table td {
            padding: 16px 12px;
            font-size: 14px;
            color: #262626;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .records-table tr:hover {
            background-color: #FAFAFA;
        }
        
        /* 订单商品信息 */
        .order-item-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .order-item-thumbnail {
            width: 48px;
            height: 48px;
            border-radius: 4px;
            object-fit: cover;
        }
        
        /* 支付状态 */
        .payment-status {
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 500;
        }
        
        .payment-status.paid {
            background-color: rgba(76, 175, 80, 0.1);
            color: #4caf50;
        }
        
        /* 订单操作 */
        .order-actions {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .order-action-link {
            font-size: 14px;
            color: #E60012;
            text-decoration: none;
            transition: color 0.2s ease;
        }
        
        .order-action-link:hover {
            color: #C4000F;
        }
        
        .order-action-separator {
            color: #999999;
            font-size: 12px;
        }
        
        /* 分页控件 */
        .purchase-pagination {
            display: flex;
            justify-content: center;
            margin-top: 32px;
        }
        
        .purchase-pagination .pagination-controls {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .purchase-pagination .pagination-btn {
            padding: 8px 12px;
            border: 1px solid #E8E8E8;
            border-radius: 4px;
            background-color: white;
            font-size: 14px;
            color: #262626;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .purchase-pagination .pagination-btn:hover {
            border-color: #E60012;
            color: #E60012;
        }
        
        .purchase-pagination .pagination-btn.active {
            background-color: #E60012;
            color: white;
            border-color: #E60012;
        }
        
        .pagination-ellipsis {
            padding: 8px 4px;
            font-size: 14px;
            color: #999999;
        }
        
        /* 摄影素材页面样式 */
        /* 页面头部 */
        .photography-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }
        
        .photography-search {
            flex-shrink: 0;
        }
        
        .photography-search .search-box {
            position: relative;
            display: flex;
            align-items: center;
        }
        
        .photography-search .search-icon {
            position: absolute;
            left: 12px;
            color: #999999;
        }
        
        .photography-search-input {
            padding: 10px 12px 10px 36px;
            border: 1px solid #E8E8E8;
            border-radius: 4px;
            font-size: 14px;
            width: 300px;
            outline: none;
            transition: border-color 0.2s ease;
        }
        
        .photography-search-input:focus {
            border-color: #E60012;
        }
        
        /* 热门标签 */
        .hot-tags {
            margin-bottom: 32px;
        }
        
        .hot-tags-title {
            font-size: 16px;
            font-weight: 600;
            color: #262626;
            margin-bottom: 16px;
        }
        
        .hot-tags-list {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }
        
        .hot-tag {
            display: inline-block;
            padding: 8px 16px;
            background-color: white;
            border: 1px solid #E8E8E8;
            border-radius: 20px;
            font-size: 14px;
            color: #262626;
            text-decoration: none;
            transition: all 0.2s ease;
        }
        
        .hot-tag:hover {
            border-color: #E60012;
            color: #E60012;
        }
        
        /* 素材网格 */
        .photography-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 24px;
        }
        
        /* 素材项 */
        .photography-item {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: box-shadow 0.3s ease;
        }
        
        .photography-item:hover {
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        }
        
        .photography-item-image {
            position: relative;
            height: 200px;
            overflow: hidden;
        }
        
        .item-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.2s ease;
        }
        
        .photography-item:hover .item-image {
            transform: scale(1.05);
        }
        
        .item-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            color: white;
        }
        
        .item-badge.free {
            background-color: #4caf50;
        }
        
        .item-badge.new {
            background-color: #2196f3;
        }
        
        .item-badge.hot {
            background-color: #ff5722;
        }
        
        .photography-item-category {
            font-size: 12px;
            color: #595959;
            padding: 8px 12px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .photography-item-info {
            padding: 12px;
        }
        
        .photography-item-title {
            font-size: 14px;
            font-weight: 500;
            color: #262626;
            margin-bottom: 8px;
            line-height: 1.4;
        }
        
        .photography-item-stats {
            font-size: 12px;
            color: #999999;
            margin-bottom: 8px;
        }
        
        .photography-item-price {
            font-size: 14px;
            font-weight: 600;
            color: #E60012;
            margin-bottom: 12px;
        }
        
        .photography-item-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 12px 12px;
        }
        
        .photography-download-btn {
            flex: 1;
            padding: 10px 16px;
            background-color: #E60012;
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .photography-download-btn:hover {
            background-color: #C4000F;
        }
        
        .photography-download-btn.free {
            background-color: #4caf50;
        }
        
        .photography-download-btn.free:hover {
            background-color: #388e3c;
        }
        
        .photography-collect-btn {
            width: 36px;
            height: 36px;
            border: 1px solid #E8E8E8;
            border-radius: 4px;
            background-color: white;
            color: #999999;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-left: 12px;
        }
        
        .photography-collect-btn:hover {
            border-color: #E60012;
            color: #E60012;
        }
        
        /* 分页控件 */
        .photography-pagination {
            display: flex;
            justify-content: center;
            margin-top: 40px;
            margin-bottom: 32px;
        }
        
        .photography-pagination .pagination-controls {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .photography-pagination .pagination-btn {
            padding: 8px 12px;
            border: 1px solid #E8E8E8;
            border-radius: 4px;
            background-color: white;
            font-size: 14px;
            color: #262626;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .photography-pagination .pagination-btn:hover {
            border-color: #E60012;
            color: #E60012;
        }
        
        .photography-pagination .pagination-btn.active {
            background-color: #E60012;
            color: white;
            border-color: #E60012;
        }
        
        .photography-pagination .pagination-btn.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .photography-pagination .pagination-btn.disabled:hover {
            border-color: #E8E8E8;
            color: #262626;
            background-color: white;
        }
        
        /* 响应式设计 */
        @media (max-width: 1200px) {
            .photography-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 16px;
            }
            
            .photography-search-input {
                width: 100%;
                max-width: 400px;
            }
            
            .photography-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
        }
        
        @media (max-width: 768px) {
            .photography-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
            
            .photography-item-image {
                height: 150px;
            }
            
            .hot-tags-list {
                gap: 8px;
            }
            
            .hot-tag {
                padding: 6px 12px;
                font-size: 12px;
            }
        }
        
        /* 响应式设计 */
        @media (max-width: 1200px) {
            .sidebar {
                width: 180px;
            }
            
            .card-grid {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            }
            
            .stats-grid {
                grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            }
        }
        
        @media (max-width: 992px) {
            .sidebar {
                width: 160px;
            }
            
            .nav-menu a {
                padding: 10px 12px;
            }
            
            .nav-menu .fa {
                margin-right: 8px;
            }
            
            .dropdown-menu a {
                padding-left: 40px;
            }
            
            .main-content {
                padding: 16px;
            }
            
            .search-section {
                padding: 24px 32px;
            }
            
            .filter-controls {
                flex-direction: column;
                align-items: stretch;
                gap: 12px;
            }
            
            .pagination-section {
                flex-direction: column;
                align-items: stretch;
                gap: 12px;
            }
            
            .pagination-controls {
                justify-content: center;
            }
        }
        
        @media (max-width: 768px) {
            .sidebar {
                position: fixed;
                left: -200px;
                top: 0;
                z-index: 999;
                transition: left 0.3s ease;
            }
            
            .sidebar.show {
                left: 0;
            }
            
            .main-content {
                padding: 16px;
            }
            
            .search-section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 16px;
            }
            
            .search-box {
                flex-direction: column;
                align-items: stretch;
            }
            
            .search-select-wrapper {
                border-right: none;
                border-bottom: 1px solid #E8E8E8;
            }
            
            .search-camera-btn {
                border-left: none;
                border-top: 1px solid #E8E8E8;
            }
            
            .card-grid {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            }
            
            .stats-grid {
                grid-template-columns: 1fr;
            }
        }
        
        /* 智能配图样式 */
        .smart-matching-input textarea {
            width: 100%;
            height: 200px;
            border: 1px solid #E8E8E8;
            border-radius: 4px;
            padding: 16px;
            font-size: 14px;
            resize: vertical;
            font-family: inherit;
        }
        
        .smart-matching-input textarea:focus {
            outline: none;
            border-color: #E60012;
            box-shadow: 0 0 0 2px rgba(230, 0, 18, 0.1);
        }
        
        .smart-matching-input .file-name {
            display: block;
            margin-top: 8px;
            font-size: 12px;
            color: #666;
        }
        
        .smart-matching-result h2 {
            font-size: 20px;
            font-weight: 600;
            color: #333;
            margin-bottom: 24px;
        }
        
        .smart-matching-result h3 {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin: 24px 0 16px;
        }
        
        .result-content {
            margin-bottom: 32px;
            line-height: 1.6;
        }
        
        .result-content p {
            margin-bottom: 16px;
        }
        
        .result-content.editing {
            background-color: #FAFAFA;
            border: 1px dashed #E60012;
            padding: 16px;
            border-radius: 4px;
        }
        
        .image-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 24px;
            margin-top: 16px;
        }
        
        .image-container {
            background-color: #FAFAFA;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: box-shadow 0.3s ease;
        }
        
        .image-container:hover {
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        }
        
        .matched-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        
        .image-info {
            padding: 16px;
        }
        
        .image-info p {
            margin-bottom: 12px;
            font-size: 14px;
            color: #666;
        }
        
        .image-actions {
            display: flex;
            gap: 8px;
        }
        
        .image-action-btn {
            padding: 6px 12px;
            border: 1px solid #E8E8E8;
            border-radius: 4px;
            background-color: white;
            font-size: 12px;
            color: #333;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .image-action-btn:hover {
            border-color: #E60012;
            color: #E60012;
        }
        
        .result-actions {
            display: flex;
            gap: 12px;
            margin-top: 32px;
            padding-top: 24px;
            border-top: 1px solid #E8E8E8;
        }
        
        .action-btn {
            padding: 8px 16px;
            border: 1px solid #E8E8E8;
            border-radius: 4px;
            background-color: white;
            font-size: 14px;
            color: #333;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .action-btn:hover {
            border-color: #E60012;
            color: #E60012;
        }
        
        /* 提示消息样式 */
        .toast-container {
            position: relative;
            margin-top: 16px;
        }
        
        .toast-message {
            background-color: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 12px 20px;
            border-radius: 4px;
            display: none;
            transition: opacity 0.2s ease;
            opacity: 0;
        }
        
        .toast-message.show {
            display: block;
            opacity: 1;
        }
        
        /* 响应式设计 - 智能配图 */
        @media (max-width: 768px) {
            .image-grid {
                grid-template-columns: 1fr;
            }
            
            .result-actions {
                flex-wrap: wrap;
            }
        }
