.social-trends-container {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.trends-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.trends-header h3 {
    margin: 0;
    color: #333;
}

.search-trends {
    display: flex;
    gap: 10px;
}

#trend-search {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 200px;
}

#search-trends-btn {
    background: #007cba;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

#search-trends-btn:hover {
    background: #005a87;
}

.trends-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trend-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 12px 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.trend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.trend-platform {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.trend-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trend-text {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    flex: 1;
}

.trend-text:hover {
    color: #007cba;
}

.trend-volume {
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    color: #666;
}

.trends-footer {
    margin-top: 15px;
    text-align: center;
    color: #888;
    font-size: 0.9em;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .trends-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .search-trends {
        width: 100%;
    }
    
    #trend-search {
        width: 100%;
    }
    
    .trend-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .trend-volume {
        align-self: flex-end;
    }
}