.stock-ticker 
{
    background: linear-gradient(0.25turn, #e0ebf7, #c7f2e7, #edf0ad);
    padding-bottom:10px;
}
.stock-ticker .container 
{
    padding-left:0px;
    padding-right:0px;
}
.ticker-container {
    background: #e7eaef;
    border: 1px solid #c5d0dd;
    border-radius: 12px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-btn {
    flex-shrink: 0;
    padding: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #032d56;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #2d3f52;
    color: #00d4aa;
}

.nav-left {
    border-right: 1px solid #b2c6db;
}

.nav-right {
    border-left: 1px solid #b2c6db;
}

.ticker-scroll {
    display: flex;
    overflow-x: scroll;
    flex: 1;
    gap: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

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

.stock-card {
    flex-shrink: 0;
    min-width: 180px;
    padding: 4px 12px;
    border-right: 1px solid #c5d0dd;
    transition: background 0.3s ease;
    
}

.stock-card:last-child {
    border-right: none;
}

.stock-card:nth-child(odd) {
    background: #ebf6f8;
}

.stock-card:nth-child(even) {
    background: #ebf6f8;
}

.stock-card:hover {
    background: #d7dfe7;
}

.stock-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #151d48;
    margin-bottom: 0px;
    line-height:20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stock-price {
    font-size: 1rem;
    font-weight: 700;
    color: #032d56;
    margin-bottom: 0px;
    line-height:20px;
}

.stock-change {
    font-size: 0.875rem;
    font-weight: 600;
    line-height:20px;
}

.stock-change.positive {
    color: #017e01;
}

.stock-change.negative {
    color: #ff6b6b;
}

.loading {
    padding: 40px;
    text-align: center;
    color: #8896a6;
    font-size: 0.9rem;
    width: 100%;
}

.error-message {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid #ddd;
    color: #ff6b6b;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    margin-top: 12px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #000;
    font-size: 0.6rem;
    margin-top: 0;
    line-height: 14px;
    margin-bottom: -11px;
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 1.5rem;
    }
    
    .stock-card {
        min-width: 150px;
        padding: 12px 16px;
    }
    
    .stock-price {
        font-size: 1.1rem;
    }
}