.chart-wrapper {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px;
    max-width: 100%;
    margin: 0 auto;
}
#overview-chart-container {
    width: 100%;
}
.timeframe-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    gap: 6px;
    flex-wrap: wrap;
    overflow-x: auto;
    padding-bottom: 5px;
}
button {
    padding: 5px 10px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
}
button.active {
    background-color: #2962FF;
    color: white;
}
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.price-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    color: #666;
}
.current-price {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}
.price-change {
    font-size: 14px;
}
.positive {
    color: #26a69a;
}
.negative {
    color: #ef5350;
}
.time-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 11px;
    color: #666;
}
.loading {
    text-align: center;
    padding: 8px;
    color: #666;
    font-size: 13px;
}


@media only screen and (max-width: 576px) {
    .chart-wrapper {
        padding: 12px;
        max-width: 394px;
    }
    #chart-container {
        height: 220px;
    }
    .timeframe-buttons {
        gap: 4px;
        margin-bottom: 10px;
    }
    button {
        padding: 4px 8px;
        font-size: 12px;
    }
    .current-price {
        font-size: 18px;
    }
    .price-change {
        font-size: 13px;
    }
    .time-scale {
        font-size: 10px;
    }
}