.photoGrid {
  overflow-y: auto;
  max-height: 60vh;
  padding: 4px; /* Prevent shadow clipping */
}

.photoButton {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  background: var(--mantine-color-gray-1);
}

.photoButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-color: var(--mantine-color-blue-filled);
  z-index: 1;
}

.photoButton:active {
  transform: translateY(0);
}

.photoTile {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}
