/* PDF Tools Custom Cursor - CSP Compliant */
/* Ink/pen themed cursor trail for document processing */

@media (pointer: fine) and (min-width: 769px) {
    body {
        cursor: none;
    }
    a, button, [role="button"], select, input, textarea, label {
        cursor: none;
    }
}

.pdf-cursor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999999;
    overflow: hidden;
}

.pdf-cursor-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.pdf-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffd700 0%, #ff8c00 60%, rgba(255, 140, 0, 0) 100%);
    box-shadow: 0 0 8px rgba(255, 140, 0, 0.8), 0 0 16px rgba(255, 140, 0, 0.4);
    pointer-events: none;
    z-index: 9999999;
    will-change: transform;
}

.pdf-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(255, 140, 0, 0.6);
    border-radius: 50%;
    pointer-events: none;
    transition: opacity 0.15s ease, border-color 0.15s ease, border-width 0.15s ease;
    z-index: 9999998;
    will-change: transform;
}

.pdf-cursor-ring-hover {
    border-color: rgba(255, 215, 0, 0.85);
    border-width: 2.5px;
}

@media (pointer: coarse), (max-width: 768px) {
    .pdf-cursor-container,
    .pdf-cursor-dot,
    .pdf-cursor-ring {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pdf-cursor-container {
        display: none;
    }
}
