/* Page container hover effects - optimized for smooth scrolling */
.pageContainer {
  transition: transform 0.2s ease-in-out;
  /* Enable hardware acceleration for smoother scrolling */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.pageContainer:hover {
  transform: scale(1.02) translateZ(0);
}

.pageContainer:hover .pageNumber {
  opacity: 1 !important;
}

.pageContainer:hover .pageHoverControls {
  opacity: 1 !important;
}

/* Checkbox container - prevent transform inheritance */
.checkboxContainer {
  transform: none !important;
  transition: none !important;
}

/* Page movement animations */
.pageMoveAnimation {
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pageMoving {
  z-index: 10;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Multi-page drag indicator */
.multiDragIndicator {
  position: fixed;
  background: rgba(59, 130, 246, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(4px);
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulse {
  animation: pulse 1s infinite;
}