/* ============================================
   GLOBAL DRAG AND DROP OVERLAY
   ============================================ */

/* Visual feedback when dragging files over the window */
body.drag-over-global::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(74, 158, 255, 0.1);
    border: 3px dashed var(--accent);
    pointer-events: none;
    z-index: 99999;
    animation: dragPulse 1s ease-in-out infinite;
}

body.drag-over-global::after {
    content: 'Drop image to open';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-dark);
    color: var(--accent);
    padding: 20px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--accent);
    pointer-events: none;
    z-index: 100000;
}

@keyframes dragPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}
