/* Enhanced cursor controls for navigation */

/* Container positioning */
.fretboardcontainer {
  position: relative;
}

/* Base styles for cursors */
.left-cursor,
.right-cursor {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: #007bff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.2s;
}

/* Position cursors on each side */
.left-cursor {
  left: -20px;
}

.right-cursor {
  right: -60px;
}

/* Hover effects */
.left-cursor:hover,
.right-cursor:hover {
  background-color: #0056b3;
  transform: translateY(-50%) scale(1.1);
}

/* Active state */
.left-cursor:active,
.right-cursor:active {
  background-color: #003d80;
  transform: translateY(-50%) scale(0.95);
}

/* Arrow indicators */
.left-cursor::before,
.right-cursor::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
}

.left-cursor::before {
  border-width: 8px 12px 8px 0;
  border-color: transparent #fff transparent transparent;
  margin-left: -2px;
}

.right-cursor::before {
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent #fff;
  margin-right: -2px;
}

/* Add tooltips */
.left-cursor::after,
.right-cursor::after {
  position: absolute;
  bottom: -30px;
  background-color: #333;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
  pointer-events: none;
}

.left-cursor::after {
  content: 'Previous (←)';
  left: 50%;
  transform: translateX(-50%);
}

.right-cursor::after {
  content: 'Next (→)';
  right: 50%;
  transform: translateX(50%);
}

.left-cursor:hover::after,
.right-cursor:hover::after {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .left-cursor,
  .right-cursor {
    width: 36px;
    height: 36px;
  }
  
  .left-cursor {
    left: 0;
  }
  
  .right-cursor {
    right: 0;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .left-cursor,
  .right-cursor {
    width: 32px;
    height: 32px;
  }
  
  .left-cursor::before {
    border-width: 6px 10px 6px 0;
  }
  
  .right-cursor::before {
    border-width: 6px 0 6px 10px;
  }
}
