.canvas-container {
    width: 100%;
    height: 400px;
    border: 1px solid var(--bs-border-color);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

#treeCanvas {
    width: 100%;
    height: 100%;
    cursor: move;
}

.timeline-container {
    padding: 20px 0;
    position: relative;
}

.timeline-track {
    margin: 0 20px;
    position: relative;
}

.timeline-labels {
    margin: 0 20px;
    color: var(--bs-secondary-color);
    font-size: 0.875rem;
}

.timeline-markers {
    position: absolute;
    width: 100%;
    height: 20px;
    top: 15px;
    pointer-events: none;
}

.timeline-marker {
    position: absolute;
    width: 2px;
    height: 10px;
    background-color: var(--bs-info);
    transform: translateX(-50%);
}

.timeline-marker::after {
    content: attr(data-date);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--bs-info);
    white-space: nowrap;
}

.image-comparison .card {
    height: 300px;
    margin-bottom: 20px;
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: var(--bs-secondary-bg);
    border-radius: 4px;
    color: var(--bs-secondary-color);
}

.selected-tree {
    stroke: var(--bs-info);
    stroke-width: 2px;
}