/* 业绩展示页面样式 */
.performances-page .page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.performances-page .page-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.performances-page .page-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.performances-page .stats-text {
    color: #6c757d;
    font-size: 0.9rem;
}

/* 筛选工具栏 */
.filter-toolbar {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filter-form {
    width: 100%;
}

.filter-row {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.9rem;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-filter {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-filter:hover {
    background: #0056b3;
}

.btn-clear {
    color: #6c757d;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: color 0.2s;
}

.btn-clear:hover {
    color: #495057;
    background: #e9ecef;
}

/* 业绩展示网格 */
.performances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.performance-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

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

.performance-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.performance-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.performance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.performance-card:hover .performance-image img {
    transform: scale(1.05);
}

.performance-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.performance-card:hover .performance-overlay {
    opacity: 1;
}

.view-more {
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid white;
    border-radius: 4px;
}

.performance-content {
    padding: 1.5rem;
}

.performance-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2c3e50;
    line-height: 1.4;
}

.performance-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.performance-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.performance-client {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.client-label {
    color: #6c757d;
    font-weight: 500;
}

.client-name {
    color: #495057;
    font-weight: 500;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    grid-column: 1 / -1;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-title {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.empty-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.empty-action {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.empty-action:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

/* 侧边栏样式 */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    text-decoration: none;
    color: #495057;
    transition: all 0.2s;
}

.category-item:hover,
.category-item.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.category-name {
    font-weight: 500;
}

.category-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.category-item:not(.active) .category-count {
    background: #e9ecef;
    color: #6c757d;
}

.recent-performances {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-item {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}

.recent-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-link {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.recent-image {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-content {
    flex: 1;
}

.recent-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    color: #2c3e50;
}

.recent-date {
    font-size: 0.8rem;
    color: #6c757d;
}

/* 分页样式 */
.pagination-container {
    margin-top: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .performances-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-row {
        flex-direction: column;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .recent-link {
        flex-direction: column;
    }
    
    .recent-image {
        width: 100%;
        height: 120px;
    }
}