.custom-scroll::-webkit-scrollbar { width: 4px; }
.custom-scroll::-webkit-scrollbar-track { background: transparent; }
.custom-scroll::-webkit-scrollbar-thumb { background-color: #555; border-radius: 10px; }
html.dark body { background-color: #000000; color: #e5e5e5; }
html.dark .surface { background-color: #121212; border-color: #2a2a2a; }
html.dark .input-field { background-color: #000000; border-color: #333; color: white; }
html:not(.dark) body { background-color: #f3f4f6; color: #111827; }
html:not(.dark) .surface { background-color: #ffffff; border-color: #e5e7eb; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1); }
html:not(.dark) .input-field { background-color: #f9fafb; border-color: #d1d5db; color: #111827; }

html:not(.dark) .draggable-item {
    background: rgba(0, 0, 0, 0.02);
}

html:not(.dark) .draggable-item:hover {
    border-color: #00439c;
}

html:not(.dark) .drag-handle {
    color: rgba(0, 0, 0, 0.2);
}

html:not(.dark) .draggable-item:hover .drag-handle {
    color: rgba(0, 0, 0, 0.5);
}

html:not(.dark) body.drag-highlight::after {
    background-color: rgba(255, 255, 255, 0.9);
    color: rgba(0, 0, 0, 0.7);
    border: 2px dashed rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 0 100vmax rgba(255, 255, 255, 0.8);
}

.draggable-item {
    cursor: grab;
    transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s, border-color 0.2s;
}

.draggable-item:active {
    cursor: grabbing;
}

.draggable-item.dragging {
    opacity: 0.5;
    background: rgba(0, 67, 156, 0.2);
    border-color: #00439c;
    transform: scale(0.98);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.drag-handle {
    cursor: grab;
    padding: 0.5rem;
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.2s;
}

.draggable-item:hover .drag-handle {
    color: rgba(255, 255, 255, 0.6);
}

.drag-handle:hover {
    color: #fff;
}

.drag-highlight {
    background-color: transparent !important;
}
/* KURWAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA*/
body.drag-highlight::after {
    content: "↑ DROP TO UPLOAD PAYLOAD";
    position: fixed;
    inset: 1.5rem;
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 2rem;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    pointer-events: none;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    animation: drag-pulse 2s infinite;
}

@keyframes drag-pulse {
    0% { border-color: rgba(255, 255, 255, 0.1); transform: scale(1); }
    50% { border-color: rgba(0, 112, 209, 0.3); transform: scale(1.005); }
    100% { border-color: rgba(255, 255, 255, 0.1); transform: scale(1); }
}
