/* Main container styles */
.smt-container {
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Ticker styles */
.smt-ticker-container {
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    background: #f5f5f5;
    border-radius: 4px;
}

.smt-ticker-wrapper {
    overflow: hidden;
}

.smt-ticker {
    display: inline-block;
    white-space: nowrap;
    transition: transform 0.3s ease;
}

.smt-ticker-item {
    display: inline-block;
    padding: 0 20px;
    border-right: 1px solid #ddd;
}

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

.smt-symbol {
    font-weight: bold;
    margin-right: 5px;
    color: #333;
}

.smt-price {
    font-weight: bold;
    margin-right: 5px;
}

.smt-change, .smt-change-percent {
    margin-right: 5px;
    font-weight: bold;
}

.smt-change.positive, .smt-change-percent.positive {
    color: #4CAF50;
}

.smt-change.negative, .smt-change-percent.negative {
    color: #F44336;
}

.smt-name {
    color: #666;
    margin-right: 10px;
}

/* Quote styles */
.smt-quote {
    padding: 10px;
    background: #f9f9f9;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.smt-quote .smt-symbol {
    font-size: 1.2em;
}

.smt-quote .smt-price {
    font-size: 1.2em;
}

/* Chart styles */
.smt-chart-container {
    position: relative;
    margin: 20px 0;
}

.smt-chart-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #666;
}

/* Refresh button */
.smt-refresh-data {
    background: #3F51B5;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.smt-refresh-data:hover {
    background: #303F9F;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .smt-ticker-item {
        padding: 0 10px;
    }
    
    .smt-quote {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}