/* Interactive Image Comparison Styles */
.image-container {
  width: 100%;
  aspect-ratio: 4/3;
  min-width: 300px;
  max-width: 500px;
  display: grid;
  position: relative;
  background: #222; /* fallback background */
}

.comparison-image,
.overlay-canvas {
  grid-area: 1 / 1 / 2 / 2;
  width: 100%;
  height: 100%;
  object-fit: cover; /* or 'contain' */
  display: block;
}

.overlay-canvas {
  pointer-events: auto;
  z-index: 2;
}

.point {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: red;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.point-label {
  position: absolute;
  color: rgb(140, 38, 38);
  font-weight: bold;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hover-point {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(0, 255, 0, 0.5);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#ordinality-info {
  padding: 1rem;
  background-color: #f5f5f5;
  border-radius: 4px;
}

#point-info {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.box {
  width: 90vw;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2vw;
  width: 100%;
}

.column {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intensity-pre {
  font-family: 'JetBrains Mono', 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
  margin: 0;
  line-height: 1.4;
  background: none;
  border: none;
  padding: 0;
  font-weight: 400;
}

#case-buttons {
  margin-bottom: 1rem;
}

.ordinality-info-text {
  font-size: 1.2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.5;
} 