/* Live Data Ticker Tape Styles */

.ticker-tape {
    background: rgba(10, 14, 20, 0.9);
    border-top: 1px solid rgba(0, 255, 200, 0.3);
    border-bottom: 1px solid rgba(0, 255, 200, 0.3);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

.ticker-tape-content {
    display: flex;
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
}

.ticker-tape-content:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 0 30px;
    font-size: 0.9em;
    font-weight: 600;
    border-right: 1px solid rgba(0, 255, 200, 0.1);
}

.ticker-item:last-child {
    border-right: none;
}

.ticker-symbol {
    color: #fff;
    font-weight: 700;
    min-width: 60px;
}

.ticker-price {
    color: #00ffc8; /* Accent color for price */
    font-weight: 900;
    min-width: 80px;
}

.ticker-change {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 70px;
    font-weight: 700;
}

.ticker-change.up {
    color: #00ffc8; /* Accent color for UP */
}

.ticker-change.down {
    color: #ff4d4d; /* Bright red for DOWN */
}

.ticker-change i {
    font-size: 0.8em;
}

/* Ticker symbol styling - VISIBLE */
.ticker-symbol {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1em;
}

/* Responsive */
@media (max-width: 768px) {
    .ticker-tape {
        padding: 8px 0;
    }

    .ticker-item {
        padding: 0 15px;
        font-size: 0.8em;
    }

    .ticker-symbol {
        min-width: 50px;
    }

    .ticker-price {
        min-width: 60px;
    }

    .ticker-change {
        min-width: 50px;
    }
}

