/* Activity Drag and Drop Styles */

/* Activity hover state */
[data-activity-drag-target="activity"]:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Dragging state */
[data-activity-drag-target="activity"].dragging {
  opacity: 0.5;
  cursor: grabbing;
}

/* Calendar cell drop zone highlight */
[data-activity-drag-target="cell"].drag-over {
  background-color: rgba(147, 51, 234, 0.1) !important;
  border: 2px dashed #9333ea;
}

/* Month navigation drop zones */
.month-drop-zone {
  transition: all 0.3s ease;
}

.month-drop-zone.active {
  opacity: 1 !important;
  transform: scale(1.1);
}

/* Touch drag clone */
.activity-drag-clone {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Prevent text selection during drag */
.dragging * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Drop indicator animation */
@keyframes dropPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(147, 51, 234, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(147, 51, 234, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(147, 51, 234, 0);
  }
}

.drop-indicator {
  animation: dropPulse 1.5s infinite;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  [data-activity-drag-target="activity"] {
    touch-action: none;
  }
  
  .month-drop-zone {
    width: 60px !important;
    height: 120px !important;
  }
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  [data-activity-drag-target="cell"].drag-over {
    background-color: rgba(147, 51, 234, 0.2) !important;
  }
  
  [data-activity-drag-target="activity"]:hover {
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
  }
}