/* Advanced Filters Styling */

.advanced-filters {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 400px;
    max-height: calc(100vh - 100px);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.filter-header {
    padding: 16px 20px;
    background: var(--user-primary-color, #333);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.filter-header .btn {
    padding: 4px 8px;
    color: white;
    border: none;
}

.filter-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.filter-section {
    margin-bottom: 20px;
}

.filter-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--user-text-color, #333);
    margin-bottom: 8px;
    display: block;
}

.quick-filters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.preset-controls {
    display: flex;
    gap: 8px;
}

.preset-controls .form-select {
    flex: 1;
}

.filter-footer {
    padding: 16px 20px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* Mobile */
@media (max-width: 768px) {
    .advanced-filters {
        width: calc(100% - 20px);
        left: 10px;
        right: 10px;
    }
}

/* Bulk Actions Toolbar Styling */

.bulk-toolbar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

.bulk-toolbar-inner {
    background: var(--user-primary-color, #333);
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 20px;
}

.bulk-toolbar-count {
    font-weight: 600;
    font-size: 14px;
    padding-right: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.bulk-toolbar-actions {
    display: flex;
    gap: 8px;
}

.bulk-toolbar-actions .btn {
    padding: 6px 16px;
    font-size: 13px;
    border-radius: 20px;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .bulk-toolbar-inner {
        padding: 12px 16px;
        flex-direction: column;
        align-items: stretch;
        border-radius: 12px;
    }
    
    .bulk-toolbar-count {
        padding-right: 0;
        padding-bottom: 12px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        text-align: center;
    }
    
    .bulk-toolbar-actions {
        flex-direction: column;
    }
    
    .bulk-toolbar-actions .btn {
        width: 100%;
    }
}

