/* FIX INTERACTION ISSUES - Links, Cursor, Buffering */

/* Ensure cursor works everywhere */
* {
    cursor: auto !important;
}

a, button, [role="button"], [onclick], .btn, .nav-link {
    cursor: pointer !important;
}

/* Remove any pointer-events blocking */
body, html {
    pointer-events: auto !important;
}

/* Ensure clickable elements are clickable */
a, button, input, select, textarea, .clickable {
    pointer-events: auto !important;
}

/* Remove blocking overlays */
.blocking-overlay,
.loading-overlay,
.buffer-overlay,
.loader,
.loading,
.spinner,
.buffering {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Ensure body is visible - CRITICAL */
body, html {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: auto !important;
    height: auto !important;
    min-height: 100vh !important;
}

/* Ensure all main content is visible */
main, .main, #main, section, .hero, .container, .content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Remove loading states */
body.loading,
body.buffering,
body.blocked,
html.loading,
html.buffering,
html.blocked {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure links are visible and clickable */
a {
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

a:hover {
    opacity: 0.8 !important;
}

/* Fix z-index issues that might block clicks */
.overlay {
    z-index: 999 !important;
}

.sidebar {
    z-index: 1000 !important;
}

/* Ensure navigation works */
.nav-link, .sidebar a {
    cursor: pointer !important;
    pointer-events: auto !important;
}


/* Focus styles for accessibility - Auto-added */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}
