/* Live price charts */
.price-chart-panel {
    margin-bottom: 20px;
}

.price-chart-panel > .col-sm-12,
.price-chart-panel > .col-md-12 {
    padding-left: 0;
    padding-right: 0;
}

.price-chart-ranges > .btn {
    float: none;
    margin: 0 3px 4px 0;
    border-radius: 3px !important;
}

.price-chart-heading {
    margin-top: 15px;
    text-align: center;
}

.price-chart-title {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #333333;
}

.price-chart-subtitle {
    min-height: 20px;
    margin: 4px 0 8px;
    font-size: 13px;
    color: #666666;
}

.price-chart-latest {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: bold;
}

.price-chart-units {
    font-size: 11px;
    color: #666666;
}

.price-chart-units span:last-child {
    float: right;
}

.price-chart-canvas {
    position: relative;
    height: 400px;
    background-color: #ffffff;
}

.price-chart-status {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #ffffff;
    font-weight: bold;
    color: #333333;
    text-align: center;
}

.price-chart-status[hidden],
.price-chart-units[hidden],
.price-chart-latest[hidden],
.price-chart-tooltip[hidden] {
    display: none;
}

.price-chart-tooltip {
    position: absolute;
    z-index: 2;
    padding: 6px 8px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
    font-size: 12px;
    line-height: 1.5;
    color: #333333;
    white-space: nowrap;
    max-width: 100%;
    pointer-events: none;
}

.price-chart-tooltip-date {
    font-size: 11px;
    color: #666666;
}

@media (max-width: 767px) {
    .price-chart-panel.well {
        padding: 10px;
    }

    .price-chart-canvas {
        height: 320px;
    }
}
