.velocity-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.velocity-header {
    margin-bottom: 2rem;
    text-align: center;
}

.velocity-header h1 {
    font-size: 1.875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.velocity-header .description {
    color: #64748b;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.chart-wrapper {
    background: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    height: 400px;
}

.legend-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #475569;
}

.color-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
}

.color-dot.property {
    background-color: #1e6996;
}

.color-dot.market {
    background-color: #94356e;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .velocity-container {
        margin: 1rem auto;
    }

    .velocity-header h1 {
        font-size: 1.5rem;
    }

    .velocity-header .description {
        font-size: 1rem;
    }

    .chart-wrapper {
        padding: 1rem;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .legend-info {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

tooltip-trigger {
            position: relative;
            cursor: help;
        }

        .tooltip-content {
            visibility: hidden;
            position: absolute;
            z-index: 9999;
            width: auto;
            white-space: nowrap;
            background-color: #2d2d2d;
            color: white;
            padding: 15px;
            border-radius: 6px;
            left: -140px;  /* Centers tooltip relative to icon */
            top: 25px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            pointer-events: none;
        }

        .tooltip-content::before {
            content: '';
            position: absolute;
            top: -6px;
            left: 50%;
            transform: translateX(-50%);
            border-width: 0 6px 6px 6px;
            border-style: solid;
            border-color: transparent transparent #2d2d2d transparent;
        }

        .tooltip-trigger:hover .tooltip-content {
            visibility: visible;
        }

        .tooltip-content ul {
            list-style: none;
            padding: 0;
            margin: 8px 0;
        }

        .tooltip-content li {
            margin: 6px 0;
            line-height: 1.4;
        }

        .tooltip-docs-link {
            display: block;
            margin-top: 10px;
            color: #93c5fd;
            text-decoration: none;
            font-size: 0.875rem;
        }

        .tooltip-docs-link:hover {
            color: #60a5fa;
        }