.ql-presence-cursor {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: red;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s;
}
.ql-presence-cursor-label {
    position: absolute;
    top: -20px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(5px);
    font-weight: bold;
}
.ql-presence-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.ql-presence-cursor:hover .ql-presence-cursor-label {
    opacity: 1;
}

/* Hover effect for elements under cursor */
// .hover {
//     outline: 2px solid #ff4444 !important;
//     outline-offset: 2px !important;
//     transition: outline 0.2s ease !important;
// }

.dev-only {
    display: block; /* default for dev */
}

#controls, #debug {
    display: none;
}

/* Your existing debug & controls styles */
#controls.dev-only {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10001;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#debug.dev-only {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #333;
    color: #0f0;
    padding: 10px;
    border-radius: 5px;
    font-family: monospace;
    z-index: 10001;
    max-width: 300px;
    max-height: 200px;
    overflow: auto;
}
#controls button {
    padding: 10px;
    margin: 5px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
}
/* Update the trail effect */
.ql-presence-cursor.trail::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px dashed currentColor;
    opacity: 0.6;
    transform: translate(-50%, -50%);
    animation: orbit 3s linear infinite;
    pointer-events: none;
}

@keyframes orbit {
    from { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.1); }
    to { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}
