body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
                 Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.0);
}

h1 {
    color: #333;
}

#animation-container {
    position: relative;
    width: 1000px;
    height: 600px;
    /* border: 1px solid #ccc; */
    /* background-color: #fff; */
    /* margin-top: 20px; */
}

#moving-canvas {
    position: absolute;
    top: 150px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#snapshots-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: absolute;
    top: 150px;
    left: 10px;
    right: 10px;
    opacity: 0;
}

.snapshot-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.8s ease-in-out;
    transform-origin: center;
}

.snapshot-wrapper canvas {
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    opacity: 0.85;
}

.snapshot-label {
    font-family: 'Courier New', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-top: 10px;
    opacity: 0;
}

.arrow {
    font-size: 36px;
    color: #888;
    opacity: 0;
    user-select: none;
    line-height: 1;
    position: absolute;
    width: 36px;
    height: 40px;
    text-align: center;
    z-index: 10;
}

.snapshot-wrapper.shrunk {
    transform: scale(0.8);
}

.elbow-arrow-svg {
    position: absolute;
    pointer-events: none;
    z-index: 20;
}

.elbow-arrow-svg path {
    stroke-linecap: round;
    stroke-linejoin: round;
}

.elbow-arrow-svg polygon {
    stroke-linecap: round;
    stroke-linejoin: round;
}

.preview-container {
    z-index: 25;
}

.preview-label {
    font-weight: 500;
    white-space: nowrap;
}

.preview-image {
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.preview-image:hover {
    opacity: 1;
}

button {
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* Correlation Plot Styles */
.correlation-plots-container {
    z-index: 30;
}

.correlation-plot-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 10px;
}

.correlation-plot-container .x-axis,
.correlation-plot-container .y-axis {
    font-size: 10px;
    color: #666;
}

.correlation-plot-container .x-axis line,
.correlation-plot-container .y-axis line {
    stroke: #ddd;
}

.correlation-plot-container .x-axis path,
.correlation-plot-container .y-axis path {
    stroke: #ddd;
}

.correlation-plot-container .x-label,
.correlation-plot-container .y-label {
    fill: #444;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
}

.correlation-plot-container .legend-entry text {
    fill: #444;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
}

.correlation-line {
    stroke-linecap: round;
    stroke-linejoin: round;
} 