/* ============================================
   TICKER BAND STYLES
   Canlı Piyasa Verileri Bandı
   ============================================ */

.ticker-band {
    background: linear-gradient(135deg, #3B5FDD 0%, #2d47a8 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 101;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    max-width: 100vw;
    width: 100%;
}

.ticker-container {
    display: flex;
    align-items: center;
    height: 44px;
    gap: 20px;
    max-width: 100vw;
}

.ticker-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    height: 100%;
    background: rgba(255,255,255,0.15);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    border-right: 1px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: #EF4444;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.ticker-scroll {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.ticker-scroll.dragging {
    cursor: grabbing;
}

.ticker-scroll::-webkit-scrollbar {
    display: none;
}

.ticker-items {
    display: flex;
    align-items: center;
    gap: 32px;
    white-space: nowrap;
    padding-right: 32px;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.ticker-item:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.ticker-label {
    font-weight: 600;
    font-size: 13px;
    opacity: 0.9;
}

.ticker-value {
    font-weight: 700;
    font-size: 15px;
}

.ticker-change {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.ticker-change.positive {
    background: rgba(16, 185, 129, 0.2);
    color: #10F2AA;
}

.ticker-change.negative {
    background: rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
}

.ticker-change svg {
    width: 12px;
    height: 12px;
}

/* Ticker Separator */
.ticker-separator {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .ticker-band {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0;
        padding: 0;
    }
    
    .ticker-container {
        width: 100%;
        max-width: 100vw;
        gap: 8px;
    }
    
    .ticker-badge {
        padding: 0 12px;
        font-size: 10px;
    }
    
    .ticker-item {
        padding: 6px 12px;
        gap: 8px;
    }
    
    .ticker-label {
        font-size: 11px;
    }
    
    .ticker-value {
        font-size: 13px;
    }
    
    .ticker-change {
        font-size: 10px;
    }
}

