/* --- Custom Blog AJAX Filter Styles --- */

.dicm-category-filter-widget {
    /* Add some spacing if needed */
    margin-bottom: 20px;
}

.dicm-category-filter-widget .widget-title {
    /* Style the optional title */
    margin-bottom: 15px;
    font-size: 18px;
}

.dicm-category-filter-form ul.dicm-category-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dicm-category-filter-form ul.dicm-category-checklist li {
    margin-bottom: 8px;
    padding-left: 0; /* Reset default padding */
}

.dicm-category-filter-form ul.dicm-category-checklist li label {
    display: inline-block; /* Or block if you want full width */
    cursor: pointer;
    font-weight: normal; /* Prevent bolding from theme styles if needed */
}

.dicm-category-filter-form ul.dicm-category-checklist li input[type="checkbox"] {
    margin-right: 8px;
	margin-bottom: 6px;
    vertical-align: middle; /* Align checkbox with text */
}

/* Indentation for child categories */
.dicm-category-filter-form ul.dicm-category-checklist ul.children {
    list-style: none;
    padding-left: 20px; /* Adjust indentation as needed */
    margin-top: 8px; /* Space between parent and children */
    margin-left: 0; /* Reset margin */
}

/* Loading Spinner Alignment */
.dicm-filter-status .spinner {
    display: inline-block; /* Ensure spinner respects text flow */
    float: none !important; /* Override WP default float if necessary */
    vertical-align: middle;
    margin-right: 5px;
    opacity: 1; /* Make sure spinner is visible */
    visibility: visible; /* Make sure spinner is visible */
}

/* Optional: Transition for content update */
.dicm-ajax-content {
    transition: opacity 0.3s ease-in-out;
}

.dicm-no-posts-found {
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    text-align: center;
    color: #555;
}

/* Hide pagination when filtering (simple approach) */
/* You might need a more specific selector if other pagination exists */
/* .dicm-pagination {
    display: none; /* Uncomment if you want to always hide pagination during filtering */
/* } */