/* News Ticker Styles */
.news-ticker-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-ticker-label {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    font-weight: bold;
    z-index: 10;
    display: flex;
    align-items: center;
    white-space: nowrap;
    border-radius: 8px 0 0 8px;
}

.news-ticker-wrapper {
    margin-left: 120px;
    overflow: hidden;
    position: relative;
}

.news-ticker-content {
    display: flex;
    animation: scroll-right-to-left 30s linear infinite;
    white-space: nowrap;
}

.news-ticker-content:hover {
    animation-play-state: paused;
}

.news-item {
    display: inline-block;
    padding: 0 40px;
    font-size: 14px;
    line-height: 1.5;
}

.news-item::before {
    content: "●";
    margin-right: 10px;
    color: #ffd700;
}

.news-item:last-child::after {
    content: "●";
    margin-left: 10px;
    color: #ffd700;
}

@keyframes scroll-right-to-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Dark mode support */
.dark .news-ticker-container {
    background: linear-gradient(135deg, #4c51bf 0%, #553c9a 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .news-ticker-label {
        padding: 12px 10px;
        font-size: 12px;
    }
    
    .news-ticker-wrapper {
        margin-left: 90px;
    }
    
    .news-item {
        font-size: 12px;
        padding: 0 20px;
    }
}

/* Loading state */
.news-ticker-loading {
    text-align: center;
    padding: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* Empty state */
.news-ticker-empty {
    text-align: center;
    padding: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

