/* Override only the default cursor */
html, body {
    cursor: url('/resources/img/cursors/blue_default2.png'), default !important;
}

.default
{
    cursor: url('/resources/img/cursors/blue_default2.png'), default !important;
}

.ui-menu-item
{
    cursor: url('/resources/img/cursors/blue_pointer2.png'), pointer !important;
}

.allsize
{
    cursor: url('/resources/img/cursors/blue_allsize2.png') 16 16, move !important;
}

/* Restore normal cursor behavior for common interactive elements */
a,option, input[type="submit"] , button, [role="button"], label, select, .pointer {
    cursor: url('/resources/img/cursors/blue_pointer2.png'), pointer !important; /* Keep clickable elements as pointer */
}

input, textarea, [contenteditable="true"] {
    cursor: url('/resources/img/cursors/blue_beam2.png') 5 15, text !important;
}

input[type="password"] {
    cursor: url('/resources/img/cursors/blue_beam2.png') 5 15, text !important;
}

input[type="number"], input[type="email"], input[type="url"], input[type="search"] {
    cursor: url('/resources/img/cursors/blue_beam2.png') 5 15, text !important;
}

input[type="range"] {
    cursor: ew-resize !important; /* Ensure sliders behave normally */
}

input[type="file"] {
    cursor: url('/resources/img/cursors/blue_pointer2.png'),pointer !important; /* File input should be clickable */
}

textarea {
    cursor: url('/resources/img/cursors/blue_beam2.png') 5 15, text !important;
}

.text-cursor {
    cursor: url('/resources/img/cursors/blue_beam2.png') 5 15, text !important;
}

/* Restore resizing cursors */
div[style*="resize: both"],
div[style*="resize: horizontal"],
div[style*="resize: vertical"] {
    cursor: auto !important;
}

/* Restore drag behavior */
[draggable="true"] {
    cursor: grab !important;
}

[draggable="true"]:active {
    cursor: grabbing !important;
}



/* Restore resize cursors */
.resize-ew, .resize-we {
    cursor: ew-resize !important;
}

.resize-ns, .resize-sn {
    cursor: ns-resize !important;
}

.resize-nesw {
    cursor: nesw-resize !important;
}

.resize-nwse {
    cursor: nwse-resize !important;
}

/* Restore crosshair and help cursors */
.crosshair {
    cursor: crosshair !important;
}

.help {
    cursor: help !important;
}

/* Restore wait and progress cursors */
.wait {
    cursor: wait !important;
}

.progress {
    cursor: progress !important;
}

/* Restore zoom cursors */
.zoom-in {
    cursor: zoom-in !important;
}

.zoom-out {
    cursor: zoom-out !important;
}
