/* Fix Interactivity - Ensure all clicks work */

/* Force all interactive elements to be clickable */
a, button, .btn, [onclick], [role="button"], 
.document-card, .state-preview-card, .card,
.toggle-category, .nav-link, input, select, textarea {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Specific fixes for document cards */
.document-card-wrapper,
.document-card,
.document-card a {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Fix form elements - CRITICAL FOR FORM FILLING */
input, select, textarea {
    cursor: text !important;
    pointer-events: auto !important;
    user-select: auto !important;
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
}

/* Ensure navigation works */
.navbar-nav .nav-link,
.dropdown-toggle,
.dropdown-item {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Category toggles must work */
.toggle-category,
.category-tab {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* State cards must be clickable */
.state-preview-card,
.state-card {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Override any disabled pointer events */
*:hover {
    pointer-events: auto !important;
}

/* CRITICAL FORM FIXES - MUST WORK */
input,
textarea,
select {
    pointer-events: auto !important;
    user-select: auto !important;
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
    cursor: text !important;
    touch-action: manipulation !important;
    z-index: 1000 !important;
    position: relative !important;
}

/* Ensure form containers don't block input */
.form-group,
.form-control,
.form-select,
.step-content {
    pointer-events: auto !important;
    user-select: auto !important;
}