    /* CoreUI MultiSelect custom styling */
    .coreui-multiselect {
        width: 100%;
    }

    /* Ensure categories are properly styled */
    .multiselect-group-label {
        font-weight: 600 !important;
        color: #495057 !important;
        background-color: #f8f9fa !important;
        padding: 0.5rem 1rem !important;
        border-bottom: 1px solid #e9ecef !important;
        text-transform: uppercase !important;
        font-size: 0.75rem !important;
        letter-spacing: 0.5px !important;
    }

    /* Style the multiselect container */
    .multiselect-container {
        border: 2px solid #e9ecef !important;
        border-radius: 8px !important;
        background-color: #fff !important;
        min-height: 44px !important;
    }

    /* Style the dropdown */
    .multiselect-dropdown {
        border: 2px solid #007bff !important;
        border-top: none !important;
        border-radius: 0 0 8px 8px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        background-color: #fff !important;
        z-index: 1000 !important;
    }

    /* Style individual options */
    .multiselect-option {
        padding: 0.75rem 1rem !important;
        cursor: pointer !important;
        transition: background-color 0.2s ease !important;
        border-bottom: 1px solid #f8f9fa !important;
    }

    .multiselect-option:hover {
        background-color: #f8f9fa !important;
    }

    .multiselect-option.selected {
        background-color: #e3f2fd !important;
        color: #1976d2 !important;
    }

    .multiselect-option.selected:hover {
        background-color: #bbdefb !important;
    }

    .coreui-multiselect .multiselect-container {
        border: 2px solid #e9ecef;
        border-radius: 8px;
        background-color: #fff;
    }

    .coreui-multiselect .multiselect-container:focus-within {
        border-color: #007bff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }

    .coreui-multiselect .multiselect-selected {
        background-color: #007bff;
        color: white;
        border-radius: 4px;
        padding: 0.25rem 0.5rem;
        margin: 0.125rem;
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
    }

    .coreui-multiselect .multiselect-selected .remove {
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        font-size: 1rem;
        line-height: 1;
        padding: 0;
        width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background-color 0.2s ease;
    }

    .coreui-multiselect .multiselect-selected .remove:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .coreui-multiselect .multiselect-dropdown {
        border: 2px solid #007bff;
        border-top: none;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        background-color: #fff;
    }

    .coreui-multiselect .multiselect-option {
        padding: 0.75rem 1rem;
        cursor: pointer;
        transition: background-color 0.2s ease;
        border-bottom: 1px solid #f8f9fa;
    }

    .coreui-multiselect .multiselect-option:hover {
        background-color: #f8f9fa;
    }

    .coreui-multiselect .multiselect-option.selected {
        background-color: #e3f2fd;
        color: #1976d2;
    }

    .coreui-multiselect .multiselect-option.selected:hover {
        background-color: #bbdefb;
    }

    .coreui-multiselect .multiselect-group-label {
        font-weight: 600;
        color: #495057;
        background-color: #f8f9fa;
        padding: 0.5rem 1rem;
        border-bottom: 1px solid #e9ecef;
    }

    .coreui-multiselect .multiselect-search {
        padding: 0.75rem;
        border-bottom: 1px solid #e9ecef;
    }

    .coreui-multiselect .multiselect-search input {
        width: 100%;
        padding: 0.5rem;
        border: 1px solid #ced4da;
        border-radius: 4px;
        font-size: 0.875rem;
        transition: border-color 0.2s ease;
    }

    .coreui-multiselect .multiselect-search input:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
    }

    /* Form group styling for the multiselect */
    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: #495057;
        font-size: 0.875rem;
    }

    /* Button styling */
    .btn {
        padding: 0.5rem 1rem;
        color: #495057;
        border-radius: 4px;
        cursor: pointer;
        font-size: 0.875rem;
        transition: all 0.2s ease;
        text-decoration: none;
        display: inline-block;
    }

    .btn:hover {
        background-color: #f8f9fa;
        border-color: #adb5bd;
        text-decoration: none;
    }

    .btn:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
    }

    .btn-primary {
        background-color: #007bff;
        border-color: #007bff;
        color: white;
    }

    .btn-primary:hover {
        background-color: #0056b3;
        border-color: #0056b3;
        color: white;
    }

    .btn-secondary {
        background-color: #6c757d;
        border-color: #6c757d;
        color: white;
    }

    .btn-secondary:hover {
        background-color: #545b62;
        border-color: #545b62;
        color: white;
    }

    /* Responsive design */
    @media (max-width: 768px) {
        .btn {
            display: block;
            width: 100%;
            margin-bottom: 0.5rem;
        }
    }

    /* Fallback MultiSelect Styles */
    .fallback-multiselect {
        width: 100%;
    }

    .fallback-multiselect .multiselect-container {
        border: 2px solid #e9ecef;
        border-radius: 8px;
        background-color: #fff;
        min-height: 44px;
        position: relative;
    }

    .fallback-multiselect .multiselect-display {
        padding: 0.75rem;
        cursor: pointer;
        min-height: 44px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.25rem;
    }

    .fallback-multiselect .placeholder {
        color: #6c757d;
        font-style: italic;
    }

    .fallback-multiselect .selected-tag {
        background-color: #007bff;
        color: white;
        border-radius: 4px;
        padding: 0.25rem 0.5rem;
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.875rem;
    }

    .fallback-multiselect .remove-btn {
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        font-size: 1rem;
        line-height: 1;
        padding: 0;
        width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background-color 0.2s ease;
    }

    .fallback-multiselect .remove-btn:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .fallback-multiselect .multiselect-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        border: 2px solid #007bff;
        border-top: none;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        max-height: 300px;
        overflow-y: auto;
    }

    .fallback-multiselect .search-container {
        padding: 0.75rem;
        border-bottom: 1px solid #e9ecef;
    }

    .fallback-multiselect .search-input {
        width: 100%;
        padding: 0.5rem;
        border: 1px solid #ced4da;
        border-radius: 4px;
        font-size: 0.875rem;
    }

    .fallback-multiselect .options-container {
        max-height: 250px;
        overflow-y: auto;
    }

    .fallback-multiselect .option-group {
        border-bottom: 1px solid #e9ecef;
    }

    .fallback-multiselect .group-label {
        font-weight: 600;
        color: #495057;
        background-color: #f8f9fa;
        padding: 0.5rem 1rem;
        border-bottom: 1px solid #e9ecef;
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .fallback-multiselect .option-item {
        padding: 0.75rem 1rem;
        cursor: pointer;
        transition: background-color 0.2s ease;
        border-bottom: 1px solid #f8f9fa;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .fallback-multiselect .option-item:hover {
        background-color: #f8f9fa;
    }

    .fallback-multiselect .option-item.selected {
        background-color: #e3f2fd;
        color: #1976d2;
    }

    .fallback-multiselect .option-item input[type="checkbox"] {
        margin: 0;
    }

    .fallback-multiselect .option-item span {
        flex: 1;
    }