/* 项目列表页面样式 */

/* ===== 页面头部Banner ===== */
.page-banner {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    padding: 50px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200" preserveAspectRatio="none"><path d="M0,100 Q300,130 600,100 T1200,100 L1200,200 L0,200 Z" fill="rgba(255,255,255,0.1)"/></svg>') bottom center/100% 100% no-repeat;
    pointer-events: none;
}

.banner-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.banner-content h1 {
    font-size: 42px;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-weight: 700;
}

.banner-content p {
    font-size: 16px;
    opacity: 0.95;
}

/* 响应式 */
@media (max-width: 768px) {
    .page-banner {
        padding: 35px 0;
    }
    
    .banner-content h1 {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .banner-content p {
        font-size: 14px;
    }
}

/* 筛选卡片容器 - 上下布局 */
.filter-cards-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

/* 单个筛选卡片 */
.filter-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

/* 统一筛选卡片 */
.unified-filter-card {
    padding: 0;
}

/* 筛选行 */
.filter-row {
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
}

.filter-row:last-child {
    border-bottom: none;
}

.filter-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #f3f4f6;
    display: block;
    width: 100%;
    line-height: 1.5;
}

/* 分类链接样式 */
.category-link-all {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}

.category-link-all:hover {
    color: #f97316;
}

.category-link-all.active {
    color: #f97316;
    font-weight: 600;
}

.category-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}

.category-link:hover {
    color: #f97316;
}

.category-link.active {
    color: #f97316;
    font-weight: 500;
}

/* 地域链接样式 */
.region-link-all {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}

.region-link-all:hover {
    color: #f97316;
}

.region-link-all.active {
    color: #f97316;
    font-weight: 600;
}

.region-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}

.region-link:hover {
    color: #f97316;
}

.region-link.active {
    color: #f97316;
    font-weight: 500;
}

.filter-card-body {
    display: block;
    width: 100%;
    clear: both;
    margin-top: 0;
}

/* 快速筛选区域 - 简约版（保留旧样式以防其他地方使用） */
.quick-filter-section {
    background: #fff;
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

/* 锁定项目标识 */
/* 会员标识（已禁用） */
/* .lock-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 8px;
    vertical-align: middle;
}

.lock-badge i {
    font-size: 10px;
} */

/* 公开项目标识 */
.public-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 8px;
    vertical-align: middle;
}

.public-badge i {
    font-size: 10px;
}

/* 锁定项目卡片样式（已禁用） */
/* .project-locked {
    position: relative;
    opacity: 0.9;
}

.project-locked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    pointer-events: none;
} */

/* 标签更多提示 */
.tag-more {
    background: #fff7ed;
    color: #f97316;
    border: 1px dashed #f97316;
    font-size: 11px;
}

.tag-more i {
    font-size: 10px;
}

/* 响应式：小屏幕 */
@media (max-width: 768px) {
    /* 筛选卡片容器已是上下布局，无需额外调整 */
    
    /* .lock-badge, */
    .public-badge {
        font-size: 10px;
        padding: 1px 6px;
    }
}

.quick-filter-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.quick-filter-row:last-of-type {
    margin-bottom: 0;
}

.quick-filter-item {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.quick-filter-label {
    flex-shrink: 0;
    width: 80px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    padding-top: 6px;
    line-height: 1.5;
}

.quick-filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
}

/* 二级分类样式 - 方案1：左侧缩进 + 浅色背景 */
.secondary-category-row,
.secondary-region-row {
    background: #f9fafb;
    margin: 10px -20px 0 -20px;
    padding: 10px 20px 10px 30px;
    border-radius: 6px;
}

.secondary-options .filter-chip {
    background: #fff;
    font-size: 12px;
    padding: 3px 8px;
}

.secondary-options .filter-chip:has(input[type="radio"]:checked) {
    background: #e0f2fe;
    color: #0369a1;
    border-color: #0ea5e9;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.filter-chip input[type="radio"] {
    display: none;
}

.filter-chip:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.filter-chip input[type="radio"]:checked + span {
    font-weight: 500;
}

.filter-chip:has(input[type="radio"]:checked) {
    background: #fff;
    color: #ea580c;
    border-color: #ea580c;
}

.filter-chip:has(input[type="radio"]:checked):hover {
    background: #fff7ed;
    border-color: #ea580c;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #9a3412 0%, #ea580c 100%);
    padding: 40px 0;
    color: #fff;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.breadcrumb {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.breadcrumb a {
    color: rgba(255,255,255,0.9);
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    margin: 0 8px;
}

/* 搜索栏 */
/* 搜索栏区域 - 简约版 */
.search-bar-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px 0;
    border-bottom: 1px solid #e5e7eb;
}

.search-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.search-input-group {
    display: flex;
    max-width: 900px;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: #ff6600;
    box-shadow: 0 6px 20px rgba(255,102,0,0.15);
    transform: translateY(-2px);
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    flex: 1;
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: none;
    font-size: 14px;
    color: #333;
    outline: none;
    background: transparent;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 16px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.search-clear-btn:hover {
    color: #6b7280;
}

.search-btn {
    padding: 12px 35px;
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.search-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff8533 0%, #ff6600 100%);
    box-shadow: 0 4px 12px rgba(255,102,0,0.4);
}

.search-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.search-btn-content,
.search-btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

.search-btn-loading .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 主内容区域 - 简约版 */
.main-content {
    background: #f8fafc;
    padding: 20px 0 40px;
}

.content-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* 侧边栏筛选 */
.sidebar-filter {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.filter-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

.filter-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.filter-checkbox:hover {
    background: #f8fafc;
}

.filter-checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.filter-checkbox span {
    font-size: 14px;
    color: #64748b;
}

.filter-checkbox .count {
    margin-left: auto;
    font-size: 12px;
    color: #94a3b8;
}

.filter-checkbox input:checked + span {
    color: #f97316;
    font-weight: 500;
}

.region-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.filter-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* 高级搜索按钮统一样式 */
.filter-actions button {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid transparent;
}

.btn-reset {
    width: 100%;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* 内容主区域 */
.content-main {
    background: transparent;
}

/* 工具栏 - 简约版 */
.toolbar {
    background: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.toolbar-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    margin-top: 0;
}

.toolbar-left {
    display: flex;
    align-items: center;
}

.total-count {
    font-size: 14px;
    color: #64748b;
}

.total-count strong {
    color: #f97316;
    font-size: 16px;
    margin: 0 3px;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sort-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #64748b;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

.view-mode {
    display: flex;
    gap: 5px;
}

.view-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 6px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    border-color: #f97316;
    color: #f97316;
}

.view-btn.active {
    background: #f97316;
    border-color: #f97316;
    color: #fff;
}

/* 项目列表 - 简约紧凑版 */
.projects-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    overflow: hidden;
}

.project-item {
    background: transparent;
    border-radius: 0;
    padding: 15px 20px;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.project-item:hover {
    background: #fafafa;
    border-left-color: #f97316;
}

.project-item:last-child {
    border-bottom: none;
}

.project-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.project-badge {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.project-item-title {
    flex: 1;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.project-item-title a {
    color: #1e293b;
}

.project-item-title a:hover {
    color: #f97316;
}

.project-date {
    color: #94a3b8;
    font-size: 12px;
}

.project-item-body {
    margin-bottom: 12px;
}

.project-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #64748b;
}

.meta-item svg {
    flex-shrink: 0;
}

.project-summary {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.project-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    padding: 3px 10px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    border-radius: 3px;
}

.project-actions {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-contact-sm {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.btn-contact-sm:hover {
    border-color: #f97316;
    color: #f97316;
}

.btn-detail-sm {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    border: none;
}

.btn-detail-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* 分页 - 简约版 */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    background: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.pagination {
    display: flex;
    gap: 8px;
}

.page-btn,
.page-num {
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 4px;
    font-size: 13px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled),
.page-num:hover {
    border-color: #f97316;
    color: #f97316;
}

.page-num.active {
    background: #f97316;
    border-color: #f97316;
    color: #fff;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-dots {
    padding: 8px 10px;
    color: #94a3b8;
}

.page-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #64748b;
}

.page-jump-input {
    width: 60px;
    padding: 6px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    outline: none;
}

.page-jump-input:focus {
    border-color: #f97316;
}

.btn-jump {
    padding: 6px 15px;
    background: #f97316;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-jump:hover {
    background: #ea580c;
}

/* 网格视图 */
.projects-container.grid-view {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #f3f4f6;
}

.projects-container.grid-view .project-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-bottom: none;
    border-left: none;
}

.projects-container.grid-view .project-item-header {
    flex-direction: column;
    align-items: flex-start;
}

.projects-container.grid-view .project-item-footer {
    margin-top: auto;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.projects-container.grid-view .project-tags {
    width: 100%;
}

.projects-container.grid-view .project-actions {
    width: 100%;
    display: flex;
    gap: 10px;
}

.projects-container.grid-view .project-actions .btn-sm {
    flex: 1;
}

/* 高级搜索样式 */
.advanced-search-toggle {
    padding: 12px 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: none;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.advanced-search-toggle:hover {
    background: #f9fafb;
    color: #ff6600;
}

.advanced-search-toggle svg {
    width: 18px;
    height: 18px;
}

.advanced-search-panel {
    margin-top: 15px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 1160px;
    box-sizing: border-box;
}

.filter-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.filter-row:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-label {
    min-width: 80px;
    font-weight: 500;
    color: #334155;
    font-size: 13px;
}

.filter-controls {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    color: #475569;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.filter-select:hover {
    border-color: #f97316;
}

.filter-select:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.filter-radio {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 13px;
}

.filter-radio:hover {
    background: #fff7ed;
}

.filter-radio input[type="radio"] {
    cursor: pointer;
}

.filter-checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 13px;
}

.filter-checkbox-inline:hover {
    background: #fff7ed;
    border-color: #f97316;
}

.filter-checkbox-inline input[type="checkbox"]:checked + span {
    color: #f97316;
    font-weight: 500;
}

.btn-reset-advanced,
.btn-save-filter {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
}

.btn-reset-advanced:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.btn-save-filter:hover {
    border-color: #f97316;
    color: #f97316;
    background: #fff7ed;
}

/* 高级搜索的"立即搜索"按钮 */
.filter-actions .btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    border: none;
}

.filter-actions .btn-primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* 筛选结果栏 */
.filter-result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.result-count {
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-count .count-text {
    font-size: 15px;
    color: #333;
}

.result-count strong {
    color: #ff6600;
    font-size: 20px;
    font-weight: 600;
}

.result-count .loading-text {
    color: #999;
    font-size: 14px;
}

.selected-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
}

.filter-tag .tag-label {
    color: #999;
}

.filter-tag .tag-value {
    color: #333;
    font-weight: 500;
}

.filter-tag .remove-tag {
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    font-size: 16px;
    line-height: 1;
}

.filter-tag .remove-tag:hover {
    color: #ff6600;
}

.clear-all-filters {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #ff6600;
    border-radius: 20px;
    color: #ff6600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.clear-all-filters:hover {
    background: #ff6600;
    color: white;
}

.clear-all-filters svg {
    width: 12px;
    height: 12px;
}


/* 已保存的筛选条件 */
.saved-filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 8px;
}

.filter-name {
    font-size: 14px;
    color: #475569;
}

.btn-filter-apply {
    padding: 4px 12px;
    background: #f97316;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filter-apply:hover {
    background: #ea580c;
    transform: translateY(-1px);
}

.btn-manage-filters {
    width: 100%;
    padding: 8px;
    background: transparent;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    color: #64748b;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.btn-manage-filters:hover {
    border-color: #f97316;
    color: #f97316;
    background: #fff7ed;
}

/* 侧边栏新增按钮 */
.filter-actions .btn-save {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-actions .btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* 工具栏优化 */
.btn-batch-action {
    margin-left: 15px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-batch-action:hover {
    border-color: #f97316;
    color: #f97316;
    background: #fff7ed;
}

/* 已选筛选条件标签 */
.active-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-label-text {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    color: #475569;
}

.tag-remove {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.tag-remove:hover {
    background: #fee2e2;
    color: #ef4444;
}

.clear-all-filters {
    padding: 6px 12px;
    background: transparent;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-all-filters:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* 响应式 */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar-filter {
        position: static;
    }
    
    .projects-container.grid-view {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .toolbar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .pagination-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .project-item-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

