/* ===== Notices Page Styles ===== */

.filter-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    margin: 1.2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.25rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.filter-btn.active {
    background: linear-gradient(135deg, #852d88 0%, #a855f7 100%);
    border-color: transparent;
    color: white;
}

.notices-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notice-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s;
}

.notice-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.notice-badge {
    padding: 0.35rem 0.85rem;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 1.25rem;
    flex-shrink: 0;
}

/* 各种徽章样式 */
.notice-badge.badge-new {
    background: linear-gradient(135deg, #852d88 0%, #a855f7 100%);
    color: white;
}

.notice-badge.badge-announcement {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: white;
}

.notice-badge.badge-notice {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
}

.notice-badge.badge-collect {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
}

.notice-badge.badge-recruit {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    color: white;
}

.notice-badge.badge-urgent {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: white;
}

.notice-badge.badge-important {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: white;
}

.notice-badge.badge-normal {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
    color: white;
}

.notice-content {
    flex: 1;
    min-width: 0;
}

.notice-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.notice-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #999;
    align-items: center;
}

.notice-tag {
    padding: 0.25rem 0.75rem;
    background: #f0f0f0;
    border-radius: 12px;
    color: #666;
}

.notice-attachment {
    padding: 0.25rem 0.75rem;
    background: rgba(133,45,136,0.1);
    border-radius: 12px;
    color: var(--primary-purple);
    font-weight: 500;
}

.notice-views {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #999;
}

.notice-views::before {
    content: '👁';
}

.notice-arrow {
    font-size: 1.5rem;
    color: #ccc;
    margin-left: 1rem;
    transition: all 0.3s;
}

.notice-card:hover .notice-arrow {
    color: var(--primary-purple);
    transform: translateX(5px);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.page-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.page-btn:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.page-number {
    font-size: 0.95rem;
    color: #666;
}

@media (max-width: 768px) {
    .notice-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .notice-badge {
        margin-bottom: 1rem;
    }
    
    .notice-meta {
        flex-wrap: wrap;
    }
    
    .notice-arrow {
        display: none;
    }
}