/* =========================================================
   Disable any custom cursor completely
========================================================= */

.cb-cursor,
.mouse-cursor,
.cursor,
.cursor-inner,
.cursor-outer,
.magic-cursor,
.custom-cursor,
#cursor,
#custom-cursor,
[class*="cursor"],
[id*="cursor"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* =========================================================
   Restore normal browser cursor everywhere
========================================================= */

html,
body,
*,
*::before,
*::after {
    cursor: auto !important;
}

/* =========================================================
   Images
========================================================= */

img,
picture,
figure,
figure img,
svg,
canvas,
video {
    cursor: auto !important;
}

/* =========================================================
   Clickable elements
========================================================= */

a,
a *,
button,
button *,
input[type="button"],
input[type="submit"],
input[type="reset"],
label,
select,
summary,
[role="button"],
.btn,
.dropdown-toggle,
.nav-link,
.card,
.card a,
img[onclick],
a img {
    cursor: pointer !important;
}

/* =========================================================
   Form fields
========================================================= */

input,
textarea,
select {
    cursor: text !important;
}

input[type="checkbox"],
input[type="radio"] {
    cursor: pointer !important;
}

/* =========================================================
   Remove cursor hiding from all elements
========================================================= */

html,
body,
img,
a,
button,
div,
section,
article,
header,
footer,
nav,
main,
span,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    cursor: unset !important;
}

html,
body,
* {
    cursor: auto !important;
}

/* =========================================================
   Prevent invisible cursor overlays
========================================================= */

.cursor,
.custom-cursor,
.mouse-cursor,
.cb-cursor,
.cursor-inner,
.cursor-outer,
.magic-cursor,
#cursor,
#custom-cursor {
    pointer-events: none !important;
    z-index: -9999 !important;
}

/* =========================================================
   Ensure images are hoverable
========================================================= */

img {
    display: block;
    pointer-events: auto !important;
    cursor: auto !important;
}

a img {
    cursor: pointer !important;
}