/* 供应中心样式 */
.supplier-container {
    display: flex;
    gap: 30px;
}

.sidebar {
    width: 250px;
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    align-self: flex-start;
}

.sidebar-header h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.sidebar-menu ul {
    list-style: none;
    margin-bottom: 30px;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #666;
    border-radius: 6px;
    transition: all 0.3s;
}

.sidebar-menu li.active a,
.sidebar-menu a:hover {
    background-color: #fff5f0;
    color: #ff5000;
}

.sidebar-filters h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
}

.filter-group ul {
    list-style: none;
}

.filter-group li {
    margin-bottom: 10px;
    font-size: 14px;
}

.filter-group input {
    margin-right: 8px;
}

.content {
    flex: 1;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.content-header h1 {
    font-size: 24px;
    color: #333;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sort-options a {
    text-decoration: none;
    color: #999;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 4px;
}

.sort-options a.active,
.sort-options a:hover {
    background-color: #f5f5f5;
    color: #ff5000;
}

.wants-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.want-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.want-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.want-main {
    display: flex;
    gap: 20px;
    flex: 1;
}

.want-image {
    width: 120px;
    height: 120px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    border-radius: 8px;
}

.want-details {
    flex: 1;
}

.want-details h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.want-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.want-tags {
    display: flex;
    gap: 10px;
}

.tag {
    background-color: #f0f0f0;
    color: #666;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.want-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    width: 200px;
}

.want-price {
    font-size: 20px;
    font-weight: bold;
    color: #ff5000;
}

.want-location,
.want-time {
    font-size: 13px;
    color: #999;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.page-numbers {
    display: flex;
    gap: 10px;
}

.page-numbers a {
    display: block;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.page-numbers a.current,
.page-numbers a:hover {
    background-color: #ff5000;
    color: white;
    border-color: #ff5000;
}

@media (max-width: 768px) {
    .supplier-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .want-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .want-meta {
        width: 100%;
        align-items: flex-start;
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}