.news-feed-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111629;
    color: #fff;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    height: 60px;
}

.news-feed-title {
    background: #007bff;
    color: #fff;
    padding: 0 20px;
    display: flex;
    align-items: center;
    font-weight: 600;
    min-width: 200px;
    font-size: 16px;
}

.news-feed-title i {
    margin-right: 10px;
}

.news-feed-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 0 20px;
}

.news-feed-scroll {
    position: absolute;
    width: 100%;
    transition: transform 0.05s linear;
}

.news-feed-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-feed-item:hover {
    color: #007bff;
}

.news-source {
    background: #007bff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 15px;
    font-weight: 600;
}

.news-title {
    flex: 1;
    margin-right: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-date {
    color: #888;
    font-size: 14px;
}

/* Adjust main content to account for news bar */
body {
    margin-bottom: 60px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .news-feed-bar {
        height: 80px;
    }

    .news-feed-title {
        min-width: 120px;
        font-size: 14px;
        padding: 0 10px;
    }

    .news-feed-content {
        padding: 0 10px;
    }

    .news-source {
        display: none;
    }

    body {
        margin-bottom: 80px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .news-feed-bar {
        background: #1a1a1a;
    }

    .news-feed-title {
        background: #0056b3;
    }

    .news-feed-item:hover {
        color: #0056b3;
    }
}
