.chart-container {
    height: 600px;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.tooltip {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.tooltip-item {
    margin: 5px 0;
    color: #666;
}

.tooltip-title {
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    font-size: 1.1em;
}

.chart-container.loading {
    opacity: 0.5;
    pointer-events: none;
}

.scheme-buttons {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scheme-buttons::-webkit-scrollbar {
    display: none;
}

.scheme-btn {
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 100px;
    background: white;
    color: #666;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.scheme-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.scheme-btn.active {
    background: #60a5fa;
    color: white;
    border-color: #60a5fa;
}

.scheme-btn.active:hover {
    background: #3b82f6;
    border-color: #3b82f6;
}

@media (max-width: 768px) {
    .chart-container {
        height: 400px;
    }

    .container {
        padding: 16px;
    }
}

.tooltip-content {
    margin-top: 8px;
    max-width: 300px;
}

.tooltip-quadrant {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

.chart-wrapper {
    position: relative;
    margin: 20px 0;
    padding: 0;
}

.quadrant-label {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
    max-width: 220px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.quadrant-label.bottom-left {
    left: 20px;
    bottom: 20px;
}

.quadrant-label.bottom-right {
    right: 20px;
    bottom: 20px;
}

.quadrant-label.top-left {
    left: 20px;
    top: 20px;
}

.quadrant-label.top-right {
    right: 20px;
    top: 20px;
}

#resetZoom {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}